Module

LocalUnitKernel.lean

Nyll.JacobianVarieties.Generalized.LocalUnitKernel
18 declarations indexed from sourceView source ↗

The principal boundary for divisor classes with modulus

A rational function which is a unit along a modulus defines a degree-zero divisor class with that modulus. The image is exactly the kernel of forgetting the modulus. The independent constant-field condition ConstantsAreBase identifies the kernel of this boundary with constants times congruence-one functions. This is the rational-function form of Serre's local-unit sequence.

Declarations

AlgebraicCurve.Modulus.awayUnits

Nonzero rational functions which have no zero or pole along the modulus.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def awayUnits (D : Modulus K F) : Subgroup Fˣ where
  carrier := {f | ∀ v, D v ≠ 0 → v.ord (f : F) = 0}
  one_mem' := fun v _ => v.ord_one
  mul_mem' := by
    intro f g hf hg v hv
    rw [Units.val_mul, v.ord_mul f.ne_zero g.ne_zero, hf v hv, hg v hv, zero_add]
  inv_mem' := by
    intro f hf v hv
    rw [Units.val_inv_eq_inv_val, v.ord_inv, hf v hv, neg_zero]
AlgebraicCurve.Modulus.mem_awayUnits
Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem mem_awayUnits (D : Modulus K F) (f : Fˣ) :
    f ∈ D.awayUnits ↔ ∀ v, D v ≠ 0 → v.ord (f : F) = 0
AlgebraicCurve.Modulus.localUnit

The actual local unit determined by a rational function of order zero.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def localUnit (D : Modulus K F) (f : D.awayUnits) (v : Place K F) (hv : D v ≠ 0) :
    v.toValuationSubringˣ
AlgebraicCurve.Modulus.localUnit_coe
Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem localUnit_coe (D : Modulus K F) (f : D.awayUnits) (v : Place K F)
    (hv : D v ≠ 0) : ((D.localUnit f v hv : v.toValuationSubring) : F) = (f.1 : F)
AlgebraicCurve.Modulus.LocalJetUnits

All invertible finite jets along the full modulus, retaining multiplicities.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
abbrev LocalJetUnits (D : Modulus K F)
AlgebraicCurve.Modulus.jetMap

Restrict a rational function which is a local unit to its finite jets.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def jetMap (D : Modulus K F) : D.awayUnits →* D.LocalJetUnits where
  toFun f v := LubinTate.Valuations.unitReduction
    ((IsLocalRing.maximalIdeal v.1.toValuationSubring) ^ D v.1) (D.localUnit f v.1 v.2)
  map_one' := by
    funext v
    have h : D.localUnit 1 v.1 v.2 = 1 := by
      apply Units.ext
      apply Subtype.ext
      exact D.localUnit_coe 1 v.1 v.2
    rw [h, map_one]
    rfl
  map_mul' f g := by
    funext v
    have h : D.localUnit (f * g) v.1 v.2 =
        D.localUnit f v.1 v.2 * D.localUnit g v.1 v.2 := by
      apply Units.ext
      apply Subtype.ext
      change ((D.localUnit (f * g) v.1 v.2 : v.1.toValuationSubring) : F) =
        ((D.localUnit f v.1 v.2 : v.1.toValuationSubring) : F) *
          ((D.localUnit g v.1 v.2 : v.1.toValuationSubring) : F)
      rw [localUnit_coe, localUnit_coe, localUnit_coe]
      rfl
    rw [h, map_mul]
    rfl
AlgebraicCurve.Modulus.jetMap_surjective

Weak approximation makes every tuple of invertible finite jets global.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem jetMap_surjective (D : Modulus K F) : Function.Surjective D.jetMap
AlgebraicCurve.Modulus.jetMap_eq_one_iff

Trivial finite jets mean precisely congruence to one along the modulus.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem jetMap_eq_one_iff (D : Modulus K F) (f : D.awayUnits) :
    D.jetMap f = 1 ↔ D.CongruentOne (f.1 : F)
AlgebraicCurve.Modulus.scalarAway

Base-field units regarded as rational functions which are units everywhere.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def scalarAway (D : Modulus K F) : Kˣ →* D.awayUnits where
  toFun c := ⟨Units.map (algebraMap K F) c, by
    intro v _
    change v.ord (algebraMap K F (c : K)) = 0
    have h := v.ord_coe_unit (Units.map (algebraMap K v.toValuationSubring) c)
    change v.ord (algebraMap K F (c : K)) = 0 at h
    exact h⟩
  map_one' := by apply Subtype.ext; exact map_one _
  map_mul' _ _ := by apply Subtype.ext; exact map_mul _ _ _
AlgebraicCurve.Modulus.scalarJets

The diagonal base-field scalars in the finite local-unit jets.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def scalarJets (D : Modulus K F) : Kˣ →* D.LocalJetUnits
AlgebraicCurve.Modulus.unitDivisor

The principal divisor of a unit along the modulus, with support and degree proofs.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def unitDivisor [HasPrincipalDivisors K F] (D : Modulus K F) (f : D.awayUnits) :
    D.divAwayZero
AlgebraicCurve.Modulus.unitDivisor_apply
Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem unitDivisor_apply [HasPrincipalDivisors K F] (D : Modulus K F)
    (f : D.awayUnits) (v : Place K F) :
    (D.unitDivisor f : Divisor K F) v = v.ord (f.1 : F)
AlgebraicCurve.Modulus.unitDivisor_one
Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem unitDivisor_one [HasPrincipalDivisors K F] (D : Modulus K F) :
    D.unitDivisor 1 = 0
AlgebraicCurve.Modulus.unitDivisor_mul
Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem unitDivisor_mul [HasPrincipalDivisors K F] (D : Modulus K F)
    (f g : D.awayUnits) : D.unitDivisor (f * g) = D.unitDivisor f + D.unitDivisor g
AlgebraicCurve.Modulus.unitBoundary

The principal boundary, with the multiplicative source written additively.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
def unitBoundary [HasPrincipalDivisors K F] (D : Modulus K F) :
    Additive D.awayUnits →+ D.ClassGroupZero where
  toFun f := D.mkZero (D.unitDivisor f.toMul)
  map_zero' := by
    change D.mkZero (D.unitDivisor 1) = 0
    rw [unitDivisor_one, map_zero]
  map_add' f g := by
    change D.mkZero (D.unitDivisor (f.toMul * g.toMul)) = _
    rw [unitDivisor_mul, map_add]
AlgebraicCurve.Modulus.toPic0_unitBoundary

Forgetting the modulus kills every principal boundary.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem toPic0_unitBoundary [HasPrincipalDivisors K F] (D : Modulus K F)
    (f : Additive D.awayUnits) : D.toPic0 (D.unitBoundary f) = 0
AlgebraicCurve.Modulus.range_unitBoundary

Every class killed by forgetting the modulus is a principal boundary.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem range_unitBoundary [HasPrincipalDivisors K F] (D : Modulus K F) :
    D.unitBoundary.range = D.toPic0.ker
AlgebraicCurve.Modulus.unitBoundary_eq_zero_iff

Vanishing boundary is exactly congruence to a nonzero base-field scalar.

The only additional hypothesis is the independent assertion that functions with no poles are base-field constants. No exactness assertion is assumed.

Source context 4 commands

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

@[expose] public section
noncomputable section
namespace AlgebraicCurve.Modulus
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem unitBoundary_eq_zero_iff [HasPrincipalDivisors K F] (D : Modulus K F)
    (hC : ConstantsAreBase K F) (f : D.awayUnits) :
    D.unitBoundary (Additive.ofMul f) = 0 ↔
      ∃ c : Kˣ, D.CongruentOne ((f.1 : F) / algebraMap K F (c : K))