Module

ConstantFieldExtension.lean

Nyll.AlgebraicCurves.Places.ConstantExtension.ConstantFieldExtension
22 declarations indexed from sourceView source ↗

Integral coefficient evaluations for constant-field extensions

The coefficient evaluation, its integral subring, and denominator clearing are shared by the algebraically closed and degree-one place-extension proofs.

Declarations

AlgebraicCurve.Place.ConstantFieldExtension.ord_nonneg_of_mem
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Basic
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.ConstantFieldExtension.ord_eq_zero_of_mem_of_inv_mem
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Basic
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem ord_eq_zero_of_mem_of_inv_mem {f : F} (h1 : f ∈ v.toValuationSubring)
    (h2 : f⁻¹ ∈ v.toValuationSubring) : v.ord f = 0
AlgebraicCurve.Place.ConstantFieldExtension.one_le_ord_of_mem_of_inv_not_mem
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Basic
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem one_le_ord_of_mem_of_inv_not_mem {f : F} (h1 : f ∈ v.toValuationSubring)
    (h2 : f⁻¹ ∉ v.toValuationSubring) : 1 ≤ v.ord f
AlgebraicCurve.Place.ConstantFieldExtension.mem_iff_ord_nonneg
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Basic
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem mem_iff_ord_nonneg (f : F) : f ∈ v.toValuationSubring ↔ 0 ≤ v.ord f
AlgebraicCurve.Place.ConstantFieldExtension.ord_algebraMap_eq_zero
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Basic
variable {K F : Type*} [Field K] [Field F] [Algebra K F] (v : Place K F)
theorem ord_algebraMap_eq_zero {L : Type*} [Field L] [Algebra F L] {K' : Type*} [Field K']
    [Algebra K' L] (w : Place K' L) {f : F}
    (h1 : algebraMap F L f ∈ w.toValuationSubring)
    (h2 : algebraMap F L f⁻¹ ∈ w.toValuationSubring) : w.ord (algebraMap F L f) = 0
AlgebraicCurve.Place.ConstantFieldExtension.Psi

The additive map summing the chosen basis elements with coefficients from the valuation subring.

Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
def Psi : (ι →₀ P.toValuationSubring) →+ F'
AlgebraicCurve.Place.ConstantFieldExtension.Psi_single
Source context 5 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
omit [Algebra K F'] [IsScalarTower K K' F'] [IsScalarTower K F F'] in
theorem Psi_single (j : ι) (o : P.toValuationSubring) :
    Psi F' B P (Finsupp.single j o) = algebraMap K' F' (B j) * algebraMap F F' (o : F)
AlgebraicCurve.Place.ConstantFieldExtension.Psi_apply
Source context 5 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
omit [Algebra K F'] [IsScalarTower K K' F'] [IsScalarTower K F F'] in
theorem Psi_apply (w : ι →₀ P.toValuationSubring) :
    Psi F' B P w = w.sum fun j o => algebraMap K' F' (B j) * algebraMap F F' (o : F) := by
  rw [Psi, Finsupp.liftAddHom_apply]
  rfl
AlgebraicCurve.Place.ConstantFieldExtension.Psi_smul
Source context 5 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
omit [Algebra K F'] [IsScalarTower K K' F'] [IsScalarTower K F F'] in
theorem Psi_smul (s : P.toValuationSubring) (w : ι →₀ P.toValuationSubring) :
    Psi F' B P (s • w) = algebraMap F F' (s : F) * Psi F' B P w
AlgebraicCurve.Place.ConstantFieldExtension.pureW

The valuation-ring coefficient vector associated to a constant-field element and an integral factor.

Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
def pureW (d : K') (o : P.toValuationSubring) : ι →₀ P.toValuationSubring
AlgebraicCurve.Place.ConstantFieldExtension.Psi_pureW
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
theorem Psi_pureW (d : K') (o : P.toValuationSubring) :
    Psi F' B P (pureW B P d o) = algebraMap K' F' d * algebraMap F F' (o : F)
AlgebraicCurve.Place.ConstantFieldExtension.Psi_mul_mem_range
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
theorem Psi_mul_mem_range (w₁ w₂ : ι →₀ P.toValuationSubring) :
    ∃ w, Psi F' B P w = Psi F' B P w₁ * Psi F' B P w₂
AlgebraicCurve.Place.ConstantFieldExtension.rangePsi

The subring formed by the values of the coefficient evaluation map.

Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
def rangePsi : Subring F' where
  carrier := Set.range (Psi F' B P)
  mul_mem' := by
    rintro _ _ ⟨w₁, rfl⟩ ⟨w₂, rfl⟩
    exact Psi_mul_mem_range F' B P w₁ w₂
  one_mem' := ⟨pureW B P 1 1, by
    rw [Psi_pureW, OneMemClass.coe_one, map_one, map_one, mul_one]⟩
  add_mem' := by
    rintro _ _ ⟨w₁, rfl⟩ ⟨w₂, rfl⟩
    exact ⟨w₁ + w₂, map_add _ _ _⟩
  zero_mem' := ⟨0, map_zero _⟩
  neg_mem' := by
    rintro _ ⟨w, rfl⟩
    exact ⟨-w, map_neg _ _⟩
AlgebraicCurve.Place.ConstantFieldExtension.mem_rangePsi_iff
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
theorem mem_rangePsi_iff {y : F'} : y ∈ rangePsi F' B P ↔ ∃ w, Psi F' B P w = y
AlgebraicCurve.Place.ConstantFieldExtension.algebraMap_mem_rangePsi
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
theorem algebraMap_mem_rangePsi (d : K') : algebraMap K' F' d ∈ rangePsi F' B P
AlgebraicCurve.Place.ConstantFieldExtension.algebraMap_coe_mem_rangePsi
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
theorem algebraMap_coe_mem_rangePsi (o : P.toValuationSubring) :
    algebraMap F F' (o : F) ∈ rangePsi F' B P
AlgebraicCurve.Place.ConstantFieldExtension.Psi_mem
Source context 5 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
omit [Algebra K F'] [IsScalarTower K K' F'] [IsScalarTower K F F'] in
theorem Psi_mem {S : Type*} [SetLike S F'] [SubringClass S F'] (V : S)
    (hK : ∀ d : K', algebraMap K' F' d ∈ V)
    (hO : ∀ o : P.toValuationSubring, algebraMap F F' (o : F) ∈ V)
    (w : ι →₀ P.toValuationSubring) : Psi F' B P w ∈ V
AlgebraicCurve.Place.ConstantFieldExtension.fracPsi

Elements expressible by the coefficient evaluation map after clearing a nonzero integral denominator.

Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
def fracPsi : Subalgebra K' F' where
  carrier := {y | ∃ w, ∃ s : P.toValuationSubring, (s : F) ≠ 0 ∧
    y * algebraMap F F' (s : F) = Psi F' B P w}
  mul_mem' := by
    rintro y₁ y₂ ⟨w₁, s₁, hs₁, h₁⟩ ⟨w₂, s₂, hs₂, h₂⟩
    obtain ⟨w, hw⟩ := Psi_mul_mem_range F' B P w₁ w₂
    refine ⟨w, s₁ * s₂, by rw [MulMemClass.coe_mul]; exact mul_ne_zero hs₁ hs₂, ?_⟩
    rw [hw, ← h₁, ← h₂, MulMemClass.coe_mul, map_mul]
    ring
  one_mem' := ⟨pureW B P 1 1, 1, one_ne_zero, by
    simp only [Psi_pureW, OneMemClass.coe_one, map_one, one_mul]⟩
  add_mem' := by
    rintro y₁ y₂ ⟨w₁, s₁, hs₁, h₁⟩ ⟨w₂, s₂, hs₂, h₂⟩
    refine ⟨s₂ • w₁ + s₁ • w₂, s₁ * s₂, by rw [MulMemClass.coe_mul]; exact mul_ne_zero hs₁ hs₂, ?_⟩
    rw [map_add, Psi_smul, Psi_smul, ← h₁, ← h₂, MulMemClass.coe_mul, map_mul]
    ring
  zero_mem' := ⟨0, 1, one_ne_zero, by rw [zero_mul, map_zero]⟩
  algebraMap_mem' d := ⟨pureW B P d 1, 1, one_ne_zero, by rw [Psi_pureW]⟩
AlgebraicCurve.Place.ConstantFieldExtension.mem_fracPsi_iff
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
theorem mem_fracPsi_iff {y : F'} : y ∈ fracPsi F' B P ↔ ∃ w, ∃ s : P.toValuationSubring,
    (s : F) ≠ 0 ∧ y * algebraMap F F' (s : F) = Psi F' B P w
AlgebraicCurve.Place.ConstantFieldExtension.algebraMap_mem_fracPsi
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
theorem algebraMap_mem_fracPsi (f : F) : algebraMap F F' f ∈ fracPsi F' B P
AlgebraicCurve.Place.ConstantFieldExtension.exists_mul_Psi_eq
Source context 4 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
section Psi
variable {K F K' : Type*} (F' : Type*) [Field K] [Field F] [Field K'] [Field F']
  [Algebra K F] [Algebra K' F'] [Algebra K K'] [Algebra F F'] [Algebra K F']
  [IsScalarTower K K' F'] [IsScalarTower K F F']
  {ι : Type*} (B : Module.Basis ι K K') (P : Place K F)
theorem exists_mul_Psi_eq (hgen : IntermediateField.adjoin K' (Set.range (algebraMap F F')) = ⊤)
    {z : F'} (hz : z ≠ 0) :
    ∃ w₁ w₂, Psi F' B P w₂ ≠ 0 ∧ z * Psi F' B P w₂ = Psi F' B P w₁
AlgebraicCurve.Place.ConstantFieldExtension.ne_zero_and_inv_mem_of_add
Source context 2 commands

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

@[expose] public section
namespace AlgebraicCurve.Place.ConstantFieldExtension
theorem ne_zero_and_inv_mem_of_add {L : Type*} [Field L] (V : ValuationSubring L) {a m p : L}
    (ha : a ∈ V) (hai : a⁻¹ ∈ V) (ha0 : a ≠ 0) (hm : m ∈ V) (hp : p ∈ V) (hpi : p⁻¹ ∉ V) :
    a + p * m ≠ 0 ∧ (a + p * m)⁻¹ ∈ V