Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

An irreducible PPP with infinitely many real points generates the ideal of polynomials vanishing on them

Proved
CurveSymmetry.real_diagonal_vanishingIdeal

by carlok · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

algebraic-geometrycurve-symmetry-leaneuclidean-geometry

Let P∈C[X,Y]P\in\mathbb C[X,Y]P∈C[X,Y] be irreducible. Writing points of the real plane as z∈Cz\in\mathbb Cz∈C, the real locus of PPP in the coordinates X=zX=zX=z, Y=zˉY=\bar zY=zˉ is Z(P)={z∈C:P(z,zˉ)=0}Z(P)=\{z\in\mathbb C:P(z,\bar z)=0\}Z(P)={z∈C:P(z,zˉ)=0}. Let ΔP={(z,zˉ):z∈Z(P)}⊆C2\Delta_P=\{(z,\bar z):z\in Z(P)\}\subseteq\mathbb C^2ΔP​={(z,zˉ):z∈Z(P)}⊆C2 be its image under z↦(z,zˉ)z\mapsto(z,\bar z)z↦(z,zˉ), and let I(ΔP)={Q∈C[X,Y]:Q(v)=0 for all v∈ΔP}I(\Delta_P)=\{Q\in\mathbb C[X,Y]:Q(v)=0\ \text{for all}\ v\in\Delta_P\}I(ΔP​)={Q∈C[X,Y]:Q(v)=0 for all v∈ΔP​} be the ideal of the polynomials vanishing on ΔP\Delta_PΔP​.

If Z(P)Z(P)Z(P) is infinite, then

I(ΔP)=(P),I(\Delta_P)=(P),I(ΔP​)=(P),

the principal ideal of C[X,Y]\mathbb C[X,Y]C[X,Y] generated by PPP.

This is the algebraic content of the Zariski density of an infinite real locus in the complex curve P=0P=0P=0, which the note invokes in the proofs of Lemma 3 and Theorem 2. For the polynomial PαP_\alphaPα​ of equation (6), whose real locus is Cm,αC_{m,\alpha}Cm,α​ and which satisfies the hypotheses by Lemma 4 when ∣α∣=1|\alpha|=1∣α∣=1 and α∉R\alpha\notin\mathbb Rα∈/R, it says that the polynomials vanishing at all points (z,zˉ)(z,\bar z)(z,zˉ) with z∈Cm,αz\in C_{m,\alpha}z∈Cm,α​ are exactly the multiples of PαP_\alphaPα​.

Formalization Note: I(⋅)I(\cdot)I(⋅) is Mathlib's MvPolynomial.vanishingIdeal ℂ, and irreducibility is taken in MvPolynomial (Fin 2) ℂ.

Preamble
import Definitions.Def_CurveSymmetry_01_RealLoci
import Definitions.Def_CurveSymmetry_02_FamilyBasics
import Definitions.Def_CurveSymmetry_03_IsometriesAndCharts
import Mathlib.Algebra.MvPolynomial.Nilpotent
import Mathlib.Algebra.MvPolynomial.NoZeroDivisors
import Mathlib.Algebra.Polynomial.FieldDivision
import Mathlib.Algebra.Polynomial.Reverse
import Mathlib.Analysis.Complex.Polynomial.Basic
import Mathlib.Data.Complex.Basic
import Mathlib.RingTheory.MvPolynomial.Homogeneous
import Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic
import Mathlib.RingTheory.Nullstellensatz
import Mathlib.RingTheory.Polynomial.Eisenstein.Criterion
import Mathlib.RingTheory.Polynomial.GaussLemma
import Mathlib.RingTheory.RootsOfUnity.Complex
import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
import Mathlib.RingTheory.Spectrum.Prime.Topology
import Mathlib.Tactic

open CurveSymmetry
set_option autoImplicit false
open MvPolynomial
Formal statement
theorem CurveSymmetry.real_diagonal_vanishingIdeal {P : BPoly} (hP : Irreducible P)
    (hinf : (realLocus P).Infinite) :
    vanishingIdeal ℂ (affineRealDiagonal P) = Ideal.span {P} := by sorry
Source
C. Perassi, Sharp symmetry bounds for real algebraic curves (note): lemma of the formalization, for Section 3, closure of equation (6), p. 3, https://github.com/carlok/curve-symmetry-lean/blob/d99bc17a1c397956c05d7417de50f9beed56580f/sharp_symmetry_bounds.pdf. Lean: https://github.com/carlok/curve-symmetry-lean/blob/d99bc17a1c397956c05d7417de50f9beed56580f/lean/AffineClosure.lean (C. Perassi)

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me