Title:Modularity conjecture
Statement:The Modularity Theorem (formerly Shimura-Taniyama-Weil conjecture): every elliptic curve over is modular.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.08218 [math.NT] · NS.08218v1 for this version |
| Declaration: | ModularityConjecture.modularity_conjecture |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | e700d4f0899a4c82e8983ec2424653c43ea03f224a8063bb72aaf2fa52bd0d39 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/Wikipedia/ModularityConjecture.lean |
Formal statement
theorem modularity_conjecture (E : WeierstrassCurve ℚ) [E.IsElliptic] : modularityConjecture EShow the full Challenge.lean (97 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Modularity conjecture
The **Modularity conjecture** (also known as the Shimura-Taniyama-Weil conjecture) states that
every rational elliptic curve is modular, meaning that it can be
associated with a modular form. We state the `a_p` version of the conjecture, which relates the
coefficients of the modular form to the number of points on the elliptic curve over finite fields.
Since we don't have the conductor of the elliptic curve, our definition of `a_p(E)` differs from
that in the literature at primes of bad reduction. For this reason, we state the conjecture with the
assumption that `p ∤ N`, in order to give an equivalent statement.
*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Modularity_theorem)
- [F. Diamond and J. Shurman, *A First Course in Modular Forms*](https://doi.org/10.1007/978-0-387-27226-9)
-/
@[expose] public section
namespace ModularityConjecture
open Complex CongruenceSubgroup ModularFormClass ModularityConjecture UpperHalfPlane
open scoped Real ModularForm CongruenceSubgroup
/-- The `n`-th Fourier coefficient of a modular form (around the cusp at infinity). -/
noncomputable def modularFormAn (n : ℕ) {N : ℕ} {k : ℤ} (f : CuspForm (Gamma0 N) k) : ℂ :=
(qExpansion N f).coeff n
local notation:73 "a_[" n:0 "]" f:72 => modularFormAn n f
/-- We need to reduce a rational modulo `p`, in practice we won't be dividing by zero since the
conductor of the elliptic curve saves us. -/
def ratRed (q : ℚ) (p : ℕ) : ZMod p :=
(q.num : ZMod p) * (q.den : ZMod p)⁻¹
/-- The set of points on an elliptic curve over `ZMod n`. -/
def setOfPointsModN (E : WeierstrassCurve ℚ) [E.IsElliptic] (n : ℕ) :=
{P : ZMod n × ZMod n |
let ⟨x, y⟩ := P
y ^ 2 + ratRed E.a₁ n * x * y + ratRed E.a₃ n * y =
x ^ 3 + ratRed E.a₂ n * x ^ 2 + ratRed E.a₄ n * x + ratRed E.a₆ n}
/-- The set of point `mod n` is finite. -/
instance apFintype (E : WeierstrassCurve ℚ) [E.IsElliptic] (p : ℕ+) :
Fintype (setOfPointsModN E p) := by
rw [setOfPointsModN]
apply Subtype.fintype _
/-- Note that normally this is written as `p + 1 - #E(𝔽ₚ)`, but since we don't have a point at
infinity on this affine curve we only have `p`. The trace is integer-valued and can be negative. -/
noncomputable def WeierstrassCurve.ap (E : WeierstrassCurve ℚ) [E.IsElliptic] (p : ℕ) : ℤ :=
(p : ℤ) - Cardinal.toNat (Cardinal.mk (setOfPointsModN E p))
/-- Since we don't have Hecke operators yet, we define this via the q-expansion coefficients. See
Proposition 5.8.5 of [diamondshurman2005]. -/
def IsNormalisedEigenform {N : ℕ} {k : ℤ} (f : CuspForm (Gamma0 N) k) : Prop :=
a_[1]f = 1 ∧
(∀ (m n : ℕ), m.Coprime n → a_[n * m]f = a_[n]f * a_[m]f) ∧
(∀ (p r : ℕ), p.Prime → 2 ≤ r → (N : ZMod p) ≠ 0 →
a_[p ^ r]f = a_[p]f * a_[p ^ (r - 1)]f - p ^ (k - 1) * a_[p ^ (r - 2)]f) ∧
∀ (p r : ℕ), p.Prime → 2 ≤ r → (N : ZMod p) = 0 → a_[p ^ r]f = (a_[p]f) ^ r
/-- See theorem 8.8.1 of [diamondshurman2005]. -/
def modularityConjecture (E : WeierstrassCurve ℚ) [E.IsElliptic] : Prop :=
∃ (N : ℕ+) (f : CuspForm (Gamma0 N) 2), IsNormalisedEigenform f ∧
∀ (p : ℕ), p.Prime → (N : ZMod p) ≠ 0 → a_[p]f = E.ap p
/--
The Modularity Theorem (formerly Shimura-Taniyama-Weil conjecture): every elliptic curve
over $\mathbb{Q}$ is modular.
-/
@[category research solved, AMS 11]
theorem modularity_conjecture (E : WeierstrassCurve ℚ) [E.IsElliptic] : modularityConjecture E := by
sorry
end ModularityConjecture
To prove it: keep every definition of Challenge.lean unchanged and prove ModularityConjecture.modularity_conjecture with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_modularity_conjecture : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch wikipedia-modularityconjecture nosorry submit wikipedia-modularityconjecture nosorry/wikipedia-modularityconjecture/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.