Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

At a point (c,d)(c,d)(c,d) of w2=h(t)w^2=h(t)w2=h(t) with h(c)≠0h(c)\ne0h(c)=0, f dt=f duf\,dt=f\,dufdt=fdu for some uniformizer uuu of the local ring

Proved
CurveSymmetry.quad_unramified_coeff

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

curve-symmetry-leanfunction-fieldsgenus

Let h∈C[t]h\in\mathbb C[t]h∈C[t] be a squarefree polynomial such that W2−hW^2-hW2−h is irreducible in C(t)[W]\mathbb C(t)[W]C(t)[W]. Let K=C(t)[W]/(W2−h)K=\mathbb C(t)[W]/(W^2-h)K=C(t)[W]/(W2−h) be the function field of the double cover w2=h(t)w^2=h(t)w2=h(t), where ttt and www denote the classes of ttt and WWW, and let A=C[t][W]/(W2−h)A=\mathbb C[t][W]/(W^2-h)A=C[t][W]/(W2−h) be its coordinate ring, viewed inside KKK. For a point (c,d)∈C2(c,d)\in\mathbb C^2(c,d)∈C2 of the cover, d2=h(c)d^2=h(c)d2=h(c), let m(c,d)⊂A\mathfrak m_{(c,d)}\subset Am(c,d)​⊂A be the kernel of the evaluation A→CA\to\mathbb CA→C, t↦ct\mapsto ct↦c, w↦dw\mapsto dw↦d, and let O(c,d)=Am(c,d)⊂K\mathcal O_{(c,d)}=A_{\mathfrak m_{(c,d)}}\subset KO(c,d)​=Am(c,d)​​⊂K be the local ring at (c,d)(c,d)(c,d), the valuation ring of the point place (c,d)(c,d)(c,d) of KKK; it is a discrete valuation ring with maximal ideal m(c,d)O(c,d)\mathfrak m_{(c,d)}\mathcal O_{(c,d)}m(c,d)​O(c,d)​. A uniformizer is an element of O(c,d)\mathcal O_{(c,d)}O(c,d)​ generating this maximal ideal. Write ΩK/C\Omega_{K/\mathbb C}ΩK/C​ for the KKK-vector space of Kähler differentials of KKK over C\mathbb CC and dxdxdx for the differential of x∈Kx\in Kx∈K.

Let (c,d)∈C2(c,d)\in\mathbb C^2(c,d)∈C2 with d2=h(c)d^2=h(c)d2=h(c) and h(c)≠0h(c)\ne0h(c)=0, and let f∈Kf\in Kf∈K. Then there exists a uniformizer uuu of O(c,d)\mathcal O_{(c,d)}O(c,d)​ such that

f dt=f duin ΩK/C.f\,dt=f\,du\quad\text{in }\Omega_{K/\mathbb C}.fdt=fduin ΩK/C​.

Thus the coefficient of f dtf\,dtfdt against a uniformizer at an unramified point place can be taken to be fff itself: dtdtdt has order zero there. It belongs to the local study of differentials on double covers w2=h(t)w^2=h(t)w2=h(t) that the formalization carries out for the genus clause of Lemma 4 of the note (the normalization of VαV_\alphaVα​, a double cover of this kind, has genus mmm).

Formalization Note: the hypotheses that hhh is squarefree and that W2−hW^2-hW2−h is irreducible are Fact instances, and d2=h(c)d^2=h(c)d2=h(c) is an explicit hypothesis. O(c,d)\mathcal O_{(c,d)}O(c,d)​ is a subalgebra of KKK: the localization of AAA at the kernel of the evaluation map.

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 Definitions.Def_CurveSymmetry_08_Differentials
import Definitions.Def_CurveSymmetry_09_Genus
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.LinearAlgebra.Basis.Basic
import Mathlib.LinearAlgebra.FiniteDimensional.Defs
import Mathlib.LinearAlgebra.TensorProduct.Basis
import Mathlib.RingTheory.AdjoinRoot
import Mathlib.RingTheory.DedekindDomain.Dvr
import Mathlib.RingTheory.DiscreteValuationRing.TFAE
import Mathlib.RingTheory.Etale.Field
import Mathlib.RingTheory.Etale.Kaehler
import Mathlib.RingTheory.Kaehler.Basic
import Mathlib.RingTheory.Kaehler.Polynomial
import Mathlib.RingTheory.LocalRing.MaximalIdeal.Basic
import Mathlib.RingTheory.LocalRing.Module
import Mathlib.RingTheory.Localization.AsSubring
import Mathlib.RingTheory.MvPolynomial.Homogeneous
import Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic
import Mathlib.RingTheory.Nakayama
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]) [Fact (Squarefree h)] [Fact (Irreducible (quadRat h))]
  (c d : ℂ) (hd : d ^ 2 = h.eval c)
Formal statement
theorem CurveSymmetry.quad_unramified_coeff (hc : h.eval c ≠ 0) (f : QuadField h) :
    ∃ u : quadLocalRing h c d hd,
      IsLocalRing.maximalIdeal (quadLocalRing h c d hd) = Ideal.span {u} ∧
        f • KaehlerDifferential.D ℂ (QuadField h) (quadT h) =
          f • KaehlerDifferential.D ℂ (QuadField h) (u : QuadField h) := by sorry
Source
C. Perassi, Sharp symmetry bounds for real algebraic curves (note): lemma of the formalization, for Lemma 4, pp. 3-4, https://github.com/carlok/curve-symmetry-lean/blob/d99bc17a1c397956c05d7417de50f9beed56580f/sharp_symmetry_bounds.pdf. Lean: https://github.com/carlok/curve-symmetry-lean/blob/d99bc17a1c397956c05d7417de50f9beed56580f/lean/PlaceUniformizers.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