Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

If the infinite real locus of an irreducible PPP lies in that of QQQ, then PPP divides QQQ

Proved
CurveSymmetry.dvd_of_realLocus_subset

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

curve-symmetry-leaneuclidean-geometryreal-algebraic-geometry

Identify the Euclidean plane with C\mathbb CC and use the complex coordinates X=zX=zX=z, Y=zˉY=\bar zY=zˉ. For P,Q∈C[X,Y]P,Q\in\mathbb C[X,Y]P,Q∈C[X,Y] let CP={z∈C:P(z,zˉ)=0}C_P=\{z\in\mathbb C: P(z,\bar z)=0\}CP​={z∈C:P(z,zˉ)=0} and CQ={z∈C:Q(z,zˉ)=0}C_Q=\{z\in\mathbb C: Q(z,\bar z)=0\}CQ​={z∈C:Q(z,zˉ)=0} be their real loci. Assume that PPP is irreducible in C[X,Y]\mathbb C[X,Y]C[X,Y], that CPC_PCP​ is infinite, and that CP⊆CQC_P\subseteq C_QCP​⊆CQ​. Then

P∣Qin C[X,Y].P\mid Q\quad\text{in }\mathbb C[X,Y].P∣Qin C[X,Y].

This is the density step in the proof of Lemma 3, where an infinite real locus is Zariski dense in the irreducible complex curve. In the formalization it turns inclusions of real loci into polynomial identities, for instance to exclude translations, to show that a symmetry multiplies the equation by a constant, and to rule out the fixed line of a reflection as a component.

Preamble
import Definitions.Def_CurveSymmetry_01_RealLoci
import Mathlib.Algebra.MvPolynomial.Nilpotent
import Mathlib.Algebra.MvPolynomial.NoZeroDivisors
import Mathlib.Algebra.Polynomial.FieldDivision
import Mathlib.Analysis.Complex.Polynomial.Basic
import Mathlib.Data.Complex.Basic
import Mathlib.RingTheory.MvPolynomial.Homogeneous
import Mathlib.RingTheory.Polynomial.GaussLemma
import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
import Mathlib.Tactic

open CurveSymmetry
set_option autoImplicit false
open MvPolynomial
Formal statement
theorem CurveSymmetry.dvd_of_realLocus_subset {P Q : BPoly} (hP : Irreducible P)
    (hinf : (realLocus P).Infinite) (hsub : realLocus P ⊆ realLocus Q) : P ∣ Q := by sorry
Source
C. Perassi, Sharp symmetry bounds for real algebraic curves (note): lemma of the formalization, for proof of Lemma 3, p. 2, https://github.com/carlok/curve-symmetry-lean/blob/d99bc17a1c397956c05d7417de50f9beed56580f/sharp_symmetry_bounds.pdf. Lean: https://github.com/carlok/curve-symmetry-lean/blob/d99bc17a1c397956c05d7417de50f9beed56580f/lean/Elimination.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