Fermat's Last Theorem in Lean 4

← all definition modules

Definitions/Def_ModularCurve_EigenformIdeal.lean

definition module

Eigenform ideals of the free Hecke algebra

Throughout, the Hecke algebra is taken to be the free commutative ring HeckeAlg =\mathbb{Z}[T_\ell : \ell \text{ prime}] (a multivariate polynomial ring indexed by Nat.Primes, with T_\ell = heckeGen \ell the corresponding variable), and for a family of elements a_\ell of a commutative ring eigenIdeal a is the kernel of the evaluation homomorphism T_\ell \mapsto a_\ell. The first definition, ModularCurve.IsEigenformIdeal N 𝔪, asserts that an ideal \mathfrak m \subseteq \mathbb{Z}[T_\ell] arises from a normalised weight-2 eigenform on \Gamma_0(N) reduced to a finite field: there exist a cusp form f of weight 2 for CongruenceSubgroup.Gamma0 N, a proof that f satisfies CuspForm.IsNormalizedEigenform (a structure whose fields are identities among the q-expansion coefficients a_n(f) = qCoeff f n: a_1 = 1, multiplicativity a_{mn} = a_m a_n for coprime m,n, the recursion a_{p^{r+2}} = a_p a_{p^{r+1}} - p\,a_{p^r} for p \nmid N and a_{p^{r+2}} = a_p a_{p^{r+1}} for p \mid N — so the eigenform condition is formulated purely through coefficients, not through Hecke operators), a finite field k, a subring \mathcal O \subseteq \mathbb{C} containing a_\ell(f) for every prime \ell, and a ring homomorphism \varphi : \mathcal O \to k, such that \mathfrak m is the eigenvalue ideal of the system \ell \mapsto \varphi(a_\ell(f)). The subring \mathcal O and the map \varphi are part of the existential data; no comparison between \mathbb{Z}[T_\ell] and the Hecke algebra acting on S_2(\Gamma_0(N)) is asserted.

The remaining two declarations instantiate generic predicates with this notion of eigenform ideal. EigenformSupportAt N p J, for an abelian group J with a HeckeAlg-module structure, says: every ideal \mathfrak m which is an eigenform ideal of level N and contains p has nonzero \mathfrak m-torsion in J (the submodule annihilated by all of \mathfrak m is not \bot). EichlerShimuraDataAt N p J, for a field extension L/K and J carrying both a HeckeAlg-module structure and an action of L \simeq_{\mathrm{alg}[K]} L, is the bundled conjunction of three clauses: (i) for every prime \ell \nmid Np, every valuation subring A of L with \ell a nonunit of A, every \sigma in the inertia subgroup of A over K and every p-power-torsion x \in J, one has \sigma \cdot x = x; (ii) for such \ell and A and every \sigma that is a Frobenius at \ell for A (in the decomposition group and inducing x \mapsto x^\ell on the residue field), the Eichler–Shimura relation \sigma^2 x - T_\ell \cdot (\sigma x) + \ell\, x = 0 holds for all p-power-torsion x; (iii) EigenformSupportAt N p J. This is the reduced bundle: the determinant clause on Frobenius and the multiplicity-one conditions available in the same family of definitions are not among its fields.

Relation to Mathlib

Mathlib supplies the cusp forms, congruence subgroups and q-expansions used here, and the valuation-theoretic inertia and decomposition subgroups, but no Hecke operators on modular forms and no Hecke algebra: HeckeAlg is the project's free polynomial ring on symbols T_\ell, the eigenform condition is expressed by recursions among q-expansion coefficients, and ValuationSubring.LiesOverPrime, ValuationSubring.inertiaSubgroupIn and ValuationSubring.IsFrobeniusAt are the project's own wrappers.

Where it is used

These predicates package the input on the modular side of the argument: a Galois- and Hecke-module J (in practice p-power torsion of a Jacobian) whose \mathfrak m-torsion for an eigenform ideal \mathfrak m is nonzero and on which Frobenius elements away from Np satisfy the Eichler–Shimura quadratic relation, which is what yields the mod p representation attached to a weight-2 eigenform of level \Gamma_0(N) used in the Frey curve, level-lowering and modularity steps.

References

  1. H. Darmon, F. Diamond and R. Taylor, Fermat's Last Theorem, in: Current Developments in Mathematics 1995, International Press, 1995, 1–154, §1
  2. F. Diamond and J. Shurman, A First Course in Modular Forms, Graduate Texts in Mathematics 228, Springer, 2005
  3. G. Shimura, Introduction to the Arithmetic Theory of Automorphic Functions, Princeton University Press, 1971

References are suggested automatically and have not been individually verified.

English text generated automatically from the Lean source; the Lean statement is authoritative.

Source file: Definitions/Def_ModularCurve_EigenformIdeal.lean

Imports

Imported by

Declarations

Source

import Definitions.Def_HeckeGalois_EichlerShimura
import Definitions.Def_FLTPrelim_Modularity

set_option autoImplicit false

noncomputable section

namespace ModularCurve

def IsEigenformIdeal (N : ℕ) (𝔪 : Ideal HeckeAlg) : Prop :=
  ∃ (f : CuspForm (CongruenceSubgroup.Gamma0 N) 2) (_ : f.IsNormalizedEigenform)
    (k : Type) (_ : Field k) (_ : Finite k) (𝒪 : Subring ℂ)
    (h𝒪 : ∀ ℓ : Nat.Primes, ModularFormClass.qCoeff f ℓ ∈ 𝒪) (φ : 𝒪 →+* k),
      𝔪 = eigenIdeal (fun ℓ => φ ⟨ModularFormClass.qCoeff f ℓ, h𝒪 ℓ⟩)

abbrev EigenformSupportAt (N p : ℕ) (J : Type*) [AddCommGroup J] [Module HeckeAlg J] : Prop :=
  EigenformSupport p J (IsEigenformIdeal N)

abbrev EichlerShimuraDataAt {K L : Type*} [Field K] [Field L] [Algebra K L] (N p : ℕ)
    (J : Type*) [AddCommGroup J] [Module HeckeAlg J] [DistribMulAction (L ≃ₐ[K] L) J] :
    Prop :=
  EichlerShimuraDataReduced (K := K) (L := L) N p J (IsEigenformIdeal N)

end ModularCurve

Statements phrased using this module (5)