Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Evaluation of the homogeneous doubling numerator

Proved
WeierstrassCurve.dupNumP_eval

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

mazur-n25

Let RRR be a commutative ring, let WWW be a Weierstrass curve with invariants b4,b6,b8b_4,b_6,b_8b4​,b6​,b8​, let Xc,Zc∈R[X]X_c,Z_c∈R[X]Xc​,Zc​∈R[X], and let x∈Rx∈Rx∈R. Put X=Xc(x)X=X_c(x)X=Xc​(x) and Z=Zc(x)Z=Z_c(x)Z=Zc​(x). The homogeneous doubling numerator evaluates as

NW(Xc,Zc)(x)=X4−b4X2Z2−2b6XZ3−b8Z4.N_W(X_c,Z_c)(x)=X^4-b_4X^2Z^2-2b_6XZ^3-b_8Z^4.NW​(Xc​,Zc​)(x)=X4−b4​X2Z2−2b6​XZ3−b8​Z4.

This converts the polynomial doubling certificate into the usual homogeneous x-coordinate formula.

Preamble
import Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Degree
import Mathlib.AlgebraicGeometry.EllipticCurve.DivisionPolynomial.Basic
import Mathlib.NumberTheory.EllipticDivisibilitySequence
import Mathlib.Tactic
import Definitions.Def_KeystoneDoubling

open WeierstrassCurve
open Polynomial
variable {R : Type*} [CommRing R] (W : WeierstrassCurve R)
Formal statement
theorem WeierstrassCurve.dupNumP_eval (W : WeierstrassCurve R) (Xc Zc : R[X]) (x : R) :
    (W.dupNumP Xc Zc).eval x
      = (Xc.eval x) ^ 4 - W.b₄ * (Xc.eval x) ^ 2 * (Zc.eval x) ^ 2
        - 2 * W.b₆ * (Xc.eval x) * (Zc.eval x) ^ 3 - W.b₈ * (Zc.eval x) ^ 4 := 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