Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The Cartesian substitution followed by complexification is the identity of C[X,Y]\mathbb C[X,Y]C[X,Y]

Proved
CurveSymmetry.complexify_cartesianize

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

curve-symmetry-leanpolynomialsreal-algebraic-geometry

For a polynomial P∈C[X,Y]P\in\mathbb C[X,Y]P∈C[X,Y] let Pcart(X,Y)=P(X+iY, X−iY)P^{\mathrm{cart}}(X,Y)=P(X+iY,\,X-iY)Pcart(X,Y)=P(X+iY,X−iY) be its Cartesian substitution and PC(X,Y)=P(X+Y2,X−Y2i)P^{\mathbb C}(X,Y)=P\bigl(\tfrac{X+Y}{2},\tfrac{X-Y}{2i}\bigr)PC(X,Y)=P(2X+Y​,2iX−Y​) its complexification, which rewrites a polynomial in x=X+Y2x=\tfrac{X+Y}{2}x=2X+Y​, y=X−Y2iy=\tfrac{X-Y}{2i}y=2iX−Y​ in terms of X=z=x+iyX=z=x+iyX=z=x+iy and Y=zˉ=x−iyY=\bar z=x-iyY=zˉ=x−iy. Both are C\mathbb CC-algebra endomorphisms of C[X,Y]\mathbb C[X,Y]C[X,Y].

Then for every P∈C[X,Y]P\in\mathbb C[X,Y]P∈C[X,Y],

(Pcart)C=P,that is,Pcart(X+Y2, X−Y2i)=P(X,Y).\bigl(P^{\mathrm{cart}}\bigr)^{\mathbb C}=P,\qquad\text{that is,}\qquad P^{\mathrm{cart}}\Bigl(\frac{X+Y}{2},\,\frac{X-Y}{2i}\Bigr)=P(X,Y).(Pcart)C=P,that is,Pcart(2X+Y​,2iX−Y​)=P(X,Y).

Together with the reverse identity (PC)cart=P\bigl(P^{\mathbb C}\bigr)^{\mathrm{cart}}=P(PC)cart=P, it shows that complexification, the passage made just before equation (4) of the note from a real equation f(x,y)f(x,y)f(x,y) to P(X,Y)=f((X+Y)/2,(X−Y)/(2i))P(X,Y)=f\bigl((X+Y)/2,(X-Y)/(2i)\bigr)P(X,Y)=f((X+Y)/2,(X−Y)/(2i)), is an automorphism of C[X,Y]\mathbb C[X,Y]C[X,Y]. This direction is what allows an equation given in the coordinates z,zˉz,\bar zz,zˉ to be converted back into a Cartesian one, as in the descent to real Cartesian equations used for the examples of Theorems 1 and 2.

Preamble
import Definitions.Def_CurveSymmetry_01_RealLoci
import Definitions.Def_CurveSymmetry_02_FamilyBasics
import Mathlib.Algebra.MvPolynomial.Nilpotent
import Mathlib.Algebra.MvPolynomial.NoZeroDivisors
import Mathlib.Algebra.Polynomial.FieldDivision
import Mathlib.Algebra.Polynomial.Reverse
import Mathlib.Analysis.Complex.Isometry
import Mathlib.Analysis.Complex.Polynomial.Basic
import Mathlib.Analysis.Normed.Affine.MazurUlam
import Mathlib.Data.Complex.Basic
import Mathlib.RingTheory.MvPolynomial.Homogeneous
import Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic
import Mathlib.RingTheory.Polynomial.Eisenstein.Criterion
import Mathlib.RingTheory.Polynomial.GaussLemma
import Mathlib.RingTheory.RootsOfUnity.Complex
import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
import Mathlib.Tactic

open CurveSymmetry
set_option autoImplicit false
open MvPolynomial
Formal statement
theorem CurveSymmetry.complexify_cartesianize (P : BPoly) : complexify (cartesianize P) = P := by sorry
Source
C. Perassi, Sharp symmetry bounds for real algebraic curves (note): lemma of the formalization, for Section 2, equation (4), 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/CartesianCoordinates.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