Rational elliptic-curve torsion and the fifteen Mazur groups
DefinitionMazurCampaign_target_objectsThe 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.
/-
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
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 called cyclicOrders is exactly , and the finite set called bicyclicParameters is exactly . For a Weierstrass curve over , RationalTorsion abbreviates the additive torsion subgroup of its rational point type : its elements are the points of finite additive order, including the identity. For that same , HasMazurClassification is the proposition that either there exists a natural number and an additive group isomorphism , or there exists a natural number and an additive group isomorphism . 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; includes the trivial additive group, and includes .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.