Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Derivative and Bézout data for the plane projection

Definition
N25_UnitPlaneDerivative

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

mazur-n25

Defines ∂F/∂v∂F/∂v∂F/∂v, the cubic branch factor u3+u2+2u+1u^3+u^2+2u+1u3+u2+2u+1, and explicit Bézout coefficients relating the plane equation to its vvv-derivative. These formulas locate the branch locus and control regularity of the projection to the uuu-line.

Definition code
import Definitions.Def_N25_CanonicalUnitPlane
import Definitions.Def_N25_PlaneBranchPolynomial
/-! The derivative and integral Euclidean certificate for the plane quartic. -/
namespace N25
variable {k : Type*} [CommRing k]

/-- Partial derivative of the plane relation with respect to its second coordinate. -/
def planeDerivativeV (u v : k) : k :=
  4*v^3-3*u^3*v^2+2*(u-u^3-2*u^4)*v-(u^3+u^4+2*u^5)

/-- The cubic factor in the branch locus of the plane projection. -/
def planeCubicBranchValue (u : k) : k := u^3+u^2+2*u+1

/-- First Euclidean coefficient for the relation and its derivative. -/
def planeDerivativeBezoutLeft (u v : k) : k :=
  (u*(27*u^15 + 28*u^14 + 300*u^13 + 449*u^12 + 1193*u^11 + 1380*u^10 + 1631*u^9 + 1083*u^8 + 188*u^7 - 320*u^6 - 568*u^5 - 220*u^4 + 32*u^3 + 64*u^2 - 16)) +
  (2*u^2*(6*u^12 - 3*u^11 + 70*u^10 - 4*u^9 + 214*u^8 + 44*u^7 + 241*u^6 + 44*u^5 + 44*u^4 + 12*u^3 + 4*u - 8))*v +
  (-8*(2*u^11 + 5*u^10 + 26*u^9 + 44*u^8 + 108*u^7 + 102*u^6 + 107*u^5 + 34*u^4 - 6*u^3 - 12*u^2 + 4))*v^2

/-- Second Euclidean coefficient for the relation and its derivative. -/
def planeDerivativeBezoutRight (u v : k) : k :=
  (-u^3*(6*u^14 + 11*u^13 + 66*u^12 + 158*u^11 + 310*u^10 + 495*u^9 + 556*u^8 + 554*u^7 + 358*u^6 + 170*u^5 + 27*u^4 - 9*u^3 - 4*u^2 + 4*u + 4)) +
  (-u*(9*u^15 + 12*u^14 + 104*u^13 + 183*u^12 + 443*u^11 + 610*u^10 + 701*u^9 + 535*u^8 + 108*u^7 - 160*u^6 - 278*u^5 - 100*u^4 + 22*u^3 + 32*u^2 - 8))*v +
  (-u^2*(4*u^12 + u^11 + 48*u^10 + 20*u^9 + 161*u^8 + 73*u^7 + 174*u^6 + 39*u^5 + 19*u^4 + 4*u - 4))*v^2 +
  (2*(2*u^11 + 5*u^10 + 26*u^9 + 44*u^8 + 108*u^7 + 102*u^6 + 107*u^5 + 34*u^4 - 6*u^3 - 12*u^2 + 4))*v^3

end N25
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