Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Points of w2=h(t)w^2=h(t)w2=h(t) over t=ct=ct=c: two when h(c)≠0h(c)\ne0h(c)=0, only w=0w=0w=0 when h(c)=0h(c)=0h(c)=0

Proved
CurveSymmetry.quad_points_over

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

curve-symmetry-leanfunction-fieldsvaluation-theory

Let h∈C[t]h\in\mathbb C[t]h∈C[t] be any polynomial and c∈Cc\in\mathbb Cc∈C. The solutions ddd of d2=h(c)d^2=h(c)d2=h(c), that is, the points (c,d)(c,d)(c,d) of the affine curve w2=h(t)w^2=h(t)w2=h(t) over t=ct=ct=c, are as follows:

  1. if h(c)≠0h(c)\ne0h(c)=0, there is d0∈Cd_0\in\mathbb Cd0​∈C with d0≠−d0d_0\ne-d_0d0​=−d0​ such that for every d∈Cd\in\mathbb Cd∈C, d2=h(c)d^2=h(c)d2=h(c) holds if and only if d=d0d=d_0d=d0​ or d=−d0d=-d_0d=−d0​;
  2. if h(c)=0h(c)=0h(c)=0, then for every d∈Cd\in\mathbb Cd∈C, d2=h(c)d^2=h(c)d2=h(c) holds if and only if d=0d=0d=0.

In short,

{d∈C: d2=h(c)}={{d0,−d0} with d0≠−d0,h(c)≠0,{0},h(c)=0.\{d\in\mathbb C:\ d^2=h(c)\}=\begin{cases}\{d_0,-d_0\}\ \text{with}\ d_0\ne-d_0, & h(c)\ne0,\\ \{0\}, & h(c)=0.\end{cases}{d∈C: d2=h(c)}={{d0​,−d0​} with d0​=−d0​,{0},​h(c)=0,h(c)=0.​

This is the fibre count of the double cover over the finite ttt-line: two points over ccc when h(c)≠0h(c)\ne0h(c)=0, one when h(c)=0h(c)=0h(c)=0. It feeds the count of branch points of the double cover (7) in the proof of Lemma 4.

Preamble
import Definitions.Def_CurveSymmetry_01_RealLoci
import Definitions.Def_CurveSymmetry_02_FamilyBasics
import Definitions.Def_CurveSymmetry_03_IsometriesAndCharts
import Definitions.Def_CurveSymmetry_05_FamilyFunctionField
import Definitions.Def_CurveSymmetry_06_QuadraticRing
import Definitions.Def_CurveSymmetry_07_Places
import Mathlib.Algebra.MvPolynomial.Nilpotent
import Mathlib.Algebra.MvPolynomial.NoZeroDivisors
import Mathlib.Algebra.MvPolynomial.PDeriv
import Mathlib.Algebra.Polynomial.FieldDivision
import Mathlib.Algebra.Polynomial.Reverse
import Mathlib.Algebra.Polynomial.SpecificDegree
import Mathlib.Analysis.Complex.Isometry
import Mathlib.Analysis.Complex.OperatorNorm
import Mathlib.Analysis.Complex.Polynomial.Basic
import Mathlib.Analysis.Normed.Affine.MazurUlam
import Mathlib.Data.Complex.Basic
import Mathlib.FieldTheory.RatFunc.Basic
import Mathlib.FieldTheory.Separable
import Mathlib.RingTheory.AdjoinRoot
import Mathlib.RingTheory.DedekindDomain.Dvr
import Mathlib.RingTheory.DiscreteValuationRing.TFAE
import Mathlib.RingTheory.Localization.AsSubring
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.RingTheory.Valuation.ValuationSubring
import Mathlib.Tactic

open CurveSymmetry
set_option autoImplicit false
open Polynomial
variable (h : ℂ[X])
Formal statement
theorem CurveSymmetry.quad_points_over (c : ℂ) :
    (h.eval c ≠ 0 → ∃ d₀ : ℂ, d₀ ≠ -d₀ ∧ ∀ d : ℂ, d ^ 2 = h.eval c ↔ d = d₀ ∨ d = -d₀) ∧
      (h.eval c = 0 → ∀ d : ℂ, d ^ 2 = h.eval c ↔ d = 0) := by sorry
Source
C. Perassi, Sharp symmetry bounds for real algebraic curves (note): lemma of the formalization, for proof of Lemma 4, equation (7), 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/QuadraticPlaces.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