Module

SeparableAdjoinOrdNeZeroCastNatAbsNeZero.lean

Nyll.AlgebraicCurves.Places.Orders.SeparableAdjoinOrdNeZeroCastNatAbsNeZero
4 declarations indexed from sourceView source ↗

Place is Separable adjoin of ord ne zero of cast nat Abs ne zero

Declarations

AlgebraicCurves.Places.Proofs.Place_isSeparable_adjoin_of_ord_ne_zero_of_cast_natAbs_ne_zero.AlgebraicCurve.SEPEngine.not_pow_of_cast_natAbs_ord_ne_zero
Source context 13 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_isSeparable_adjoin_of_ord_ne_zero_of_cast_natAbs_ne_zero
attribute [-instance]
  instIsPrimeCenter
  instIsFractionRingIntegralClosureAt
  instIsTorsionFreeSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
  instIsDedekindDomainIntegralClosureAt
  instFiniteSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
  AlgebraicCurve.instFundamentalIdentityOfSumRamificationInertia
  instIsScalarTowerResidueFieldRestrictPushforward
  instAlgebraResidueFieldRestrictPushforward
  instIsLocalHomRestrictInclusion
attribute [-simp] AlgebraicCurve.Place.placeOfPrime_toValuationSubring
  AlgebraicCurve.Place.mem_fiberOver AlgebraicCurve.Place.fiberEquiv_symm_apply
  AlgebraicCurve.Place.fiberEquiv_apply AlgebraicCurve.Place.centerHeightOneSpectrum_asIdeal
  AlgebraicCurve.Divisor.mapRestrict_single AlgebraicCurve.Divisor.pushforward_single
  AlgebraicCurve.Place.coe_restrictInclusion AlgebraicCurve.Place.mem_fiber
  AlgebraicCurve.Place.restrict_toValuationSubring AlgebraicCurve.Divisor.degree_pushforward
  AlgebraicCurve.Place.restrictResidueMap_residue AlgebraicCurve.Pic0.coe_pushforwardDegZeroHom
  AlgebraicCurve.Pic0.coe_pullbackDegZeroHom
noncomputable section
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace SEPEngine
open _root_.AlgebraicCurve
open KaehlerDifferential IntermediateField
open _root_.AlgebraicCurve (frobeniusSubfield)
theorem not_pow_of_cast_natAbs_ord_ne_zero {K F : Type*} [Field K] [Field F] [Algebra K F]
    (v : AlgebraicCurve.Place K F) {t : F} {p : ℕ} [CharP K p]
    (htame : (((v.ord t).natAbs : ℕ) : K) ≠ 0) (a : F) :
    a ^ p ≠ t
AlgebraicCurves.Places.Proofs.Place_isSeparable_adjoin_of_ord_ne_zero_of_cast_natAbs_ne_zero.AlgebraicCurve.SEPEngine.D_pow_eq_zero
Source context 13 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_isSeparable_adjoin_of_ord_ne_zero_of_cast_natAbs_ne_zero
attribute [-instance]
  instIsPrimeCenter
  instIsFractionRingIntegralClosureAt
  instIsTorsionFreeSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
  instIsDedekindDomainIntegralClosureAt
  instFiniteSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
  AlgebraicCurve.instFundamentalIdentityOfSumRamificationInertia
  instIsScalarTowerResidueFieldRestrictPushforward
  instAlgebraResidueFieldRestrictPushforward
  instIsLocalHomRestrictInclusion
attribute [-simp] AlgebraicCurve.Place.placeOfPrime_toValuationSubring
  AlgebraicCurve.Place.mem_fiberOver AlgebraicCurve.Place.fiberEquiv_symm_apply
  AlgebraicCurve.Place.fiberEquiv_apply AlgebraicCurve.Place.centerHeightOneSpectrum_asIdeal
  AlgebraicCurve.Divisor.mapRestrict_single AlgebraicCurve.Divisor.pushforward_single
  AlgebraicCurve.Place.coe_restrictInclusion AlgebraicCurve.Place.mem_fiber
  AlgebraicCurve.Place.restrict_toValuationSubring AlgebraicCurve.Divisor.degree_pushforward
  AlgebraicCurve.Place.restrictResidueMap_residue AlgebraicCurve.Pic0.coe_pushforwardDegZeroHom
  AlgebraicCurve.Pic0.coe_pullbackDegZeroHom
noncomputable section
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace SEPEngine
open _root_.AlgebraicCurve
open KaehlerDifferential IntermediateField
open _root_.AlgebraicCurve (frobeniusSubfield)
theorem D_pow_eq_zero {E M : Type*} [CommRing E] [CommRing M]
    [Algebra E M] (p : ℕ) [Fact p.Prime] [CharP M p] (a : M) :
    D E M (a ^ p) = 0
AlgebraicCurves.Places.Proofs.Place_isSeparable_adjoin_of_ord_ne_zero_of_cast_natAbs_ne_zero.AlgebraicCurve.SEPEngine.isSeparable_of_not_pow_mem_range
Source context 13 commands

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

@[expose] public section
section ProofImplementation
namespace AlgebraicCurves.Places.Proofs
namespace Place_isSeparable_adjoin_of_ord_ne_zero_of_cast_natAbs_ne_zero
attribute [-instance]
  instIsPrimeCenter
  instIsFractionRingIntegralClosureAt
  instIsTorsionFreeSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
  instIsDedekindDomainIntegralClosureAt
  instFiniteSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
  AlgebraicCurve.instFundamentalIdentityOfSumRamificationInertia
  instIsScalarTowerResidueFieldRestrictPushforward
  instAlgebraResidueFieldRestrictPushforward
  instIsLocalHomRestrictInclusion
attribute [-simp] AlgebraicCurve.Place.placeOfPrime_toValuationSubring
  AlgebraicCurve.Place.mem_fiberOver AlgebraicCurve.Place.fiberEquiv_symm_apply
  AlgebraicCurve.Place.fiberEquiv_apply AlgebraicCurve.Place.centerHeightOneSpectrum_asIdeal
  AlgebraicCurve.Divisor.mapRestrict_single AlgebraicCurve.Divisor.pushforward_single
  AlgebraicCurve.Place.coe_restrictInclusion AlgebraicCurve.Place.mem_fiber
  AlgebraicCurve.Place.restrict_toValuationSubring AlgebraicCurve.Divisor.degree_pushforward
  AlgebraicCurve.Place.restrictResidueMap_residue AlgebraicCurve.Pic0.coe_pushforwardDegZeroHom
  AlgebraicCurve.Pic0.coe_pullbackDegZeroHom
noncomputable section
namespace AlgebraicCurve
open _root_.AlgebraicCurve
namespace SEPEngine
open _root_.AlgebraicCurve
open KaehlerDifferential IntermediateField
open _root_.AlgebraicCurve (frobeniusSubfield)
theorem isSeparable_of_not_pow_mem_range {E M : Type*} [Field E] [Field M]
    [Algebra E M] (p : ℕ) [hp : Fact p.Prime] [CharP M p]
    [FiniteDimensional E M]
    (hfr : haveI : ExpChar M p := ExpChar.prime hp.out
      Module.finrank (frobeniusSubfield M p) M = p)
    {t : M} (htE : t ∈ (algebraMap E M).range) (htp : ∀ a : M, a ^ p ≠ t) :
    Algebra.IsSeparable E M := by
  have : ExpChar M p := ExpChar.prime hp.out
  obtain ⟨tE, rfl⟩ := htE
  have hDt : D E M (algebraMap E M tE) = 0 := (D E M).map_algebraMap tE
  have hDzero : ∀ m : M, D E M m = 0 := by
    intro m
    obtain ⟨a, rfl⟩ := pDigits_exists_of_finrank_eq p hfr htp m
    rw [map_sum]
    refine Finset.sum_eq_zero fun i _ ↦ ?_
    rw [Derivation.leibniz, D_pow_eq_zero p (a i),
      smul_zero, add_zero, Derivation.leibniz_pow, hDt, smul_zero,
      ← Nat.cast_smul_eq_nsmul M, smul_zero, smul_zero]
  have hsubsingleton : Subsingleton (Ω[M⁄E]) := by
    refine ⟨fun ω₁ ω₂ ↦ ?_⟩
    have htop : (⊤ : Submodule M (Ω[M⁄E])) = ⊥ := by
      rw [← KaehlerDifferential.span_range_derivation, Submodule.span_eq_bot]
      rintro _ ⟨m, rfl⟩; exact hDzero m
    have h1 : ω₁ ∈ (⊥ : Submodule M (Ω[M⁄E])) := htop ▸ Submodule.mem_top
    have h2 : ω₂ ∈ (⊥ : Submodule M (Ω[M⁄E])) := htop ▸ Submodule.mem_top
    rw [Submodule.mem_bot] at h1 h2; rw [h1, h2]
  have : Algebra.FormallyUnramified E M := ⟨hsubsingleton⟩
  exact Algebra.FormallyUnramified.isSeparable E M
AlgebraicCurve.Place.isSeparable_adjoin_of_ord_ne_zero_of_cast_natAbs_ne_zero
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_isSeparable_adjoin_of_ord_ne_zero_of_cast_natAbs_ne_zero
attribute [-instance]
  instIsPrimeCenter
  instIsFractionRingIntegralClosureAt
  instIsTorsionFreeSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
  instIsDedekindDomainIntegralClosureAt
  instFiniteSubtypeMemValuationSubringToValuationSubringIntegralClosureAt
  AlgebraicCurve.instFundamentalIdentityOfSumRamificationInertia
  instIsScalarTowerResidueFieldRestrictPushforward
  instAlgebraResidueFieldRestrictPushforward
  instIsLocalHomRestrictInclusion
attribute [-simp] AlgebraicCurve.Place.placeOfPrime_toValuationSubring
  AlgebraicCurve.Place.mem_fiberOver AlgebraicCurve.Place.fiberEquiv_symm_apply
  AlgebraicCurve.Place.fiberEquiv_apply AlgebraicCurve.Place.centerHeightOneSpectrum_asIdeal
  AlgebraicCurve.Divisor.mapRestrict_single AlgebraicCurve.Divisor.pushforward_single
  AlgebraicCurve.Place.coe_restrictInclusion AlgebraicCurve.Place.mem_fiber
  AlgebraicCurve.Place.restrict_toValuationSubring AlgebraicCurve.Divisor.degree_pushforward
  AlgebraicCurve.Place.restrictResidueMap_residue AlgebraicCurve.Pic0.coe_pushforwardDegZeroHom
  AlgebraicCurve.Pic0.coe_pullbackDegZeroHom
noncomputable section
open _root_.AlgebraicCurve AlgebraicCurve AlgebraicCurve.SEPEngine IntermediateField in
open scoped IntermediateField in
theorem _root_.AlgebraicCurve.Place.isSeparable_adjoin_of_ord_ne_zero_of_cast_natAbs_ne_zero
    {K F : Type*} [Field K] [Field F] [Algebra K F] [PerfectField K] (x : F)
    [Algebra.IsAlgebraic (IntermediateField.adjoin K ({x} : Set F)) F]
    (v : AlgebraicCurve.Place K F) {t : F} (ht : v.ord t ≠ 0) (htame : (((v.ord t).natAbs : ℕ) : K)
      ≠ 0) :
    Algebra.IsSeparable (IntermediateField.adjoin K ({t} : Set F)) F