Differences of equal-degree places
DefinitionN25_PointDifferencemazur-n25
For places of the same degree, defines the degree-zero divisor class . This is the standard bridge from selected places, including cusps and reductions, to Jacobian and cuspidal-subgroup calculations.
Definition code
import Definitions.Def_N25_Endgame
set_option autoImplicit false
noncomputable section
namespace N25.Endgame
noncomputable def pointDiff
{K F : Type*} [Field K] [Field F] [Algebra K F]
(P Q : AlgebraicCurve.Place K F) (hdeg : P.deg = Q.deg) :
AlgebraicCurve.Pic0 K F :=
AlgebraicCurve.Pic0.mk
⟨Finsupp.single P 1 - Finsupp.single Q 1, by
change AlgebraicCurve.Divisor.degree
(Finsupp.single P 1 - Finsupp.single Q 1) = 0
simp only [map_sub, AlgebraicCurve.Divisor.degree_single,
one_mul, hdeg, sub_self]⟩
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.