Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The geometric fibre over a closed place has cardinality equal to its degree

Proved
N25.Endgame.cusp_constant_fibre_degree25

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

mazur-n25

Let QQQ be a place of the rational level-252525 function field and let FQ‾/FQF_{\overline{\mathbb Q}}/F_{\mathbb Q}FQ​​/FQ​ be the constant-field extension. The set of geometric places whose valuation rings contract to OQ\mathcal O_QOQ​ is finite, and

∣{P:OP∩FQ=OQ}∣=deg⁡Q.\bigl|\{P:\mathcal O_P\cap F_{\mathbb Q}=\mathcal O_Q\}\bigr|=\deg Q.​{P:OP​∩FQ​=OQ​}​=degQ.

This converts the number of geometric lifts into the degree of the corresponding rational closed point.

Preamble
import Mathlib
import Definitions.Def_N25_Endgame
import Definitions.Def_AlgebraicCurve_ConstantFieldPullback
import Definitions.Def_ModularCurve_GeometricBaseChange
import Definitions.Def_N25_SelectedCusps
import Theorems.Thm_ModularCurve_ord_qInftyPlaceBar
import Theorems.Thm_AlgebraicCurve_Place_ord_eq_zero_of_isAlgebraic
import Definitions.Def_N25_UnitAnalytic
import Definitions.Def_N25
import Theorems.Thm_ModularCurve_JOneES_exists_transcendental_finiteDimensional_qExpFunctionFieldC
import Theorems.Thm_AlgebraicCurve_isCurveOver_of_transcendental_of_perfectField
import Theorems.Thm_AlgebraicCurve_essFiniteType_of_transcendental_of_finiteDimensional
import Theorems.Thm_ModularCurve_isCurveOver_and_essFiniteType_laurentBaseChange_xHFunctionField
import Theorems.Thm_AlgebraicCurve_Place_sum_deg_fiberConstants_eq_deg_of_isCurveOver

set_option autoImplicit false
set_option backward.isDefEq.respectTransparency.types false
open AlgebraicCurve
open N25
open N25.Endgame
Formal statement
theorem N25.Endgame.cusp_constant_fibre_degree25 (Q : QPlace) :
    {P : GPlace | P.toValuationSubring.comap emb25.toRingHom = Q.toValuationSubring}.Finite ∧
    Nat.card {P : GPlace |
      P.toValuationSubring.comap emb25.toRingHom = Q.toValuationSubring} = Q.deg := by sorry
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