Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Topological configurations of limit cycles

Definition
HilbertSixteenth_Configurations

by LG · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamical-systemshilbert-16th-problemlimit-cycles
  1. A simple closed curve (Jordan curve) in R2\mathbb R^2R2 is the image of a continuous injective map from the circle S1S^1S1.
  2. A configuration of limit cycles is a finite set C={C1,…,Cn}\mathcal C=\{C_1,\dots,C_n\}C={C1​,…,Cn​} of pairwise disjoint simple closed curves.
  3. The bounded region limited by CCC is the set of points not on CCC whose connected component in R2∖C\mathbb R^2\setminus CR2∖C is bounded.
  4. A curve Ci∈CC_i\in\mathcal CCi​∈C is primary if no other curve Cj∈CC_j\in\mathcal CCj​∈C is contained in the bounded region limited by CiC_iCi​.
  5. Two families of curves C\mathcal CC, C′\mathcal C'C′ are (topologically) equivalent if there is a homeomorphism h:R2→R2h:\mathbb R^2\to\mathbb R^2h:R2→R2 with h(⋃iCi)=⋃jCj′h\big(\bigcup_i C_i\big)=\bigcup_j C'_jh(⋃i​Ci​)=⋃j​Cj′​.
  6. A polynomial vector field realises C\mathcal CC if the set of all its limit cycles is equivalent to C\mathcal CC.

These notions give the precise content of Problem 5 and of Theorem 1.

Formalization Note The circle is Mathlib's unit circle Circle. A configuration is a Finset of subsets of ℝ × ℝ. The equivalence is stated between the family of curves and the family of limit cycles through the unions of their members, exactly as in the source.

Definition code
import Definitions.Def_HilbertSixteenth_PolyFields

/-!
# Topological configurations of limit cycles

Source: J. Llibre, *Sobre el problema 16 de Hilbert*, La Gaceta de la RSME 18 (2015),
no. 3, 543–554, §6 (Problem 5).
-/

namespace HilbertSixteenth

/-- `C` is a simple closed curve in the plane: the image of a continuous injective map from
the circle. -/
def IsJordanCurve (C : Set (ℝ × ℝ)) : Prop :=
  ∃ φ : Circle → ℝ × ℝ, Continuous φ ∧ Function.Injective φ ∧ Set.range φ = C

/-- A configuration of limit cycles: a finite set of pairwise disjoint simple closed curves. -/
def IsConfiguration (𝒞 : Finset (Set (ℝ × ℝ))) : Prop :=
  (∀ C ∈ 𝒞, IsJordanCurve C) ∧ (𝒞 : Set (Set (ℝ × ℝ))).PairwiseDisjoint id

/-- The bounded region limited by `C`: the points off `C` whose connected component in the
complement of `C` is bounded. -/
def boundedRegion (C : Set (ℝ × ℝ)) : Set (ℝ × ℝ) :=
  {p | p ∉ C ∧ Bornology.IsBounded (connectedComponentIn Cᶜ p)}

/-- A curve `C` of the configuration `𝒞` is primary if no other curve of `𝒞` is contained in
the bounded region limited by `C`. -/
def IsPrimary (𝒞 : Finset (Set (ℝ × ℝ))) (C : Set (ℝ × ℝ)) : Prop :=
  C ∈ 𝒞 ∧ ∀ D ∈ 𝒞, D ≠ C → ¬ D ⊆ boundedRegion C

/-- Two families of curves are (topologically) equivalent if a homeomorphism of `ℝ²` maps
the union of the first onto the union of the second. -/
def TopEquivalent (A B : Set (Set (ℝ × ℝ))) : Prop :=
  ∃ h : (ℝ × ℝ) ≃ₜ (ℝ × ℝ), h '' (⋃₀ A) = ⋃₀ B

/-- The polynomial vector field `V` realises the configuration `𝒞`: the set of all limit
cycles of `V` is equivalent to `𝒞`. -/
def Realizes (V : PolyField) (𝒞 : Finset (Set (ℝ × ℝ))) : Prop :=
  TopEquivalent (𝒞 : Set (Set (ℝ × ℝ))) {O | IsLimitCycle V.toField O}

end HilbertSixteenth
Source
J. Llibre, *Sobre el problema 16 de Hilbert*, La Gaceta de la RSME 18 (2015), no. 3, pp. 543–554, §6 (Problem 5): configuration of limit cycles, primary curve, topological equivalence, realisation.
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; NON-BLIND

Disclosure — NON-BLIND read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements of this proposal, at the explicit request of the proposal owner. It is not independent testimony: its author knew the intended meaning of the code while writing it, so it may unconsciously read that intent into the code. Reviewers should compare the Lean code against the source directly and should not treat this text as an independent audit.

All sets live in R2=R×R\mathbb R^2=\mathbb R\times\mathbb RR2=R×R.

  • Jordan curve. CCC is a Jordan curve iff there exists a continuous, injective map φ\varphiφ from the unit circle S1⊂CS^1\subset\mathbb CS1⊂C to R2\mathbb R^2R2 whose image is exactly CCC.
  • Configuration. A finite set C\mathcal CC of subsets of R2\mathbb R^2R2 is a configuration iff every member is a Jordan curve and distinct members are disjoint. The empty set of curves is a configuration.
  • Bounded region of CCC. R(C)={p∉C:the connected component of p in the complement R2∖C is bounded}R(C)=\{p\notin C: \text{the connected component of } p \text{ in the complement } \mathbb R^2\setminus C \text{ is bounded}\}R(C)={p∈/C:the connected component of p in the complement R2∖C is bounded}.
  • Primary curve. CCC is primary in C\mathcal CC iff C∈CC\in\mathcal CC∈C and for every D∈CD\in\mathcal CD∈C with D≠CD\ne CD=C, DDD is not a subset of R(C)R(C)R(C).
  • Topological equivalence. Two families A,BA,BA,B of subsets of R2\mathbb R^2R2 (not necessarily finite) are equivalent iff there is a homeomorphism h:R2→R2h:\mathbb R^2\to\mathbb R^2h:R2→R2 with h(⋃C∈AC)=⋃D∈BDh\big(\bigcup_{C\in A}C\big)=\bigcup_{D\in B}Dh(⋃C∈A​C)=⋃D∈B​D. Only the unions are compared; the number of members is not explicitly required to match.
  • Realisation. A polynomial vector field VVV realises the finite family C\mathcal CC iff C\mathcal CC is equivalent (in the above sense) to the family of all limit cycles of the map p↦V(p)p\mapsto V(p)p↦V(p). If VVV has no limit cycles, the second union is empty, so VVV realises C\mathcal CC iff ⋃C=∅\bigcup\mathcal C=\varnothing⋃C=∅.

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me