Module

DedekindPrincipalDivisor.lean

Nyll.SchemeTheory.Divisors.DedekindPrincipalDivisor
37 declarations indexed from sourceView source ↗

Principal divisors on an affine Dedekind domain

The finite-support and uniqueness assertions reuse Mathlib's factorization of fractional ideals. The kernel consists exactly of the original ring units.

Imports12
Imported by8

Declarations

FractionalIdeal.divisorFinsupp

The finitely supported prime multiplicities of a fractional ideal.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
def divisorFinsupp (I : FractionalIdeal R⁰ K) : HeightOneSpectrum R →₀ ℤ
FractionalIdeal.divisorFinsupp_apply
Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem divisorFinsupp_apply (I : FractionalIdeal R⁰ K)
    (v : HeightOneSpectrum R) : divisorFinsupp R K I v = count K v I
FractionalIdeal.divisorFinsupp_eq_iff
Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem divisorFinsupp_eq_iff {I J : FractionalIdeal R⁰ K}
    (hI : I ≠ 0) (hJ : J ≠ 0) :
    divisorFinsupp R K I = divisorFinsupp R K J ↔ I = J
FractionalIdeal.divisorFinsupp_one
Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem divisorFinsupp_one : divisorFinsupp R K 1 = 0
FractionalIdeal.principalDivisorAddHom

The principal-divisor homomorphism on nonzero rational functions.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
def principalDivisorAddHom : Additive Kˣ →+ (HeightOneSpectrum R →₀ ℤ) where
  toFun a := divisorFinsupp R K (spanSingleton R⁰ (a.toMul : K))
  map_zero' := by
    change divisorFinsupp R K (spanSingleton R⁰ (1 : K)) = 0
    rw [map_one, divisorFinsupp_one]
  map_add' a b := by
    apply Finsupp.ext
    intro v
    change count K v (spanSingleton R⁰ ((a.toMul : K) * (b.toMul : K))) =
      count K v (spanSingleton R⁰ (a.toMul : K)) +
        count K v (spanSingleton R⁰ (b.toMul : K))
    rw [map_mul]
    exact count_mul K v
      (spanSingleton_ne_zero_iff.mpr a.toMul.ne_zero)
      (spanSingleton_ne_zero_iff.mpr b.toMul.ne_zero)
FractionalIdeal.principalDivisorAddHom_eq_zero_iff

A nonzero rational function has zero divisor precisely when it is a unit of the original Dedekind domain.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem principalDivisorAddHom_eq_zero_iff (a : Additive Kˣ) :
    principalDivisorAddHom R K a = 0 ↔
      ∃ u : Rˣ, Units.map (algebraMap R K).toMonoidHom u = a.toMul
FractionalIdeal.exists_principalDivisorAddHom_apply_eq_one

A principal divisor can have coefficient one at any prescribed height-one prime. The uniformizer comes from the existing adic valuation.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem exists_principalDivisorAddHom_apply_eq_one
    (v : HeightOneSpectrum R) :
    ∃ a : Additive Kˣ, principalDivisorAddHom R K a v = 1
FractionalIdeal.principalDivisorAddHom_apply_surjective

Each individual prime coefficient of the principal-divisor map is surjective. This makes no global assertion that all divisors are principal.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem principalDivisorAddHom_apply_surjective
    (v : HeightOneSpectrum R) :
    Function.Surjective (fun a : Additive Kˣ => principalDivisorAddHom R K a v) := by
  obtain ⟨a, ha⟩ := exists_principalDivisorAddHom_apply_eq_one R K v
  intro z
  refine ⟨z • a, ?_⟩
  change principalDivisorAddHom R K (z • a) v = z
  rw [map_zsmul, Finsupp.smul_apply, ha, zsmul_eq_mul, mul_one]
  rfl
FractionalIdeal.exists_principalDivisor_eq_on_basicOpen

Every finite divisor agrees with a principal divisor on a basic open neighbourhood of any prescribed height-one point. The element s removes only the finitely many primes in their difference.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem exists_principalDivisor_eq_on_basicOpen
    (D : HeightOneSpectrum R →₀ ℤ) (v : HeightOneSpectrum R) :
    ∃ (a : Additive Kˣ) (s : R), s ∉ v.asIdeal ∧
      ∀ w : HeightOneSpectrum R, s ∉ w.asIdeal →
        principalDivisorAddHom R K a w = D w
FractionalIdeal.valuation_eq_exp_neg_principalDivisor

The principal-divisor coordinate is the additive exponent of the existing adic valuation, with the usual opposite sign convention.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem valuation_eq_exp_neg_principalDivisor
    (v : HeightOneSpectrum R) (a : Additive Kˣ) :
    v.valuation K (a.toMul : K) =
      WithZero.exp (-(principalDivisorAddHom R K a v))
FractionalIdeal.principalDivisor_apply_eq_one_of_irreducible

A uniformizer of the actual valuation ring has principal-divisor coefficient one at the corresponding height-one point.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem principalDivisor_apply_eq_one_of_irreducible
    (v : HeightOneSpectrum R)
    (π : (v.valuation K).valuationSubring) (hπ : Irreducible π)
    (a : Additive Kˣ) (ha : (a.toMul : K) = (π : K)) :
    principalDivisorAddHom R K a v = 1
FractionalIdeal.principalDivisor_apply_eq_zero_iff_valuation_eq_one

Zero principal-divisor coefficient is exactly valuation one.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem principalDivisor_apply_eq_zero_iff_valuation_eq_one
    (v : HeightOneSpectrum R) (a : Additive Kˣ) :
    principalDivisorAddHom R K a v = 0 ↔ v.valuation K (a.toMul : K) = 1
FractionalIdeal.principalDivisor_apply_eq_zero_iff_mem_localUnitGroup

Vanishing at a height-one point means that the rational function belongs to the unit group of its actual valuation subring.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem principalDivisor_apply_eq_zero_iff_mem_localUnitGroup
    (v : HeightOneSpectrum R) (a : Additive Kˣ) :
    principalDivisorAddHom R K a v = 0 ↔
      a.toMul ∈ (HeightOneSpectrum.valuationSubringAtPrime K v).unitGroup
FractionalIdeal.principalDivisorCoefficientAt

Extract the principal-divisor coefficient at the original height-one prime.

Source context 10 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
section CokernelOrder
universe u
variable (R K : Type u) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
def principalDivisorCoefficientAt
    (v : HeightOneSpectrum R) : Additive Kˣ →+ ℤ
FractionalIdeal.principalDivisorUnitCokernelOrder

The principal-divisor coefficient descends to the cokernel of units of the actual valuation ring at a height-one point.

Source context 10 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
section CokernelOrder
universe u
variable (R K : Type u) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
def principalDivisorUnitCokernelOrder (v : HeightOneSpectrum R) :
    cokernel (IsDiscreteValuationRing.fractionUnitInclusion
      (v.valuation K).valuationSubring K) ⟶
        (AddCommGrpCat.of (ULift.{u} ℤ) : AddCommGrpCat.{u})
FractionalIdeal.principalDivisorUnitCokernelOrder_π

The actual cokernel projection followed by the order map is the principal-divisor coefficient at the chosen height-one point.

Source context 10 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
section CokernelOrder
universe u
variable (R K : Type u) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem principalDivisorUnitCokernelOrder_π (v : HeightOneSpectrum R) :
    cokernel.π (IsDiscreteValuationRing.fractionUnitInclusion
      (v.valuation K).valuationSubring K) ≫
        principalDivisorUnitCokernelOrder R K v =
      AddCommGrpCat.ofHom ((AddEquiv.ulift : ULift.{u} ℤ ≃+ ℤ).symm.toAddMonoidHom.comp
        (principalDivisorCoefficientAt R K v))
FractionalIdeal.principalDivisorUnitCokernelOrderHom

The ordinary integer-valued additive hom underlying the categorical order.

Source context 10 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
section CokernelOrder
universe u
variable (R K : Type u) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
def principalDivisorUnitCokernelOrderHom (v : HeightOneSpectrum R) :
    (cokernel (IsDiscreteValuationRing.fractionUnitInclusion
      (v.valuation K).valuationSubring K) : AddCommGrpCat.{u}) →+ ℤ
FractionalIdeal.principalDivisorUnitCokernelOrder_apply

Evaluation of the order map on a projected fraction-field unit is its principal-divisor coefficient.

Source context 10 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
section CokernelOrder
universe u
variable (R K : Type u) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem principalDivisorUnitCokernelOrder_apply
    (v : HeightOneSpectrum R) (a : Additive Kˣ) :
    principalDivisorUnitCokernelOrderHom R K v
      ((cokernel.π (IsDiscreteValuationRing.fractionUnitInclusion
        (v.valuation K).valuationSubring K)).hom a) =
    principalDivisorAddHom R K a v
FractionalIdeal.principalDivisorUnitCokernelOrder_comp_fractionUnitCokernelEquiv

Composing the order map with the uniformizer normalization is the identity on ℤ.

Source context 10 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
section CokernelOrder
universe u
variable (R K : Type u) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem principalDivisorUnitCokernelOrder_comp_fractionUnitCokernelEquiv
    (v : HeightOneSpectrum R)
    (π : (v.valuation K).valuationSubring) (hπ : Irreducible π)
    (πK : Kˣ) (hπK : (πK : K) = (π : K)) :
    (principalDivisorUnitCokernelOrderHom R K v).comp
      (IsDiscreteValuationRing.fractionUnitCokernelEquiv
        (v.valuation K).valuationSubring K hπ πK hπK).toAddMonoidHom =
      AddMonoidHom.id ℤ
FractionalIdeal.principalDivisorUnitCokernelOrder_isIso

The principal-divisor order map from the actual valuation-ring unit cokernel is an isomorphism with ℤ.

Source context 10 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
section CokernelOrder
universe u
variable (R K : Type u) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem principalDivisorUnitCokernelOrder_isIso (v : HeightOneSpectrum R) :
    IsIso (principalDivisorUnitCokernelOrder R K v)
FractionalIdeal.principalDivisorAddHom_map_eq_of_unramifiedLocal

Principal-divisor coefficients are preserved by the actual local map on valuation rings when that map is essentially finite type and unramified.

Source context 11 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
section PrincipalDivisorNaturality
universe u
variable (R S K L : Type u)
  [CommRing R] [IsDedekindDomain R] [Field K] [Algebra R K]
  [IsFractionRing R K]
  [CommRing S] [IsDedekindDomain S] [Field L] [Algebra S L]
  [IsFractionRing S L]
  (v : HeightOneSpectrum R) (w : HeightOneSpectrum S)
  [Algebra ((v.valuation K).valuationSubring)
    ((w.valuation L).valuationSubring)]
  [IsLocalHom (algebraMap (v.valuation K).valuationSubring
    (w.valuation L).valuationSubring)]
  [Algebra.EssFiniteType ((v.valuation K).valuationSubring)
    ((w.valuation L).valuationSubring)]
  [Algebra.FormallyUnramified ((v.valuation K).valuationSubring)
    ((w.valuation L).valuationSubring)]
  (g : K →+* L)
  (h : g.comp (algebraMap (v.valuation K).valuationSubring K) =
    (algebraMap (w.valuation L).valuationSubring L).comp
      (algebraMap (v.valuation K).valuationSubring
        (w.valuation L).valuationSubring))
include h
theorem principalDivisorAddHom_map_eq_of_unramifiedLocal
    (a : Additive Kˣ) :
    principalDivisorAddHom S L
      ((Units.map g.toMonoidHom).toAdditive a) w =
    principalDivisorAddHom R K a v
FractionalIdeal.exists_localUnit_of_principalDivisor_apply_eq_zero

A zero divisor coefficient supplies an actual local unit lifting the rational function, not merely a numerical valuation equality.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem exists_localUnit_of_principalDivisor_apply_eq_zero
    (v : HeightOneSpectrum R) (a : Additive Kˣ)
    (ha : principalDivisorAddHom R K a v = 0) :
    ∃ u : (HeightOneSpectrum.valuationSubringAtPrime K v)ˣ,
      Units.map (algebraMap (HeightOneSpectrum.valuationSubringAtPrime K v) K).toMonoidHom u =
        a.toMul
FractionalIdeal.exists_nonzero_basicOpen_divisor_vanishes

A finite divisor vanishes on a nonempty basic open containing the generic point.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem exists_nonzero_basicOpen_divisor_vanishes
    (D : HeightOneSpectrum R →₀ ℤ) :
    ∃ s : R, s ≠ 0 ∧ ∀ w : HeightOneSpectrum R, s ∉ w.asIdeal → D w = 0
FractionalIdeal.exists_principalDivisor_eq_on_basicOpen_at_prime

Every point, including the generic point, has a basic neighborhood on which a finite divisor is represented by one rational function.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
theorem exists_principalDivisor_eq_on_basicOpen_at_prime
    (D : HeightOneSpectrum R →₀ ℤ) (p : PrimeSpectrum R) :
    ∃ (s : R) (a : Additive Kˣ), s ∉ p.asIdeal ∧
      ∀ v : HeightOneSpectrum R, s ∉ v.asIdeal →
        principalDivisorAddHom R K a v = D v
FractionalIdeal.valuationSubring_cast_val
Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
universe v
theorem valuationSubring_cast_val {F : Type v} [Field F]
    (V W : ValuationSubring F) (h : V = W) (x : V) :
    ((RingEquiv.cast (R := fun T : ValuationSubring F => T) h x : W) : F) = (x : F) := by
  subst W
  rfl
FractionalIdeal.principalDivisorAddHom_map_eq_of_base_unramified

Principal-divisor coefficients are preserved under an essentially finite type, unramified base extension.

Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace FractionalIdeal
variable (R K : Type*) [CommRing R] [IsDedekindDomain R]
  [Field K] [Algebra R K] [IsFractionRing R K]
universe v
theorem principalDivisorAddHom_map_eq_of_base_unramified
    {R S K L : Type v} [CommRing R] [IsDedekindDomain R]
    [CommRing S] [IsDedekindDomain S] [Algebra R S]
    [Algebra.EssFiniteType R S] [Algebra.FormallyUnramified R S]
    [Field K] [Algebra R K] [IsFractionRing R K]
    [Field L] [Algebra S L] [IsFractionRing S L]
    (g : K →+* L)
    (hg : g.comp (algebraMap R K) = (algebraMap S L).comp (algebraMap R S))
    (v : IsDedekindDomain.HeightOneSpectrum R) (w : IsDedekindDomain.HeightOneSpectrum S)
    (hwv : w.asIdeal.under R = v.asIdeal) (a : Additive Kˣ) :
    principalDivisorAddHom S L ((Units.map g.toMonoidHom).toAdditive a) w =
      principalDivisorAddHom R K a v
ValuationSubring.mem_unitGroup_of_fraction_image_unit

A local map out of a valuation ring reflects rational units after passing to fraction fields.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace ValuationSubring
variable {K B : Type*} [Field K] [CommRing B] [IsDomain B]
theorem mem_unitGroup_of_fraction_image_unit
    (A : ValuationSubring K) (g : A →+* B) [IsLocalHom g]
    (f : K →+* FractionRing B)
    (hfg : (algebraMap B (FractionRing B)).comp g =
      f.comp A.subtype)
    (a : Kˣ) (u : Bˣ)
    (hu : f (a : K) = algebraMap B (FractionRing B) (u : B)) :
    a ∈ A.unitGroup

The height-one prime map induced by contraction along an affine etale map of Dedekind domains.

Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
section AffineEtaleDivisorPullback
open IsDedekindDomain
variable {R S : Type*} [CommRing R] [IsDedekindDomain R]
  [CommRing S] [IsDomain S] [Algebra R S] [Algebra.Etale R S]
def heightOneSpectrumContractionOfEtale
    (w : HeightOneSpectrum S) : HeightOneSpectrum R
Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
section AffineEtaleDivisorPullback
open IsDedekindDomain
variable {R S : Type*} [CommRing R] [IsDedekindDomain R]
  [CommRing S] [IsDomain S] [Algebra R S] [Algebra.Etale R S]
theorem heightOneSpectrumContractionOfEtale_asIdeal
    (w : HeightOneSpectrum S) :
    (heightOneSpectrumContractionOfEtale w).asIdeal = w.asIdeal.under R

Contraction of height-one primes is compatible with composition of affine étale maps.

Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
section HeightOneSpectrumContractionComposition
open IsDedekindDomain
variable {R S : Type*} [CommRing R] [IsDedekindDomain R]
  [CommRing S] [IsDedekindDomain S] [Algebra R S] [Algebra.Etale R S]
theorem heightOneSpectrumContractionOfEtale_comp
    {T : Type*}
    [CommRing T] [IsDomain T]
    [Algebra S T] [Algebra R T] [IsScalarTower R S T]
    [Algebra.Etale S T] [Algebra.Etale R T]
    (w : HeightOneSpectrum T) :
    heightOneSpectrumContractionOfEtale (R := R) (S := S)
      (heightOneSpectrumContractionOfEtale (R := S) (S := T) w) =
    heightOneSpectrumContractionOfEtale (R := R) (S := T) w

Contraction along the identity algebra map fixes every height-one prime.

Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
section AffineEtaleDivisorPullback
open IsDedekindDomain
variable {R S : Type*} [CommRing R] [IsDedekindDomain R]
  [CommRing S] [IsDomain S] [Algebra R S] [Algebra.Etale R S]
theorem heightOneSpectrumContractionOfEtale_id
    {R : Type*} [CommRing R] [IsDedekindDomain R]
    [Algebra R R] [Algebra.Etale R R]
    (hmap : algebraMap R R = RingHom.id R) (w : HeightOneSpectrum R) :
    heightOneSpectrumContractionOfEtale (R := R) (S := R) w = w

Every height-one contraction fiber is finite, by quasi-finiteness of an etale algebra.

Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
section AffineEtaleDivisorPullback
open IsDedekindDomain
variable {R S : Type*} [CommRing R] [IsDedekindDomain R]
  [CommRing S] [IsDomain S] [Algebra R S] [Algebra.Etale R S]
theorem finite_heightOneSpectrumContractionOfEtale_fiber
    (v : HeightOneSpectrum R) :
    {w : HeightOneSpectrum S | heightOneSpectrumContractionOfEtale w = v}.Finite

Pullback of a finite divisor along an affine etale map, defined by precomposition with the height-one contraction map.

Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
section AffineEtaleDivisorPullback
open IsDedekindDomain
variable {R S : Type*} [CommRing R] [IsDedekindDomain R]
  [CommRing S] [IsDomain S] [Algebra R S] [Algebra.Etale R S]
def affineEtaleDivisorPullback :
    (HeightOneSpectrum R →₀ ℤ) →+ (HeightOneSpectrum S →₀ ℤ) where
  toFun D := by
    classical
    let support := D.support.biUnion (fun v =>
      (finite_heightOneSpectrumContractionOfEtale_fiber (R := R) (S := S) v).toFinset)
    exact Finsupp.mk support
      (fun w => D (heightOneSpectrumContractionOfEtale w)) (by
        intro w
        constructor
        · intro hw
          rcases Finset.mem_biUnion.mp hw with ⟨v, hvD, hvw⟩
          have hcon : heightOneSpectrumContractionOfEtale w = v :=
            (finite_heightOneSpectrumContractionOfEtale_fiber
              (R := R) (S := S) v).mem_toFinset.mp hvw
          rw [hcon]
          exact Finsupp.mem_support_iff.mp hvD
        · intro hw
          apply Finset.mem_biUnion.mpr
          refine ⟨heightOneSpectrumContractionOfEtale w,
            Finsupp.mem_support_iff.mpr hw, ?_⟩
          exact (finite_heightOneSpectrumContractionOfEtale_fiber
            (R := R) (S := S) (heightOneSpectrumContractionOfEtale w)).mem_toFinset.mpr rfl)
  map_zero' := by
    classical
    ext w
    rfl
  map_add' D E := by
    classical
    ext w
    rfl
Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
section AffineEtaleDivisorPullback
open IsDedekindDomain
variable {R S : Type*} [CommRing R] [IsDedekindDomain R]
  [CommRing S] [IsDomain S] [Algebra R S] [Algebra.Etale R S]
theorem affineEtaleDivisorPullback_apply
    (D : HeightOneSpectrum R →₀ ℤ) (w : HeightOneSpectrum S) :
    affineEtaleDivisorPullback D w =
      D (heightOneSpectrumContractionOfEtale w)

Pullback along the identity algebra map fixes every finite divisor.

Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
section AffineEtaleDivisorPullback
open IsDedekindDomain
variable {R S : Type*} [CommRing R] [IsDedekindDomain R]
  [CommRing S] [IsDomain S] [Algebra R S] [Algebra.Etale R S]
theorem affineEtaleDivisorPullback_id
    {R : Type*} [CommRing R] [IsDedekindDomain R]
    [Algebra R R] [Algebra.Etale R R]
    (hmap : algebraMap R R = RingHom.id R)
    (D : HeightOneSpectrum R →₀ ℤ) :
    affineEtaleDivisorPullback (R := R) (S := R) D = D

Pullback of finite divisors is contravariantly functorial under composition of affine etale maps.

Source context 8 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
section AffineEtaleDivisorPullback
open IsDedekindDomain
variable {R S : Type*} [CommRing R] [IsDedekindDomain R]
  [CommRing S] [IsDomain S] [Algebra R S] [Algebra.Etale R S]
theorem affineEtaleDivisorPullback_comp
    {T : Type*} [CommRing T] [IsDedekindDomain T]
    [Algebra S T] [Algebra R T] [IsScalarTower R S T]
    [Algebra.Etale S T] [Algebra.Etale R T]
    (D : HeightOneSpectrum R →₀ ℤ) :
    let _hS : IsDedekindDomain S :=
      IsDedekindDomain.of_essFiniteType_formallyUnramified R S
    affineEtaleDivisorPullback (R := S) (S := T)
      (affineEtaleDivisorPullback (R := R) (S := S) D) =
    affineEtaleDivisorPullback (R := R) (S := T) D := by
  intro hS
  have hcontract (w : HeightOneSpectrum T) :
      heightOneSpectrumContractionOfEtale (R := R) (S := S)
        (heightOneSpectrumContractionOfEtale (R := S) (S := T) w) =
      heightOneSpectrumContractionOfEtale (R := R) (S := T) w :=
    heightOneSpectrumContractionOfEtale_comp
      (R := R) (S := S) (T := T) w
  ext w
  rw [affineEtaleDivisorPullback_apply, affineEtaleDivisorPullback_apply,
    hcontract]
  rw [affineEtaleDivisorPullback_apply]
IsDedekindDomain.HeightOneSpectrum.equivClosedPoints

Height-one primes of a non-field Dedekind domain are the actual closed points of its affine scheme. The non-field hypothesis excludes the zero prime, which is closed when the ring is a field but is not height one.

Source context 7 commands

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

@[expose] public section
noncomputable section
open AlgebraicGeometry CategoryTheory CategoryTheory.Limits
open scoped nonZeroDivisors
open IsDedekindDomain
namespace IsDedekindDomain.HeightOneSpectrum
variable {R : Type*} [CommRing R] [IsDedekindDomain R]
def equivClosedPoints (hR : ¬ IsField R) :
    HeightOneSpectrum R ≃ closedPoints (Spec (CommRingCat.of R))