Module

ResidueTrace.lean

Nyll.AlgebraicCurves.Places.NormTrace.ResidueTrace
40 declarations indexed from sourceView source ↗

Residue-field trace on the actual integral closure

The extension of the base maximal ideal factors into the actual ramification powers. Chinese remainders preserve the specified residue-field action, so quotient traces add. For rational fibre places this gives the original ramification-weighted evaluation formula.

Declarations

AlgebraicCurve.Place.ResidueTrace.trace_of_subsingleton

The trace vanishes on a subsingleton algebra.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
section AbstractTrace
theorem trace_of_subsingleton {R A : Type*} [CommRing R] [CommRing A]
    [Algebra R A] [Subsingleton A] (a : A) : Algebra.trace R A a = 0
AlgebraicCurve.Place.ResidueTrace.trace_eq_smul_finrank_of_isNilpotent_sub_algebraMap

A scalar plus a nilpotent has trace equal to rank times that scalar.

Source context 6 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
section AbstractTrace
theorem trace_eq_smul_finrank_of_isNilpotent_sub_algebraMap {R A : Type*}
    [CommRing R] [IsReduced R] [StrongRankCondition R] [CommRing A] [Algebra R A]
    [Module.Free R A] {a : A} {μ : R} (h : IsNilpotent (a - algebraMap R A μ)) :
    Algebra.trace R A a = Module.finrank R A • μ
AlgebraicCurve.Place.ResidueTrace.ord_nonneg_of_mem

An integral element has nonnegative order at the same place.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
section PlaceFacts
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem ord_nonneg_of_mem (v : Place K F) {f : F} (hf : f ∈ v.toValuationSubring) :
    0 ≤ v.ord f
AlgebraicCurve.Place.ResidueTrace.mem_iff_ord_nonneg

Membership of a nonzero element is measured by its order at the same place.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
section PlaceFacts
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem mem_iff_ord_nonneg (v : Place K F) {f : F} (_hf : f ≠ 0) :
    f ∈ v.toValuationSubring ↔ 0 ≤ v.ord f
AlgebraicCurve.Place.ResidueTrace.eq_ord_of_addHom_of_nonneg_iff

The existing normalized additive valuation is the place order.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
section PlaceFacts
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem eq_ord_of_addHom_of_nonneg_iff (w : Place K F) (φ : F → ℤ)
    (hmul : ∀ x y, x ≠ 0 → y ≠ 0 → φ (x * y) = φ x + φ y)
    (hone : ∃ t, t ≠ 0 ∧ φ t = 1)
    (hiff : ∀ x, x ≠ 0 → (0 ≤ φ x ↔ x ∈ w.toValuationSubring))
    {x : F} (hx : x ≠ 0) : φ x = w.ord x
AlgebraicCurve.Place.ResidueTrace.residue_algebraMap

The residue map preserves the original constant-field algebra map.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
section PlaceFacts
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem residue_algebraMap (v : Place K F) (lam : K) :
    IsLocalRing.residue v.toValuationSubring (algebraMap K v.toValuationSubring lam)
      = algebraMap K v.ResidueField lam
AlgebraicCurve.Place.ResidueTrace.algebraMap_evalAt_coe

Evaluation of an integral element gives its original residue.

Source context 7 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
section PlaceFacts
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem algebraMap_evalAt_coe (v : Place K F) (hv : v.IsRational) (r : v.toValuationSubring) :
    algebraMap K v.ResidueField
        (v.evalAt (algebraMap v.toValuationSubring F r))
      = IsLocalRing.residue v.toValuationSubring r
AlgebraicCurve.Place.ResidueTrace.Dict.ramificationIndex_eq_ramificationIdx_fiberCenter

The place and ideal ramification indices agree at the actual fibre centre.

Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Dict
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
variable {v : Place K F} {w : Place K F'}
theorem ramificationIndex_eq_ramificationIdx_fiberCenter (hw : w.restrict F = v) :
    w.ramificationIndex F =
      (IsLocalRing.maximalIdeal v.toValuationSubring).ramificationIdx'
        (fiberCenter F' v hw).asIdeal
Source context 9 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
instance : DecidableEq (Place K F')
AlgebraicCurve.Place.ResidueTrace.Blocks.instFreeIntegralClosureAt

The integral closure over the base valuation ring is a free module.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
instance instFreeIntegralClosureAt : Module.Free v.toValuationSubring (integralClosureAt F'
  v)
AlgebraicCurve.Place.ResidueTrace.Blocks.conductorIdeal

The extension of the maximal ideal of the base valuation ring to the integral closure.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
abbrev conductorIdeal : Ideal (integralClosureAt F' v)
AlgebraicCurve.Place.ResidueTrace.Blocks.conductorIdeal_ne_bot

The extended base maximal ideal is nonzero in the actual integral closure.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
omit [Algebra K F'] [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F'] in
theorem conductorIdeal_ne_bot : conductorIdeal (F' := F') v ≠ ⊥
AlgebraicCurve.Place.ResidueTrace.Blocks.conductorQuotientAlgebra

The base residue field acts on the quotient by its extended maximal ideal.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
instance conductorQuotientAlgebra :
    Algebra (IsLocalRing.ResidueField v.toValuationSubring)
      (integralClosureAt F' v ⧸ conductorIdeal (F' := F') v)
AlgebraicCurve.Place.ResidueTrace.Blocks.residue_trace_eq_trace_mk

Reduction of the integral trace is the trace on the actual quotient.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
omit [Algebra K F'] [IsScalarTower K F F'] in
theorem residue_trace_eq_trace_mk (c : integralClosureAt F' v) :
    IsLocalRing.residue v.toValuationSubring
        (Algebra.trace v.toValuationSubring (integralClosureAt F' v) c)
      = Algebra.trace (IsLocalRing.ResidueField v.toValuationSubring)
          (integralClosureAt F' v ⧸ conductorIdeal (F' := F') v)
          (Ideal.Quotient.mk (conductorIdeal (F' := F') v) c)
AlgebraicCurve.Place.ResidueTrace.Blocks.fiberCenterPow

The ideal of the fibre centre raised to its ramification index.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
abbrev fiberCenterPow (hw : w.restrict F = v) : Ideal (integralClosureAt F' v)
AlgebraicCurve.Place.ResidueTrace.Blocks.conductorIdeal_le_fiberCenterPow

The extended maximal ideal lies in the ramification power.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
theorem conductorIdeal_le_fiberCenterPow (hw : w.restrict F = v) :
    conductorIdeal (F' := F') v ≤ fiberCenterPow hw
AlgebraicCurve.Place.ResidueTrace.Blocks.fiberCenterPowQuotientAlgebra

The base residue field acts on the actual ramification-power quotient.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
instance fiberCenterPowQuotientAlgebra (hw : w.restrict F = v) :
    Algebra (IsLocalRing.ResidueField v.toValuationSubring)
      (integralClosureAt F' v ⧸ fiberCenterPow hw)
AlgebraicCurve.Place.ResidueTrace.Blocks.instFiniteFiberCenterPowQuot

The ramification-power quotient is finite over the base residue field.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
instance instFiniteFiberCenterPowQuot (hw : w.restrict F = v) :
    Module.Finite (IsLocalRing.ResidueField v.toValuationSubring)
      (integralClosureAt F' v ⧸ fiberCenterPow hw)
AlgebraicCurve.Place.ResidueTrace.Blocks.instFreeFiberCenterPowQuot

The ramification-power quotient is free over the base residue field.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
instance instFreeFiberCenterPowQuot (hw : w.restrict F = v) :
    Module.Free (IsLocalRing.ResidueField v.toValuationSubring)
      (integralClosureAt F' v ⧸ fiberCenterPow hw)
AlgebraicCurve.Place.ResidueTrace.Blocks.isNilpotent_mk_sub_algebraMap

A difference in the fibre centre is nilpotent in its power quotient.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
theorem isNilpotent_mk_sub_algebraMap (hw : w.restrict F = v) {c : integralClosureAt F' v}
    {r : v.toValuationSubring}
    (hr : c - algebraMap v.toValuationSubring (integralClosureAt F' v) r
      ∈ (fiberCenter F' v hw).asIdeal) :
    IsNilpotent (Ideal.Quotient.mk (fiberCenterPow hw) c
      - algebraMap (IsLocalRing.ResidueField v.toValuationSubring)
          (integralClosureAt F' v ⧸ fiberCenterPow hw)
          (IsLocalRing.residue v.toValuationSubring r))
AlgebraicCurve.Place.ResidueTrace.Blocks.trace_mk_fiberCenterPow

The nilpotent scalar difference computes the trace in the power quotient.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
theorem trace_mk_fiberCenterPow (hw : w.restrict F = v) {c : integralClosureAt F' v}
    {r : v.toValuationSubring}
    (hr : c - algebraMap v.toValuationSubring (integralClosureAt F' v) r
      ∈ (fiberCenter F' v hw).asIdeal) :
    Algebra.trace (IsLocalRing.ResidueField v.toValuationSubring)
        (integralClosureAt F' v ⧸ fiberCenterPow hw)
        (Ideal.Quotient.mk (fiberCenterPow hw) c)
      = Module.finrank (IsLocalRing.ResidueField v.toValuationSubring)
            (integralClosureAt F' v ⧸ fiberCenterPow hw)
          • IsLocalRing.residue v.toValuationSubring r
AlgebraicCurve.Place.ResidueTrace.Blocks.finrank_fiberCenterPow

At rational places the quotient rank is the actual ramification index.

Source context 12 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
theorem finrank_fiberCenterPow (hw : w.restrict F = v) (hwrat : w.IsRational)
    (hvrat : v.IsRational) :
    Module.finrank (IsLocalRing.ResidueField v.toValuationSubring)
        (integralClosureAt F' v ⧸ fiberCenterPow hw)
      = w.ramificationIndex F
AlgebraicCurve.Place.ResidueTrace.Blocks.fiberIdeal

The ramification power for a place above v, and the unit ideal for other places.

Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
def fiberIdeal (w : Place K F') : Ideal (integralClosureAt F' v)
AlgebraicCurve.Place.ResidueTrace.Blocks.fiberIdeal_of_mem

A place above the base uses its actual ramification-power ideal.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
omit [HasPrincipalDivisors K F'] in
theorem fiberIdeal_of_mem {w : Place K F'} (hw : w.restrict F = v) :
    fiberIdeal v w = fiberCenterPow hw
AlgebraicCurve.Place.ResidueTrace.Blocks.fiberIdeal_of_notMem

A place outside the fibre uses the unit ideal.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
omit [HasPrincipalDivisors K F'] in
theorem fiberIdeal_of_notMem {w : Place K F'} (hw : ¬w.restrict F = v) :
    fiberIdeal v w = ⊤
AlgebraicCurve.Place.ResidueTrace.Blocks.conductorIdeal_le_fiberIdeal

The extended base maximal ideal lies in every chosen fibre ideal.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
omit [HasPrincipalDivisors K F'] in
theorem conductorIdeal_le_fiberIdeal (w : Place K F') :
    conductorIdeal (F' := F') v ≤ fiberIdeal v w
AlgebraicCurve.Place.ResidueTrace.Blocks.isCoprime_fiberIdeal

Fibre ideals at distinct places are coprime.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
omit [HasPrincipalDivisors K F'] in
theorem isCoprime_fiberIdeal {w w' : Place K F'} (hne : w ≠ w') :
    IsCoprime (fiberIdeal v w) (fiberIdeal v w')
AlgebraicCurve.Place.ResidueTrace.Blocks.count_normalizedFactors_conductorIdeal

The multiplicity of the fibre centre is its ramification index.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
omit [HasPrincipalDivisors K F'] in
theorem count_normalizedFactors_conductorIdeal {w : Place K F'} (hw : w.restrict F = v) :
    (normalizedFactors (conductorIdeal (F' := F') v)).count (fiberCenter F' v hw).asIdeal
      = (IsLocalRing.maximalIdeal v.toValuationSubring).ramificationIdx'
          (fiberCenter F' v hw).asIdeal
AlgebraicCurve.Place.ResidueTrace.Blocks.conductorIdeal_eq_prod_fiber

The extended base maximal ideal factors over the actual finite fibre.

Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
theorem conductorIdeal_eq_prod_fiber :
    conductorIdeal (F' := F') v = ∏ w ∈ v.fiber F', fiberIdeal v w
AlgebraicCurve.Place.ResidueTrace.Blocks.prod_fiberIdeal_le_of_subset

Adding factors decreases the product of fibre ideals.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
omit [HasPrincipalDivisors K F'] in
theorem prod_fiberIdeal_le_of_subset {s t : Finset (Place K F')} (hst : s ⊆ t) :
    ∏ w ∈ t, fiberIdeal v w ≤ ∏ w ∈ s, fiberIdeal v w
AlgebraicCurve.Place.ResidueTrace.Blocks.conductorIdeal_le_prod_fiberIdeal

The extended base maximal ideal lies in every finite product.

Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
theorem conductorIdeal_le_prod_fiberIdeal (s : Finset (Place K F')) :
    conductorIdeal (F' := F') v ≤ ∏ w ∈ s, fiberIdeal v w
AlgebraicCurve.Place.ResidueTrace.Blocks.fiberIdealQuotientAlgebra

The actual fibre-ideal quotient uses the induced base residue action.

Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
instance fiberIdealQuotientAlgebra (w : Place K F') :
    Algebra (IsLocalRing.ResidueField v.toValuationSubring)
      (integralClosureAt F' v ⧸ fiberIdeal v w)
AlgebraicCurve.Place.ResidueTrace.Blocks.prodFiberIdealQuotientAlgebra

The product-ideal quotient uses the induced base residue action.

Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
instance prodFiberIdealQuotientAlgebra (s : Finset (Place K F')) :
    Algebra (IsLocalRing.ResidueField v.toValuationSubring)
      (integralClosureAt F' v ⧸ ∏ w ∈ s, fiberIdeal v w)
AlgebraicCurve.Place.ResidueTrace.Blocks.finite_quotient_of_conductorLE

Restriction of scalars gives finiteness over the base residue field.

Source context 15 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
omit [HasPrincipalDivisors K F'] in
omit [Algebra K F'] [IsScalarTower K F F'] in
theorem finite_quotient_of_conductorLE (Q : Ideal (integralClosureAt F' v))
    [Algebra (IsLocalRing.ResidueField v.toValuationSubring) (integralClosureAt F' v ⧸ Q)]
    [IsScalarTower v.toValuationSubring (IsLocalRing.ResidueField v.toValuationSubring)
      (integralClosureAt F' v ⧸ Q)] :
    Module.Finite (IsLocalRing.ResidueField v.toValuationSubring)
      (integralClosureAt F' v ⧸ Q)
AlgebraicCurve.Place.ResidueTrace.Blocks.trace_mk_prod_fiberIdeal

The residue-field trace of a finite product quotient is the sum of traces.

Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
theorem trace_mk_prod_fiberIdeal (c : integralClosureAt F' v) (s : Finset (Place K F')) :
    Algebra.trace (IsLocalRing.ResidueField v.toValuationSubring)
        (integralClosureAt F' v ⧸ ∏ w ∈ s, fiberIdeal v w)
        (Ideal.Quotient.mk (∏ w ∈ s, fiberIdeal v w) c)
      = ∑ w ∈ s,
          Algebra.trace (IsLocalRing.ResidueField v.toValuationSubring)
            (integralClosureAt F' v ⧸ fiberIdeal v w)
            (Ideal.Quotient.mk (fiberIdeal v w) c)
AlgebraicCurve.Place.ResidueTrace.Blocks.trace_mk_conductor_eq_sum_fiber

The trace modulo the extended maximal ideal is the full fibre sum.

Source context 13 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
theorem trace_mk_conductor_eq_sum_fiber (c : integralClosureAt F' v) :
    Algebra.trace (IsLocalRing.ResidueField v.toValuationSubring)
        (integralClosureAt F' v ⧸ conductorIdeal (F' := F') v)
        (Ideal.Quotient.mk (conductorIdeal (F' := F') v) c)
      = ∑ w ∈ v.fiber F',
          Algebra.trace (IsLocalRing.ResidueField v.toValuationSubring)
            (integralClosureAt F' v ⧸ fiberIdeal v w)
            (Ideal.Quotient.mk (fiberIdeal v w) c)
AlgebraicCurve.Place.ResidueTrace.Blocks.trace_mk_fiberIdeal_eq_trace_mk_fiberCenterPow

The fibre-ideal and ramification-power traces agree with their actual residue actions.

Source context 14 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Blocks
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Dict
local instance : DecidableEq (Place K F') := Classical.decEq _
variable (v : Place K F)
variable {v} {w : Place K F'}
variable (v) [HasPrincipalDivisors K F']
omit [HasPrincipalDivisors K F'] in
theorem trace_mk_fiberIdeal_eq_trace_mk_fiberCenterPow [HasPrincipalDivisors K F']
    {w : Place K F'} (hw : w.restrict F = v) (c : integralClosureAt F' v) :
    Algebra.trace (IsLocalRing.ResidueField v.toValuationSubring)
        (integralClosureAt F' v ⧸ fiberIdeal v w)
        (Ideal.Quotient.mk (fiberIdeal v w) c)
      = Algebra.trace (IsLocalRing.ResidueField v.toValuationSubring)
          (integralClosureAt F' v ⧸ fiberCenterPow hw)
          (Ideal.Quotient.mk (fiberCenterPow hw) c)
AlgebraicCurve.Place.ResidueTrace.Assembly.sub_algebraMap_evalAt_mem_fiberCenter

Subtracting the actual evaluation gives an element of the centre.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Assembly
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Blocks
variable {v : Place K F} [HasPrincipalDivisors K F']
omit [HasPrincipalDivisors K F'] in
theorem sub_algebraMap_evalAt_mem_fiberCenter {w : Place K F'} (hw : w.restrict F = v)
    (hwrat : w.IsRational) (c : integralClosureAt F' v) :
    c - algebraMap v.toValuationSubring (integralClosureAt F' v)
        (algebraMap K v.toValuationSubring
          (w.evalAt (algebraMap (integralClosureAt F' v) F' c)))
      ∈ (fiberCenter F' v hw).asIdeal
Source context 10 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Assembly
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Blocks
variable {v : Place K F} [HasPrincipalDivisors K F']
instance : DecidableEq (Place K F')
AlgebraicCurve.Place.ResidueTrace.Assembly.residue_trace_eq_sum_evalAt

The integral trace reduces to the ramification-weighted evaluation sum.

Source context 11 commands

Surrounding namespaces, section variables, and local commands at this declaration.

@[expose] public section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing UniqueFactorizationMonoid
open AlgebraicCurve
namespace AlgebraicCurve.Place.ResidueTrace
variable {K F F' : Type*} [Field K] [Field F] [Field F']
  [Algebra K F] [Algebra K F'] [Algebra F F'] [IsScalarTower K F F']
  [FiniteDimensional F F'] [Algebra.IsSeparable F F']
namespace Assembly
open _root_.AlgebraicCurve.Place hiding mem_iff_ord_nonneg ord_nonneg_of_mem
  eq_ord_of_addHom_of_nonneg_iff
open Blocks
variable {v : Place K F} [HasPrincipalDivisors K F']
local instance : DecidableEq (Place K F') := Classical.decEq _
theorem residue_trace_eq_sum_evalAt (hv : v.IsRational)
    (hrat : ∀ w ∈ v.fiber F', Place.IsRational w) (c : integralClosureAt F' v) :
    IsLocalRing.residue v.toValuationSubring
        (Algebra.trace v.toValuationSubring (integralClosureAt F' v) c)
      = ∑ w ∈ v.fiber F',
          w.ramificationIndex F
            • algebraMap K v.ResidueField
                (w.evalAt (algebraMap (integralClosureAt F' v) F' c))