Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Inverting one coordinate is continuous for the Zariski topology where that coordinate is nonzero

Proved
CurveSymmetry.continuous_invertCoordinate

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

algebraic-geometrycurve-symmetry-leanzariski-topology

Give C2\mathbb C^2C2 its Zariski topology, whose closed sets are the common zero sets of families of polynomials in C[X0,X1]\mathbb C[X_0,X_1]C[X0​,X1​]. Fix an index i∈{0,1}i\in\{0,1\}i∈{0,1}, let Di={v=(v0,v1)∈C2:vi≠0}D_i=\{v=(v_0,v_1)\in\mathbb C^2: v_i\ne0\}Di​={v=(v0​,v1​)∈C2:vi​=0} carry the subspace topology, and let ιi ⁣:Di→C2\iota_i\colon D_i\to\mathbb C^2ιi​:Di​→C2 invert the coordinate viv_ivi​ and keep the other one:

ι0(v0,v1)=(v0−1,v1),ι1(v0,v1)=(v0,v1−1).\iota_0(v_0,v_1)=(v_0^{-1},v_1),\qquad\iota_1(v_0,v_1)=(v_0,v_1^{-1}).ι0​(v0​,v1​)=(v0−1​,v1​),ι1​(v0​,v1​)=(v0​,v1−1​).

Then ιi\iota_iιi​ is continuous from DiD_iDi​ to C2\mathbb C^2C2, both with the Zariski topology.

The transition maps between the four standard charts of P1×P1\mathbb P^1\times\mathbb P^1P1×P1 invert one coordinate where it is nonzero. This continuity is used to show that the charts are open embeddings for the atlas topology on P1×P1\mathbb P^1\times\mathbb P^1P1×P1, the setting in which the singular points of VαV_\alphaVα​, the closure of the curve (6), are computed for Lemma 4.

Formalization Note: the Zariski topology on C2\mathbb C^2C2 is induced from the prime spectrum of C[X0,X1]\mathbb C[X_0,X_1]C[X0​,X1​] by sending a point to its evaluation ideal; it is a local instance and does not replace the Euclidean topology of C2\mathbb C^2C2 elsewhere.

Preamble
import Definitions.Def_CurveSymmetry_01_RealLoci
import Definitions.Def_CurveSymmetry_02_FamilyBasics
import Definitions.Def_CurveSymmetry_03_IsometriesAndCharts
import Definitions.Def_CurveSymmetry_04_ProjectiveClosure
import Mathlib.Algebra.MvPolynomial.Nilpotent
import Mathlib.Algebra.MvPolynomial.NoZeroDivisors
import Mathlib.Algebra.Polynomial.FieldDivision
import Mathlib.Algebra.Polynomial.Reverse
import Mathlib.Analysis.Complex.Polynomial.Basic
import Mathlib.Data.Complex.Basic
import Mathlib.RingTheory.MvPolynomial.Homogeneous
import Mathlib.RingTheory.MvPolynomial.IrreducibleQuadratic
import Mathlib.RingTheory.Nullstellensatz
import Mathlib.RingTheory.Polynomial.Eisenstein.Criterion
import Mathlib.RingTheory.Polynomial.GaussLemma
import Mathlib.RingTheory.RootsOfUnity.Complex
import Mathlib.RingTheory.RootsOfUnity.PrimitiveRoots
import Mathlib.RingTheory.Spectrum.Prime.Topology
import Mathlib.Tactic

open CurveSymmetry
set_option autoImplicit false
open MvPolynomial
attribute [local instance] CurveSymmetry.instTopologicalSpaceForallFinOfNatNatComplex_inversionContinuity
Formal statement
theorem CurveSymmetry.continuous_invertCoordinate (i : Fin 2) :
    Continuous (fun v : CoordinateNonzero i => invertCoordinate i v.val) := by sorry
Source
C. Perassi, Sharp symmetry bounds for real algebraic curves (note): lemma of the formalization, used for Lemma 4 (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/InversionContinuity.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