FLT/KnownIn1980s/EllipticCurves/Flat.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Pinned FLT blueprint introduction
3 declarations, 3 contain sorry, 0 declared as axioms
Good reduction implies flat torsion
Let E be an elliptic curve over the field of fractions K of a discrete valuation
ring R, suppose that E has good reduction over R, and let n ≥ 1 be a natural
number. Then the n-torsion of E "is a finite flat group scheme": the Galois module
E(Kˢᵉᵖ)[n] is, Galois-equivariantly, the group of Kˢᵉᵖ-points of the generic fibre
of a finite flat group scheme over R.
Mathlib has no group schemes, so we speak throughout of the (commutative) Hopf algebra
of functions on the group scheme instead: the statement below produces a commutative
Hopf algebra H over R, finite and flat as an R-module (R is a DVR, so this
says finite free; over a general base the right condition is finite locally free),
together with a Galois-equivariant isomorphism of groups from the Kˢᵉᵖ-points
K ⊗[R] H →ₐ[K] Kˢᵉᵖ of its generic fibre (a group under convolution, K ⊗[R] H
being a Hopf algebra over K) to the n-torsion subgroup of E(Kˢᵉᵖ).
Mathematical discussion: what is the correct generality?
Good reduction means that the minimal Weierstrass equation of E has unit discriminant
over R, so it defines an elliptic scheme (an abelian scheme of relative dimension 1)
𝓔 over R with generic fibre E. Multiplication by n on an elliptic scheme is a
finite locally free morphism of degree n² for every n ≥ 1 [Katz–Mazur, Arithmetic
moduli of elliptic curves, Theorem 2.3.1], so its kernel 𝓔[n] is a finite flat group
scheme over R of order n² with generic fibre E[n]. This is the robust form of the
statement: it holds for every n over any DVR (indeed over any base scheme), in every
characteristic.
The statement formalised below is instead about the Galois module E(Kˢᵉᵖ)[n], because
mathlib cannot yet express E[n] as a group scheme. How the two statements compare
depends on whether n is invertible in K:
If
nis invertible inKthenE[n]is a finite étale group scheme overKof ordern². It is therefore determined by its Galois module ofKˢᵉᵖ-points, which is free of rank 2 overℤ/nℤ, and the statement below carries the full content of the group-scheme statement.If
Khas characteristicpandp ∣ nthenE[n]is not étale, andE(Kˢᵉᵖ)[n]sees only its maximal étale quotient (forn = p: a group of orderpif the reduction is ordinary and of order1if it is supersingular). The statement below should still be true — forHone can take the Cartier dual of the schematic closure in𝓔[n]of the Cartier dual of the maximal étale quotient ofE[n]— but it is strictly weaker than flatness ofE[n]itself. The honest statement in this case is the group-scheme statement of the previous paragraph, which cannot yet be formalised.
Which values of n make flatness interesting? Let p denote the characteristic of the
residue field of R.
If
nis invertible in the residue field then the conclusion is equivalent to the Galois moduleE(Kˢᵉᵖ)[n]being unramified, which is the statement ofFLT.KnownIn1980s.EllipticCurves.GoodReduction. Indeed, the order of a finite flat group scheme kills its module of invariant differentials [Tate, Finite flat group schemes, in Modular forms and Fermat's Last Theorem], so a finite flat group scheme overRwhose order is invertible inRis unramified overR, hence finite étale; and finite étale group schemes overRare the same thing as unramified Galois modules, via normalization. In particular "unramified implies flat" holds for any finite abelian Galois module of order invertible in the residue field, for reasons having nothing to do with elliptic curves.The interesting case is therefore
p > 0andp ∣ n, where flatness is genuinely stronger than anything expressible via ramification: forKof characteristic zero (e.g. a finite extension ofℚ_p) andn = p, this is the sense in which "ρis flat atp" is used for modprepresentations in [Serre, Sur les représentations modulaires de degré 2 de Gal(ℚ̄/ℚ), Duke Math. J. 54 (1987), §2.8] and in the modularity lifting literature, and it matches the definitionGaloisRep.IsFlatAtinFLT.Deformations.RepresentationTheory.GaloisRep(stated there for number fields; the theorem below is the local statement feeding into it). Note that flat does not imply unramified here: thep-torsion of a curve with good reduction is flat but in general highly ramified atp.
The Algebra.Etale K (K ⊗[R] H) condition below pins down the generic fibre as the
finite étale group scheme attached to the Galois module E(Kˢᵉᵖ)[n] (in particular it
forces the R-rank of H to equal the number of n-torsion points). It is automatic
when K has characteristic zero, by Cartier's theorem that finite group schemes in
characteristic zero are étale, and it is what makes the equivalence "flat ⟺ unramified"
above honest; compare the corresponding condition in GaloisRep.HasFlatProlongationAt.
TODO
FLT.GroupScheme.FiniteFlatplans a definition of what it means for an action ofGal(Kˢᵉᵖ/K)on a finite abelian group to be flat, forKthe field of fractions of a DVR. Once that definition exists, the conclusion below should be refactored to "the Galois moduleE(Kˢᵉᵖ)[n]is flat".Once
E[n]can be expressed as a group scheme (equivalently, once its Hopf algebra of functions is available), state the stronger result thatE[n]itself, not just its Galois module of points, prolongs to a finite flat group scheme overR; as explained above, this is insensitive to the characteristic ofK.Prove the division polynomial lemmas at the bottom of this file (
WeierstrassCurve.resultant_Φ_ΨSqandWeierstrassCurve.isCoprime_Φ_ΨSq), which isolate the arithmetic input to the theorem as a purely polynomial statement.
Imports (7)
Imported by 1 file
- theorem
WeierstrassCurve.torsion_flat_of_good_reductionDocumented declaration: torsion_flat_of_good_reduction sorry line 144 sourceSource documentation
If
Eis an elliptic curve over the field of fractionsKof a discrete valuation ringRwith good reduction overR, then then-torsion ofEis a finite flat group scheme: there is a commutative Hopf algebraHoverR, finite and flat as anR-module, whose generic fibreK ⊗[R] His étale overKand whose group ofKˢᵉᵖ-points (a group under convolution) is isomorphic, compatibly with the actions ofGal(Kˢᵉᵖ/K)on the two sides, to then-torsion subgroup ofE(Kˢᵉᵖ).depends on sorry what this means
Statement uses:
CommRing,IsDomain,IsDiscreteValuationRing,Field,Algebra,IsFractionRing,WeierstrassCurve,WeierstrassCurve.IsElliptic,WeierstrassCurve.HasGoodReduction,Nat,NeZero,IsSepClosure,DecidableEq,Exists,HopfAlgebra,Module.Finite,Module.Flat,Algebra.Etale,TensorProduct,AddEquivand 18 moreProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat87 instances, coercions and auxiliary constants left out.
theorem WeierstrassCurve.torsion_flat_of_good_reduction : -- There is a commutative Hopf algebra H over R (the functions on a group scheme over R), ∃ (H : Type u) (_ : CommRing H) (_ : HopfAlgebra R H) -- finite and flat as an R-module (so the group scheme is finite flat), (_ : Module.Finite R H) (_ : Module.Flat R H) -- whose generic fibre K ⊗[R] H is étale over K, (_ : Algebra.Etale K (K ⊗[R] H)) -- together with an isomorphism of groups from the Kˢᵉᵖ-points of the generic fibre -- (a group under convolution, because K ⊗[R] H is a Hopf algebra over K) -- to the n-torsion subgroup of E(Kˢᵉᵖ), (f : Additive (WithConv (K ⊗[R] H →ₐ[K] Ksep)) ≃+ AddSubgroup.torsionBy (E⁄Ksep).Point (n : ℤ)), … - theorem
WeierstrassCurve.resultant_Φ_ΨSqThe resultant of the division polynomialsΦ n(taken with degreen²) andΨSq n(taken with degreen² - 1) is±Δ ^ ((n⁴ - n²)/6)sorry line 223 sourceSource documentation
The resultant of the division polynomials
Φ n(taken with degreen²) andΨSq n(taken with degreen² - 1) is±Δ ^ ((n⁴ - n²)/6). The sign presumably depends onnand on the conventions inPolynomial.resultant; whoever proves this should pin it down and upgrade the statement.depends on sorry what this means
Statement uses:
CommRing,WeierstrassCurve,Int,Ne,OfNat.ofNat,Or,Eq,Polynomial.resultant,WeierstrassCurve.Φ,WeierstrassCurve.ΨSq,HPow.hPow,Nat,Int.natAbs,HSub.hSub,WeierstrassCurve.Δ,HDiv.hDiv,Neg.negProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous40 instances, coercions and auxiliary constants left out.
theorem WeierstrassCurve.resultant_Φ_ΨSq {R₀ : Type*} [CommRing R₀] (W : WeierstrassCurve R₀) {n : ℤ} (hn : n ≠ 0) : (W.Φ n).resultant (W.ΨSq n) (n.natAbs ^ 2) (n.natAbs ^ 2 - 1) = W.Δ ^ ((n.natAbs ^ 4 - n.natAbs ^ 2) / 6) ∨ (W.Φ n).resultant (W.ΨSq n) (n.natAbs ^ 2) (n.natAbs ^ 2 - 1) = -W.Δ ^ ((n.natAbs ^ 4 - n.natAbs ^ 2) / 6) := … - theorem
WeierstrassCurve.isCoprime_Φ_ΨSqDocumented declaration: isCoprime_Φ_ΨSq sorry line 238 sourceSource documentation
If the discriminant of a Weierstrass curve over a commutative ring is a unit then the division polynomials
Φ nandΨSq nare coprime, i.e. there is a Bézout identityF * Φ n + G * ΨSq n = 1. This is the form of the resultant identity that the applications consume. It follows fromresultant_Φ_ΨSq, because the resultant lies in the ideal generated by the two polynomials and is a unit here; note also that it is stable under base change, so it suffices to prove it for the universal Weierstrass curve overℤ[a₁, …, a₆][Δ⁻¹].depends on sorry what this means
Statement uses:
CommRing,WeierstrassCurve,Int,Ne,OfNat.ofNat,IsUnit,WeierstrassCurve.Δ,IsCoprime,Polynomial,WeierstrassCurve.Φ,WeierstrassCurve.ΨSqProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,Nat11 instances, coercions and auxiliary constants left out.
theorem WeierstrassCurve.isCoprime_Φ_ΨSq {R₀ : Type*} [CommRing R₀] (W : WeierstrassCurve R₀) {n : ℤ} (hn : n ≠ 0) (hΔ : IsUnit W.Δ) : IsCoprime (W.Φ n) (W.ΨSq n) := …