Module

Basic.lean

Nyll.AlgebraicCurves.Places.Basic
57 declarations indexed from sourceView source ↗

Places and their normalized valuations

A place, its residue field and normalized order, the action of field automorphisms, and the place associated with a height-one prime. Divisor and Picard constructions build on this API.

Imports11
  • Mathlib.RingTheory.DedekindDomain.AdicValuation.Completion
  • Mathlib.RingTheory.DedekindDomain.AdicValuation.Valuation
  • Mathlib.RingTheory.Valuation.Discrete.Basic
  • Mathlib.RingTheory.Valuation.Discrete.IsDiscreteValuationRing
  • Mathlib.RingTheory.LocalRing.ResidueField.Basic
  • Mathlib.Data.Finsupp.SMul
  • Mathlib.Algebra.BigOperators.Finsupp.Basic
  • Mathlib.Algebra.Module.Torsion.Basic
  • Mathlib.Algebra.Ring.Subring.Pointwise
  • Mathlib.LinearAlgebra.FiniteDimensional.Defs
  • Mathlib.RingTheory.Bezout
Imported by286

Declarations

structure

Place

L73 ↗
AlgebraicCurve.Place

A proper principal valuation subring of F containing the image of the base field K.

Source context 6 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
structure Place where
  /-- The valuation subring defining the place. -/
  toValuationSubring : ValuationSubring F
  /-- Every scalar from the base field belongs to the valuation subring. -/
  algebraMap_mem' : ∀ a : K, algebraMap K F a ∈ toValuationSubring
  /-- The valuation subring is a proper subring of the ambient field. -/
  ne_top' : toValuationSubring ≠ ⊤
  /-- The valuation subring is a principal ideal ring. -/
  isPrincipalIdealRing' : IsPrincipalIdealRing toValuationSubring
ValuationSubring.not_isField_of_ne_top
Source context 6 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
theorem _root_.ValuationSubring.not_isField_of_ne_top {A : ValuationSubring F} (hA : A ≠ ⊤) :
    ¬IsField A
AlgebraicCurve.Place.toValuationSubring_injective
Source context 8 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
theorem toValuationSubring_injective :
    Function.Injective (toValuationSubring (K := K) (F := F))
AlgebraicCurve.Place.ext
Source context 8 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
theorem ext {v w : Place K F} (h : v.toValuationSubring = w.toValuationSubring) : v = w
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
instance : IsPrincipalIdealRing v.toValuationSubring
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
instance : IsDiscreteValuationRing v.toValuationSubring where
  not_a_field' := by
    rw [ne_eq, ← IsLocalRing.isField_iff_maximalIdeal_eq]
    exact ValuationSubring.not_isField_of_ne_top F v.ne_top'
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
instance : Algebra K v.toValuationSubring
AlgebraicCurve.Place.coe_algebraMap
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem coe_algebraMap (a : K) :
    (algebraMap K v.toValuationSubring a : F) = algebraMap K F a
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
instance : IsScalarTower K v.toValuationSubring F
AlgebraicCurve.Place.ResidueField

The residue field of the valuation subring at the place.

Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
abbrev ResidueField : Type _
AlgebraicCurve.Place.deg

The degree of the residue field over the base field.

Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
def deg : ℕ
AlgebraicCurve.Place.FiniteResidue

The residue field at a place is a finite module over the base field.

Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
class FiniteResidue : Prop where
  /-- Finiteness of the residue field as a module over the base field. -/
  finite : Module.Finite K v.ResidueField
AlgebraicCurve.Place.heightOneSpectrum

The maximal ideal of the discrete valuation ring, viewed as a height-one prime.

Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
def heightOneSpectrum : HeightOneSpectrum v.toValuationSubring
AlgebraicCurve.Place.heightOneSpectrum_asIdeal
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem heightOneSpectrum_asIdeal :
    v.heightOneSpectrum.asIdeal = IsLocalRing.maximalIdeal v.toValuationSubring
AlgebraicCurve.Place.adicValuation

The multiplicative discrete valuation associated with the place.

Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
def adicValuation : Valuation F ℤᵐ⁰
AlgebraicCurve.Place.adicValuation_ne_zero
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem adicValuation_ne_zero {f : F} (hf : f ≠ 0) : v.adicValuation f ≠ 0
AlgebraicCurve.Place.adicValuation_valuationSubring
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem adicValuation_valuationSubring :
    v.adicValuation.valuationSubring = v.toValuationSubring
AlgebraicCurve.Place.mem_iff_adicValuation_le_one
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem mem_iff_adicValuation_le_one {f : F} :
    f ∈ v.toValuationSubring ↔ v.adicValuation f ≤ 1
AlgebraicCurve.Place.adicValuation_coe
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem adicValuation_coe (a : v.toValuationSubring) :
    v.adicValuation (a : F) = v.heightOneSpectrum.intValuation a
AlgebraicCurve.Place.adicValuation_coe_eq_one_iff
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem adicValuation_coe_eq_one_iff (a : v.toValuationSubring) :
    v.adicValuation (a : F) = 1 ↔ IsUnit a
AlgebraicCurve.Place.adicValuation_coe_irreducible
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem adicValuation_coe_irreducible {π : v.toValuationSubring} (hπ : Irreducible π) :
    v.adicValuation (π : F) = exp (-1 : ℤ)
AlgebraicCurve.Place.ord

The additive valuation order of an element, with order zero assigned to zero.

Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
def ord (f : F) : ℤ
AlgebraicCurve.Place.ord_zero
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem ord_zero : v.ord (0 : F) = 0
AlgebraicCurve.Place.ord_one
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem ord_one : v.ord (1 : F) = 0
AlgebraicCurve.Place.adicValuation_eq_exp_neg_ord
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem adicValuation_eq_exp_neg_ord {f : F} (hf : f ≠ 0) :
    v.adicValuation f = exp (-v.ord f)
AlgebraicCurve.Place.ord_mul
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem ord_mul {f g : F} (hf : f ≠ 0) (hg : g ≠ 0) :
    v.ord (f * g) = v.ord f + v.ord g
AlgebraicCurve.Place.ord_inv
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem ord_inv (f : F) : v.ord f⁻¹ = -v.ord f
AlgebraicCurve.Place.ord_coe_unit
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem ord_coe_unit (u : v.toValuationSubringˣ) :
    v.ord ((u : v.toValuationSubring) : F) = 0
AlgebraicCurve.Place.ord_coe_irreducible
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem ord_coe_irreducible {π : v.toValuationSubring} (hπ : Irreducible π) :
    v.ord (π : F) = 1
AlgebraicCurve.Place.ord_zpow
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem ord_zpow (f : F) (n : ℤ) : v.ord (f ^ n) = n * v.ord f
AlgebraicCurve.Place.ord_unit_smul_zpow
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem ord_unit_smul_zpow (u : v.toValuationSubringˣ) {π : v.toValuationSubring}
    (hπ : Irreducible π) (n : ℤ) :
    v.ord (((u : v.toValuationSubring) : F) * ((π : F) ^ n)) = n
AlgebraicCurve.Place.exists_unit_mul_zpow
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable (v : Place K F)
theorem exists_unit_mul_zpow {f : F} (hf : f ≠ 0) {π : v.toValuationSubring}
    (hπ : Irreducible π) :
    ∃ u : v.toValuationSubringˣ,
      f = ((u : v.toValuationSubring) : F) * ((π : F) ^ (v.ord f))
AlgebraicCurve.Place.smulRingEquiv

Restrict a field automorphism to the corresponding transported valuation subring.

Source context 10 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
open scoped Pointwise
variable {K F}
variable (σ : F ≃ₐ[K] F)
def smulRingEquiv (A : ValuationSubring F) : A ≃+* (σ • A : ValuationSubring F) where
  toFun x := ⟨σ x, by
    simpa only [AlgEquiv.smul_def] using
      ValuationSubring.smul_mem_pointwise_smul σ (x : F) A x.2⟩
  invFun y := ⟨σ.symm y, by
    have := (ValuationSubring.mem_pointwise_smul_iff_inv_smul_mem (g := σ)
      (S := A) (x := (y : F))).mp y.2
    simpa only [AlgEquiv.smul_def, AlgEquiv.aut_inv] using this⟩
  left_inv x := Subtype.ext (σ.symm_apply_apply x)
  right_inv y := Subtype.ext (σ.apply_symm_apply y)
  map_mul' x y := Subtype.ext (map_mul σ (x : F) (y : F))
  map_add' x y := Subtype.ext (map_add σ (x : F) (y : F))
AlgebraicCurve.Place.coe_smulRingEquiv_apply
Source context 10 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
open scoped Pointwise
variable {K F}
variable (σ : F ≃ₐ[K] F)
theorem coe_smulRingEquiv_apply (A : ValuationSubring F) (x : A) :
    ((smulRingEquiv σ A x : (σ • A : ValuationSubring F)) : F) = σ x
ValuationSubring.pointwise_smul_top
Source context 10 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
open scoped Pointwise
variable {K F}
variable (σ : F ≃ₐ[K] F)
theorem _root_.ValuationSubring.pointwise_smul_top :
    σ • (⊤ : ValuationSubring F) = ⊤
Source context 10 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
open scoped Pointwise
variable {K F}
variable (σ : F ≃ₐ[K] F)
instance : SMul (F ≃ₐ[K] F) (Place K F) where
  smul σ v :=
    { toValuationSubring := σ • v.toValuationSubring
      algebraMap_mem' := fun a => by
        have h := ValuationSubring.smul_mem_pointwise_smul σ (algebraMap K F a)
          v.toValuationSubring (v.algebraMap_mem' a)
        rwa [AlgEquiv.smul_def, σ.commutes] at h
      ne_top' := fun h => v.ne_top' <| by
        have := congrArg (σ⁻¹ • ·) h
        simpa only [inv_smul_smul, ValuationSubring.pointwise_smul_top] using this
      isPrincipalIdealRing' :=
        IsPrincipalIdealRing.of_surjective
          (smulRingEquiv σ v.toValuationSubring : _ ≃+* _)
          (smulRingEquiv σ v.toValuationSubring).surjective }
AlgebraicCurve.Place.smul_toValuationSubring
Source context 11 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
open scoped Pointwise
variable {K F}
variable (σ : F ≃ₐ[K] F)
variable (v : Place K F)
theorem smul_toValuationSubring : (σ • v).toValuationSubring = σ • v.toValuationSubring
Source context 11 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
open scoped Pointwise
variable {K F}
variable (σ : F ≃ₐ[K] F)
variable (v : Place K F)
instance : MulAction (F ≃ₐ[K] F) (Place K F) where
  one_smul v := by
    ext1
    rw [smul_toValuationSubring, one_smul]
  mul_smul σ τ v := by
    ext1
    simp only [smul_toValuationSubring]
    rw [mul_smul]
AlgebraicCurve.Place.ord_smul
Source context 11 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
open scoped Pointwise
variable {K F}
variable (σ : F ≃ₐ[K] F)
variable (v : Place K F)
theorem ord_smul (f : F) : (σ • v).ord (σ f) = v.ord f
AlgebraicCurve.Place.smulResidueAlgEquiv

The residue-field algebra equivalence induced by a field automorphism of a place.

Source context 11 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
open scoped Pointwise
variable {K F}
variable (σ : F ≃ₐ[K] F)
variable (v : Place K F)
def smulResidueAlgEquiv : v.ResidueField ≃ₐ[K] (σ • v).ResidueField
AlgebraicCurve.Place.deg_smul
Source context 11 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
open scoped Pointwise
variable {K F}
variable (σ : F ≃ₐ[K] F)
variable (v : Place K F)
theorem deg_smul : (σ • v).deg = v.deg
AlgebraicCurve.Place.isPrincipalIdealRing_valuationSubring
Source context 10 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable {R : Type*} [CommRing R] [IsDedekindDomain R] [Algebra R F] [IsFractionRing R F]
open IsDedekindDomain.HeightOneSpectrum in
theorem isPrincipalIdealRing_valuationSubring (w : HeightOneSpectrum R) :
    IsPrincipalIdealRing ((w.valuation F).valuationSubring)
AlgebraicCurve.Place.ofHeightOneSpectrum

Construct a place from the prime-adic valuation of a height-one prime.

Source context 10 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable {R : Type*} [CommRing R] [IsDedekindDomain R] [Algebra R F] [IsFractionRing R F]
open IsDedekindDomain.HeightOneSpectrum in
def ofHeightOneSpectrum [Algebra K R] [IsScalarTower K R F] (w : HeightOneSpectrum R) :
    Place K F where
  toValuationSubring := (w.valuation F).valuationSubring
  algebraMap_mem' := fun a => by
    rw [Valuation.mem_valuationSubring_iff, IsScalarTower.algebraMap_apply K R F]
    exact w.valuation_le_one (algebraMap K R a)
  ne_top' := by
    simp only [ne_eq, Valuation.valuationSubring_eq_top_iff, not_not]
    infer_instance
  isPrincipalIdealRing' := isPrincipalIdealRing_valuationSubring w
AlgebraicCurve.Place.ofHeightOneSpectrum_toValuationSubring
Source context 9 commands

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

@[expose] public section
section
noncomputable section
open IsDedekindDomain WithZero IsLocalRing
namespace AlgebraicCurve
variable (K F : Type*) [Field K] [Field F] [Algebra K F]
namespace Place
variable {K F}
variable {R : Type*} [CommRing R] [IsDedekindDomain R] [Algebra R F] [IsFractionRing R F]
theorem ofHeightOneSpectrum_toValuationSubring [Algebra K R] [IsScalarTower K R F]
    (w : HeightOneSpectrum R) :
    (ofHeightOneSpectrum (K := K) w).toValuationSubring = (w.valuation F).valuationSubring
AlgebraicCurve.Place.adicValuation_isRankOneDiscrete
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem adicValuation_isRankOneDiscrete : v.adicValuation.IsRankOneDiscrete
AlgebraicCurve.Place.adicValuation_isTrivialOn
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem adicValuation_isTrivialOn : v.adicValuation.IsTrivialOn K
AlgebraicCurve.Place.exists_ord_eq_one
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem exists_ord_eq_one : ∃ t : F, v.ord t = 1
AlgebraicCurve.Place.min_ord_le_ord_add
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem min_ord_le_ord_add {f g : F} (hf : f ≠ 0) (hg : g ≠ 0) (hfg : f + g ≠ 0) :
    min (v.ord f) (v.ord g) ≤ v.ord (f + g)
AlgebraicCurve.Place.ord_add_eq_of_lt
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem ord_add_eq_of_lt {f g : F} (hf : f ≠ 0) (hg : g ≠ 0)
    (h : v.ord f < v.ord g) : v.ord (f + g) = v.ord f
AlgebraicCurve.Place.ord_algebraMap
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem ord_algebraMap (c : K) : v.ord (algebraMap K F c) = 0
AlgebraicCurve.Place.ord_nonneg_of_mem
Source context 4 commands

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

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

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem mem_iff_ord_nonneg {f : F} (hf : f ≠ 0) :
    f ∈ v.toValuationSubring ↔ 0 ≤ v.ord f
AlgebraicCurve.Place.mem_of_ord_nonneg
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem mem_of_ord_nonneg {f : F} (hf : f ≠ 0) (h : 0 ≤ v.ord f) :
    f ∈ v.toValuationSubring
AlgebraicCurve.Place.mem_toValuationSubring_of_ord_nonneg

Nonnegative order implies integrality, including the zero element.

Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem mem_toValuationSubring_of_ord_nonneg {f : F} (h : 0 ≤ v.ord f) :
    f ∈ v.toValuationSubring
AlgebraicCurve.Place.mk_mem_maximalIdeal_iff_eq_zero_or_ord_pos
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem mk_mem_maximalIdeal_iff_eq_zero_or_ord_pos {f : F} (hf : f ∈ v.toValuationSubring) :
    (⟨f, hf⟩ : v.toValuationSubring) ∈ IsLocalRing.maximalIdeal v.toValuationSubring
      ↔ f = 0 ∨ 0 < v.ord f
AlgebraicCurve.Place.ord_natCast
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem ord_natCast (n : ℕ) : v.ord (n : F) = 0
AlgebraicCurve.Place.ord_smul_of_ne_zero
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place
open IsDedekindDomain WithZero IsLocalRing
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem ord_smul_of_ne_zero {c : K} (hc : c ≠ 0) (x : F) : v.ord (c • x) = v.ord x