Module

CurveDivisorPrincipalComparison.lean

Nyll.AlgebraicCurves.Models.Divisors.CurveDivisorPrincipalComparison
4 declarations indexed from sourceView source ↗

Principal-divisor coefficients in the original curve function field

An actual affine open chart identifies its fraction field with the specified function field of a curve model. The coordinate of its native principal divisor is the order at the original model place, with the original unit retained. The local comparison is proved from the actual stalk localization maps.

Declarations

AlgebraicCurve.CurveModel.affineFractionRing_mem_valuationSubring_iff
Source context 5 commands

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

@[expose] public section
noncomputable section
open CategoryTheory AlgebraicGeometry IsDedekindDomain TopologicalSpace
universe u v
namespace AlgebraicCurve.CurveModel
theorem affineFractionRing_mem_valuationSubring_iff
    (R : Type u) [CommRing R] [IsDedekindDomain R]
    (w : HeightOneSpectrum R)
    (t : (Spec (CommRingCat.of R)).functionField) :
    let p : Spec (CommRingCat.of R) := ⟨w.asIdeal, w.isPrime⟩
    let A := (Spec (CommRingCat.of R)).presheaf.stalk p
    let : Algebra A (Spec (CommRingCat.of R)).functionField :=
      stalkFunctionFieldAlgebra (Spec (CommRingCat.of R)) p
    (EtaleCohomology.affineGenericPointStalkFractionRingAlgEquiv R).symm t ∈
        (w.valuation (FractionRing R)).valuationSubring ↔
      t ∈ (algebraMap A (Spec (CommRingCat.of R)).functionField).range := by
  intro p A algA
  let : Algebra R A := StructureSheaf.stalkAlgebra R p
  have : IsLocalization w.asIdeal.primeCompl A :=
    StructureSheaf.IsLocalization.to_stalk R p
  let e := EtaleCohomology.affineGenericPointStalkFractionRingAlgEquiv R
  let g : A →+* (Spec (CommRingCat.of R)).functionField := algebraMap _ _
  let h : A →ₐ[R] FractionRing R :=
    Localization.mapToFractionRing (FractionRing R) w.asIdeal.primeCompl A
      w.asIdeal.primeCompl_le_nonZeroDivisors
  have hmap : e.symm.toRingHom.comp g = h.toRingHom := by
    apply IsLocalization.ringHom_ext w.asIdeal.primeCompl
    ext r
    change e.symm (g (algebraMap R A r)) = h (algebraMap R A r)
    rw [h.commutes]
    have hs := ConcreteCategory.congr_hom
      (StructureSheaf.toStalk_stalkSpecializes
        ((genericPoint_spec (Spec (CommRingCat.of R))).specializes
          (Set.mem_univ p))) r
    have hg : g (algebraMap R A r) =
        algebraMap R (Spec (CommRingCat.of R)).functionField r := hs
    rw [hg]
    exact e.symm.commutes r
  have hlocal : e.symm t ∈ (w.valuation (FractionRing R)).valuationSubring ↔
      e.symm t ∈ h.range := by
    rw [← w.valuationSubringAtPrime_eq_valuationSubring]
    exact (Localization.subalgebra.mem_range_mapToFractionRing_iff_ofField
      (FractionRing R) w.asIdeal.primeCompl
      w.asIdeal.primeCompl_le_nonZeroDivisors A (e.symm t)).symm
  refine hlocal.trans ?_
  change (∃ a : A, h a = e.symm t) ↔ ∃ a : A, g a = t
  constructor
  · rintro ⟨a, ha⟩
    refine ⟨a, e.symm.injective ?_⟩
    exact (RingHom.congr_fun hmap a).trans ha
  · rintro ⟨a, ha⟩
    refine ⟨a, (RingHom.congr_fun hmap a).symm.trans ?_⟩
    exact congrArg e.symm ha
AlgebraicCurve.CurveModel.affineChartFractionRingEquiv

The fraction-field coordinate of an actual affine open chart, obtained from the model's specified function-field equivalence and the actual chart map.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory AlgebraicGeometry IsDedekindDomain TopologicalSpace
universe u v
namespace AlgebraicCurve.CurveModel
variable {K : Type u} [Field K] {F : Type v} [Field F] [Algebra K F]
  (M : CurveModel K F)
def affineChartFractionRingEquiv
    (R : Type u) [CommRing R] [IsDomain R]
    (i : Spec (CommRingCat.of R) ⟶ M.C) [IsOpenImmersion i] :
    F ≃+* FractionRing R
AlgebraicCurve.CurveModel.affineChartFractionRingEquiv_valuationSubring

The chart valuation, pulled back along the original function-field coordinate, has exactly the original model place's valuation ring.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory AlgebraicGeometry IsDedekindDomain TopologicalSpace
universe u v
namespace AlgebraicCurve.CurveModel
variable {K : Type u} [Field K] {F : Type v} [Field F] [Algebra K F]
  (M : CurveModel K F)
theorem affineChartFractionRingEquiv_valuationSubring
    (R : Type u) [CommRing R] [IsDedekindDomain R]
    (i : Spec (CommRingCat.of R) ⟶ M.C) [IsOpenImmersion i]
    (w : HeightOneSpectrum R) (x : closedPoints M.C)
    (hx : i (⟨w.asIdeal, w.isPrime⟩ : PrimeSpectrum R) = x.1) :
    ((w.valuation (FractionRing R)).comap
      (M.affineChartFractionRingEquiv R i).toRingHom).valuationSubring =
        (M.placeEquiv x).toValuationSubring
AlgebraicCurve.CurveModel.principalDivisorAddHom_affineChart_eq_place_ord

The native affine principal-divisor coefficient is the order of the original function-field unit at the corresponding original model place.

Source context 6 commands

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

@[expose] public section
noncomputable section
open CategoryTheory AlgebraicGeometry IsDedekindDomain TopologicalSpace
universe u v
namespace AlgebraicCurve.CurveModel
variable {K : Type u} [Field K] {F : Type v} [Field F] [Algebra K F]
  (M : CurveModel K F)
theorem principalDivisorAddHom_affineChart_eq_place_ord
    (R : Type u) [CommRing R] [IsDedekindDomain R]
    (i : Spec (CommRingCat.of R) ⟶ M.C) [IsOpenImmersion i]
    (w : HeightOneSpectrum R) (x : closedPoints M.C)
    (hx : i (⟨w.asIdeal, w.isPrime⟩ : PrimeSpectrum R) = x.1)
    (a : Additive Fˣ) :
    FractionalIdeal.principalDivisorAddHom R (FractionRing R)
        (Additive.ofMul (Units.map (M.affineChartFractionRingEquiv R i).toMonoidHom
          a.toMul)) w =
      (M.placeEquiv x).ord (a.toMul : F)