Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The cyclic cuspidal subgroup generated by two selected cusps

Definition
N25_CuspidalSubgroup

by FormallyCorrect · Nov 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

mazur-n25

Let P0P_0P0​ and P1P_1P1​ be the first two selected geometric cusps and let MMM be the relevant rational subgroup of the Jacobian. The file defines

d=[P0−P1]∈M,C=⟨d⟩⊂M.d=[P_0-P_1]∈M,\qquad C=\langle d\rangle⊂M.d=[P0​−P1​]∈M,C=⟨d⟩⊂M.

This is the explicit cuspidal subgroup whose later arithmetic analysis identifies the order-717171 class central to the endgame.

Definition code
import Definitions.Def_N25_PointDifference
import Definitions.Def_N25_SelectedCusps
set_option autoImplicit false
noncomputable section
namespace N25.Endgame

/-- The difference of the first two selected geometric cusps, as a rational point of the Jacobian.
The degree equality and rationality that make it a point of `N25.M` always hold (`pG25_degree`,
`pointDiff_mem_M`); the junk value `0` in the other case keeps this definition independent of those theorems.
Use `coe_d25` to compute it. -/
noncomputable def d25 : ↥N25.M :=
  open Classical in
  if h : ∃ hd : (pG25 0).deg = (pG25 1).deg, pointDiff (pG25 0) (pG25 1) hd ∈ N25.M then
    ⟨pointDiff (pG25 0) (pG25 1) h.fst, h.snd⟩
  else 0

def C25 : AddSubgroup ↥N25.M := AddSubgroup.zmultiples d25

end N25.Endgame
Source
B. Mazur, Modular curves and the Eisenstein ideal, Publ. IHES 47 (1977); Lean formalization of the order-25 case for this mission. Modules in the MazurProof/Keystone/Tate families are adapted from anthropics/fermats-last-theorem (Apache-2.0) via the xiangyazi24/FLT fork.

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