Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

A nonzero polynomial negated by a rotation of order NNN forces NNN to be even

Proved
CurveSymmetry.anti_even_order

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

curve-symmetry-leaneuclidean-geometryreal-algebraic-geometry

Let N≥0N\ge 0N≥0 be an integer and let ζ∈C\zeta\in\mathbb Cζ∈C be a primitive NNN-th root of unity, in the sense that ζN=1\zeta^N=1ζN=1 and NNN divides every k∈Nk\in\mathbb Nk∈N with ζk=1\zeta^k=1ζk=1. Let P∈C[X,Y]P\in\mathbb C[X,Y]P∈C[X,Y] be a nonzero polynomial that changes sign under the substitution X↦ζXX\mapsto\zeta XX↦ζX, Y↦ζ−1YY\mapsto\zeta^{-1}YY↦ζ−1Y:

P(ζX,ζ−1Y)=−P(X,Y).P(\zeta X,\zeta^{-1}Y)=-P(X,Y).P(ζX,ζ−1Y)=−P(X,Y).

Then NNN is even.

When N≥1N\ge 1N≥1, so that ∣ζ∣=1|\zeta|=1∣ζ∣=1, the substitution is, in the coordinates X=zX=zX=z, Y=zˉY=\bar zY=zˉ of the note, the pullback of the equation by the rotation z↦ζzz\mapsto\zeta zz↦ζz. In the proof of Theorem 1 this is the step showing that, when a generator of the rotation group acts on the equation by the sign ε=−1\varepsilon=-1ε=−1 of (4), its order N=2mN=2mN=2m is even.

Formalization Note: primitive roots follow Mathlib's convention, so N=0N=0N=0 is allowed; it means that no positive power of ζ\zetaζ equals 111. The inverse ζ−1\zeta^{-1}ζ−1 is the field inverse with 0−1=00^{-1}=00−1=0, which matters only when N=0N=0N=0 and ζ=0\zeta=0ζ=0.

Preamble
import Definitions.Def_CurveSymmetry_01_RealLoci
import Mathlib.Data.Complex.Basic
import Mathlib.RingTheory.MvPolynomial.Homogeneous
import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
import Mathlib.Tactic

open CurveSymmetry
set_option autoImplicit false
open MvPolynomial
Formal statement
theorem CurveSymmetry.anti_even_order {N : ℕ} {ζ : ℂ} (hζ : IsPrimitiveRoot ζ N) {P : BPoly}
    (hP : P ≠ 0) (hanti : rotate ζ P = -P) : Even N := by sorry
Source
C. Perassi, Sharp symmetry bounds for real algebraic curves (note): lemma of the formalization, for proof of Theorem 1, equation (5), 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/RotationSupport.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