Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.6 — ωσ(x)\omega_\sigma(x)ωσ​(x) is nonempty, compact and connected when γσ(x)\gamma_\sigma(x)γσ​(x) lies in a compact set

Proved
TeschlODE.Stability.omegaLimitSet_nonempty_compact_connected

by mikedeng1 · Sep 28, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamical-systemslimit-setordinary-differential-equationsp2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1

Let M⊆RnM \subseteq \mathbb{R}^nM⊆Rn be open, f∈C1(M,Rn)f \in C^1(M, \mathbb{R}^n)f∈C1(M,Rn), and Φ\PhiΦ the flow with maximal intervals IxI_xIx​. Let σ∈{+1,−1}\sigma \in \{+1, -1\}σ∈{+1,−1} and x∈Mx \in Mx∈M. If γσ(x)\gamma_\sigma(x)γσ​(x) is contained in a compact set C⊆MC \subseteq MC⊆M, then

ωσ(x)  is nonempty, compact, and connected.\omega_\sigma(x) \ \text{ is nonempty, compact, and connected.}ωσ​(x)  is nonempty, compact, and connected.

Formalization Note. The book writes "a compact set CCC"; its proof starts with Lemma 6.3, which needs C⊆MC \subseteq MC⊆M, so C⊆MC \subseteq MC⊆M is part of the hypothesis (a compact set reaching ∂M\partial M∂M allows orbits that leave MMM in finite time, with empty ωσ(x)\omega_\sigma(x)ωσ​(x)). Mathlib's IsConnected already includes nonemptiness; nonemptiness is also stated separately.

Preamble
import Mathlib
import Definitions.Def_TeschlODE_Stability_IsIntegralCurve
import Definitions.Def_TeschlODE_Stability_IsMaximalFlow
import Definitions.Def_TeschlODE_Stability_semiOrbit
import Definitions.Def_TeschlODE_Stability_omegaLimitSet
Formal statement
namespace TeschlODE.Stability

theorem omegaLimitSet_nonempty_compact_connected {n : ℕ}
    (f : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (M : Set (EuclideanSpace ℝ (Fin n))) (hM : IsOpen M) (hf : ContDiffOn ℝ 1 f M)
    (I : EuclideanSpace ℝ (Fin n) → Set ℝ)
    (Φ : ℝ → EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
    (hΦ : IsMaximalFlow f M I Φ)
    (σ : ℝ) (hσ : σ = 1 ∨ σ = -1) (x : EuclideanSpace ℝ (Fin n)) (hx : x ∈ M)
    (C : Set (EuclideanSpace ℝ (Fin n))) (hC : IsCompact C) (hCM : C ⊆ M)
    (horb : semiOrbit σ I Φ x ⊆ C) :
    (omegaLimitSet M σ I Φ x).Nonempty ∧ IsCompact (omegaLimitSet M σ I Φ x) ∧
      IsConnected (omegaLimitSet M σ I Φ x) := by sorry

end TeschlODE.Stability
Source
Teschl, Ordinary Differential Equations and Dynamical Systems (author's preliminary version of AMS GSM 140, 2012), p. 194, Lemma 6.6
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

This is a theorem. Let n∈Nn\in\mathbb{N}n∈N, let M⊆RnM\subseteq\mathbb{R}^nM⊆Rn be open, and let f:Rn→Rnf:\mathbb{R}^n\to\mathbb{R}^nf:Rn→Rn be continuously differentiable on MMM. Let (I,Φ)(I,\Phi)(I,Φ) be a maximal flow of fff on MMM, meaning that for every x∈Mx\in Mx∈M:

  • IxI_xIx​ is empty or an open interval containing 000,
  • Φ(0,x)=x\Phi(0,x)=xΦ(0,x)=x,
  • t↦Φ(t,x)t\mapsto\Phi(t,x)t↦Φ(t,x) stays in MMM and solves ∂tΦ=f(Φ)\partial_t\Phi=f(\Phi)∂t​Φ=f(Φ) on IxI_xIx​,
  • every solution in MMM on an open interval J∋0J\ni0J∋0 starting at xxx has J⊆IxJ\subseteq I_xJ⊆Ix​ and agrees with Φ(⋅,x)\Phi(\cdot,x)Φ(⋅,x) on JJJ.

Let σ∈{1,−1}\sigma\in\{1,-1\}σ∈{1,−1}, x∈Mx\in Mx∈M, and let C⊆MC\subseteq MC⊆M be compact. Assume

{Φ(t,x)  :  t∈Ix, σt>0}⊆C.\{\Phi(t,x)\;:\;t\in I_x,\ \sigma t>0\}\subseteq C.{Φ(t,x):t∈Ix​, σt>0}⊆C.

Let ωσ(x)\omega_\sigma(x)ωσ​(x) be the set of y∈My\in My∈M for which there is a real sequence (tk)k∈N(t_k)_{k\in\mathbb{N}}(tk​)k∈N​ with tk∈Ixt_k\in I_xtk​∈Ix​ for all kkk, σtk→+∞\sigma t_k\to+\inftyσtk​→+∞ and Φ(tk,x)→y\Phi(t_k,x)\to yΦ(tk​,x)→y. The theorem asserts that ωσ(x)\omega_\sigma(x)ωσ​(x) is:

  • nonempty,
  • compact, and
  • connected.

Degenerate cases:

  • The hypotheses cannot hold with C=∅C=\emptysetC=∅, because the semi-orbit is nonempty when IxI_xIx​ is an open set containing 000.
  • For n=0n=0n=0, Ix=RI_x=\mathbb{R}Ix​=R is forced, and ωσ(x)=R0\omega_\sigma(x)=\mathbb{R}^0ωσ​(x)=R0, the single point.
Human review
  • Endorsed by Shuze Chen · Oct 2, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 2, 2026

    Confirmed by the mission captain (proposal self-audit).

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