Module

TraceEqZeroOrNegAddOneLeOrdTrace.lean

Nyll.AlgebraicCurves.Places.NormTrace.TraceEqZeroOrNegAddOneLeOrdTrace
13 declarations indexed from sourceView source ↗

Place trace eq zero or neg add one le ord trace of forall le ord

Declarations

AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.ord_nonneg_of_mem
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Generic
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem ord_nonneg_of_mem (v : Place K F) {f : F} (hf : f ∈ v.toValuationSubring) : 0 ≤ v.ord f
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.mem_of_ord_nonneg
Source context 9 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Generic
variable {K F : Type*} [Field K] [Field F] [Algebra K F]
theorem mem_of_ord_nonneg (v : Place K F) {f : F} (hf : f ≠ 0) (h : 0 ≤ v.ord f) :
    f ∈ v.toValuationSubring
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.instFreeIntegralClosureAt
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
instance instFreeIntegralClosureAt : Module.Free v.toValuationSubring
  (Place.integralClosureAt F' v)
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.conductorIdeal

The extension of the base maximal ideal to the integral closure at the place.

Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
abbrev conductorIdeal : Ideal (Place.integralClosureAt F' v)
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.conductorQuotientAlgebra
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
instance conductorQuotientAlgebra :
    Algebra (ResidueField v.toValuationSubring) (Place.integralClosureAt F' v ⧸ conductorIdeal (F'
      := F') v)
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.instIsScalarTowerConductorQuot
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
instance instIsScalarTowerConductorQuot :
    IsScalarTower v.toValuationSubring (ResidueField v.toValuationSubring)
      (Place.integralClosureAt F' v ⧸ conductorIdeal (F' := F') v)
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.instFiniteConductorQuot
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
instance instFiniteConductorQuot :
    Module.Finite (ResidueField v.toValuationSubring) (Place.integralClosureAt F' v ⧸
      conductorIdeal (F' := F') v)
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.instIsArtinianConductorQuot
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
instance instIsArtinianConductorQuot : IsArtinianRing (Place.integralClosureAt F' v ⧸
  conductorIdeal (F' := F') v)
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.residue_trace_eq_trace_mk
Source context 11 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
omit [Algebra K F'] [IsScalarTower K F F'] in
theorem residue_trace_eq_trace_mk (c : Place.integralClosureAt F' v) :
    residue v.toValuationSubring (Algebra.trace v.toValuationSubring (Place.integralClosureAt F' v)
      c)
      = Algebra.trace (ResidueField v.toValuationSubring) (Place.integralClosureAt F' v ⧸
        conductorIdeal (F' := F') v)
          (Ideal.Quotient.mk (conductorIdeal (F' := F') v) c)
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.not_isField_integralClosureAt
Source context 11 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
omit [Algebra K F'] [IsScalarTower K F F'] [FiniteDimensional F F']
  [Algebra.IsSeparable F F'] in
theorem not_isField_integralClosureAt : ¬ IsField (Place.integralClosureAt F' v)
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.trace_mem_maximalIdeal_of_forall_ord_pos
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
theorem trace_mem_maximalIdeal_of_forall_ord_pos (c : Place.integralClosureAt F' v)
    (hc : ∀ w : Place K F', w.restrict F = v → 0 < w.ord (algebraMap (Place.integralClosureAt F' v)
      F' c)) :
    Algebra.trace v.toValuationSubring (Place.integralClosureAt F' v) c ∈ maximalIdeal
      v.toValuationSubring
AlgebraicCurves.Places.Proofs.Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord.TraceCeil.trace_eq_zero_or_lt_ord_trace
Source context 10 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
namespace TraceCeil
open IsDedekindDomain IsLocalRing
section Fibre
variable {K F F' : Type*} [Field K] [Field F] [Field F'] [Algebra K F] [Algebra K F'] [Algebra F F']
  [IsScalarTower K F F'] [FiniteDimensional F F'] [Algebra.IsSeparable F F']
variable (v : Place K F)
theorem trace_eq_zero_or_lt_ord_trace (z : F') (hz0 : z ≠ 0)
    (hz : ∀ w : Place K F', w.restrict F = v → 0 < w.ord z) :
    Algebra.trace F F' z = 0 ∨ 0 < v.ord (Algebra.trace F F' z)
AlgebraicCurve.Place.trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
Source context 6 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
open AlgebraicCurve
open TraceCeil in
theorem _root_.AlgebraicCurve.Place.trace_eq_zero_or_neg_add_one_le_ord_trace_of_forall_le_ord
    {k F F' : Type*} [Field k] [Field F] [Field F'] [Algebra k F] [Algebra k F'] [IsAlgClosed k]
    [IsCurveOver k F] [IsCurveOver k F']
    (φ : F →ₐ[k] F') (hφ : φ.toRingHom.IsIntegral) (hfin : FiniteAlong k φ) (hsep : SeparableAlong
      k φ)
    (x : Place k F) (S : Finset (Place k F')) (hS : ∀ y : Place k F', y ∈ S ↔ y.restrictAlong φ hφ
      = x)
    (a : ℤ) (g : F') (hg : ∀ y ∈ S, -((Place.ramificationIndexAlong φ y : ℤ) * a) + 1 ≤ y.ord g) :
    letI := AlgebraicCurve.algebraAlong φ;
    Algebra.trace F F' g = 0 ∨ -a + 1 ≤ x.ord (Algebra.trace F F' g) := by
  let := algebraAlong φ
  have := isScalarTower_along φ
  have : Module.Finite F F' := hfin
  have : Algebra.IsSeparable F F' := hsep
  change Algebra.trace F F' g = 0 ∨ -a + 1 ≤ x.ord (Algebra.trace F F' g)
  by_cases htrg : Algebra.trace F F' g = 0
  · exact Or.inl htrg
  right
  have hg0 : g ≠ 0 := by rintro rfl; exact htrg (map_zero _)
  obtain ⟨π, hπ⟩ := IsDiscreteValuationRing.exists_irreducible x.toValuationSubring
  have hπ0 : (π : F) ≠ 0 := by simpa [ne_eq, ZeroMemClass.coe_eq_zero] using hπ.ne_zero
  have hordπ : x.ord (π : F) = 1 := x.ord_coe_irreducible hπ
  set z : F' := algebraMap F F' ((π : F) ^ a) * g with hz_def
  have hta0 : ((π : F) ^ a) ≠ 0 := zpow_ne_zero _ hπ0
  have hta0' : algebraMap F F' ((π : F) ^ a) ≠ 0 := (map_ne_zero (algebraMap F F')).mpr hta0
  have hz0 : z ≠ 0 := mul_ne_zero hta0' hg0
  have hzpos : ∀ w : Place k F', w.restrict F = x → 0 < w.ord z := by
    intro w hw
    have hwS : w ∈ S := (hS w).mpr hw
    have hgw := hg w hwS
    have he : (Place.ramificationIndexAlong φ w : ℤ) = (w.ramificationIndex F : ℤ) := rfl
    rw [he] at hgw
    rw [hz_def, w.ord_mul hta0' hg0, map_zpow₀, w.ord_zpow, w.ord_restrict, hw, hordπ]
    nlinarith [hgw]
  have hlin : Algebra.trace F F' z = (π : F) ^ a * Algebra.trace F F' g := by
    rw [hz_def, ← Algebra.smul_def, map_smul, smul_eq_mul]
  rcases trace_eq_zero_or_lt_ord_trace x z hz0 hzpos with h0 | hpos
  · exfalso
    rw [hlin] at h0
    exact htrg ((mul_eq_zero.mp h0).resolve_left hta0)
  · rw [hlin, x.ord_mul hta0 htrg, x.ord_zpow, hordπ] at hpos
    omega