A selected five-cycle of cusps
DefinitionN25_SelectedCuspsmazur-n25
Chooses a rational diamond automorphism and compatible rational and geometric places from one free orbit of the label- diamond action, producing five indexed cusps in each place space. This common orbit fixes the cusp labels used in modular-unit divisors and Galois comparisons.
Definition code
import Mathlib
import Definitions.Def_N25_Endgame
import Theorems.Thm_N25_five_qPlaces_distinct
import Definitions.Def_N25
import Definitions.Def_ModularCurve_QAdicPlace
import Definitions.Def_ModularCurve_JqCoeff
import Definitions.Def_ModularCurve_ArithmeticGalois
set_option autoImplicit false
noncomputable section
namespace N25.Endgame
/-- The rational automorphism and the two q-adic witnesses are selected from
one common free orbit of the label-thirteen diamond. -/
noncomputable def cuspChoice25 : CuspChoice25 where
hQ := N25.five_qPlaces_distinct.choose
hG := N25.five_qPlaces_distinct.choose_spec.choose
tauQ := N25.five_qPlaces_distinct.choose_spec.choose_spec.choose
abbrev gammaF25 : FG ≃ₐ[Qbar] FG :=
ModularCurve.diamondAutHBar 25 N25.H25
(ZMod.unitOfCoprime 13 (by decide))
noncomputable def pQ25 (i : Fin 5) : QPlace :=
(AlgebraicCurve.SemilinearAut.ofAlgAut cuspChoice25.tauQ)^i.val •
ModularCurve.qInftyPlaceRat FQ cuspChoice25.hQ
noncomputable def pG25 (i : Fin 5) : GPlace :=
(AlgebraicCurve.SemilinearAut.ofAlgAut gammaF25)^i.val •
ModularCurve.qInftyPlaceBar Qbar FG cuspChoice25.hG
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.