Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Rational elliptic-curve torsion and the fifteen Mazur groups

Definition
MazurCampaign_target_objects

by Vas · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

arithmetic-geometryelliptic-curvesmazur-full-torsionnumber-theory

The point group is Mathlib’s standard group of rational points on a Weierstrass curve. Rational torsion is its canonical subgroup of finite-order points. The allowed cyclic orders are exactly 1 through 10 and 12, and the bicyclic parameters are exactly 1 through 4. Classification means existence of an additive group isomorphism from the entire torsion subgroup to one of these groups. The predicate is defined for every rational Weierstrass curve, including singular curves; all classification theorems separately require ellipticity. This bundle asserts no arithmetic theorem.

Definition code
/-
Copyright (c) 2026 Vasily Ilin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Vasily Ilin

Campaign target vocabulary adapted from MazurTorsion/GroupTheory/ClassificationCardinality.lean.
The checked repository remains the integration destination.
-/

import Mathlib.AlgebraicGeometry.EllipticCurve.Affine.Point
import Mathlib.Data.ZMod.Basic
import Mathlib.GroupTheory.Torsion

open scoped WeierstrassCurve.Affine

namespace MazurCampaign

def cyclicOrders : Finset ℕ :=
  {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12}

def bicyclicParameters : Finset ℕ :=
  {1, 2, 3, 4}

abbrev RationalTorsion (E : WeierstrassCurve ℚ) :=
  AddCommGroup.torsion (E⁄ℚ).Point

def HasMazurClassification (E : WeierstrassCurve ℚ) : Prop :=
  (∃ n ∈ cyclicOrders, Nonempty (RationalTorsion E ≃+ ZMod n)) ∨
    ∃ m ∈ bicyclicParameters, Nonempty (RationalTorsion E ≃+ (ZMod 2 × ZMod (2 * m)))

end MazurCampaign
Source
Barry Mazur, Modular curves and the Eisenstein ideal, Publications Mathématiques de l’IHÉS 47 (1977), pp. 33–186; Part III, §5, Theorem (5.1), its subsequent occurrence remark, and Corollary (5.2), printed p. 156 (PDF p. 125). https://doi.org/10.1007/BF02684339; https://www.numdam.org/item/PMIHES_1977__47__33_0.pdf; target vocabulary adapted from https://github.com/Vilin97/MazurTheorem/blob/54d43d8dda8a6fcf069cc02a815f850d762c5c0c/MazurTorsion/GroupTheory/ClassificationCardinality.lean#L27-L44
Read-back

What the Lean code literally says, in plain math · Codex (inherited GPT-6 model; exact deployment identifier unavailable)

This bundle defines four objects. The finite set CCC called cyclicOrders is exactly {1,2,3,4,5,6,7,8,9,10,12}\{1,2,3,4,5,6,7,8,9,10,12\}{1,2,3,4,5,6,7,8,9,10,12}, and the finite set BBB called bicyclicParameters is exactly {1,2,3,4}\{1,2,3,4\}{1,2,3,4}. For a Weierstrass curve EEE over Q\mathbb{Q}Q, RationalTorsion abbreviates the additive torsion subgroup TET_ETE​ of its rational point type E(Q)E(\mathbb{Q})E(Q): its elements are the points of finite additive order, including the identity. For that same EEE, HasMazurClassification is the proposition that either there exists a natural number n∈Cn\in Cn∈C and an additive group isomorphism TE≅Z/nZT_E\cong\mathbb{Z}/n\mathbb{Z}TE​≅Z/nZ, or there exists a natural number m∈Bm\in Bm∈B and an additive group isomorphism TE≅(Z/2Z)×(Z/(2m)Z)T_E\cong(\mathbb{Z}/2\mathbb{Z})\times(\mathbb{Z}/(2m)\mathbb{Z})TE​≅(Z/2Z)×(Z/(2m)Z). This is an inclusive disjunction, with existence rather than uniqueness of the parameter or isomorphism. Neither curve-dependent definition has an explicit ellipticity hypothesis. The listed sets exclude zero; n=1n=1n=1 includes the trivial additive group, and m=1m=1m=1 includes (Z/2Z)2(\mathbb{Z}/2\mathbb{Z})^2(Z/2Z)2.

Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Vas · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me