Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6.11 — if SδS_\deltaSδ​ is closed, it is positively invariant

Proved
TeschlODE.Stability.sublevelComponent_positively_invariant

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

liapunov-functionordinary-differential-equationsp2o-batch-books5p2o-gran-per-chapterp2o-plan-bookp2o-v1stability

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), Φ\PhiΦ the flow with maximal intervals IxI_xIx​, x0∈Mx_0 \in Mx0​∈M a fixed point (f(x0)=0f(x_0) = 0f(x0​)=0), and LLL a Liapunov function at x0x_0x0​ on the open neighborhood U⊆MU \subseteq MU⊆M. Let δ∈R\delta \in \mathbb{R}δ∈R and let SδS_\deltaSδ​ be the connected component of {x∈U:L(x)≤δ}\{x \in U : L(x) \le \delta\}{x∈U:L(x)≤δ} containing x0x_0x0​. If SδS_\deltaSδ​ is closed, then it is positively invariant (6.17):

γ+(x)⊆Sδfor every x∈Sδ.\gamma_+(x) \subseteq S_\delta \qquad \text{for every } x \in S_\delta .γ+​(x)⊆Sδ​for every x∈Sδ​.

Formalization Note. "Closed" is closed in Rn\mathbb{R}^nRn (the book: SδS_\deltaSδ​ may fail to be closed because it can share boundary with U(x0)U(x_0)U(x0​)). The fixed point and the Liapunov function are the standing data of §6.6.

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

theorem sublevelComponent_positively_invariant {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 Φ)
    (x₀ : EuclideanSpace ℝ (Fin n)) (hx₀ : x₀ ∈ M) (hfix : f x₀ = 0)
    (U : Set (EuclideanSpace ℝ (Fin n))) (L : EuclideanSpace ℝ (Fin n) → ℝ)
    (hL : IsLiapunovFunction f M x₀ U L) (δ : ℝ)
    (hclosed : IsClosed (sublevelComponent U L x₀ δ)) :
    ∀ x ∈ sublevelComponent U L x₀ δ,
      semiOrbit 1 I Φ x ⊆ sublevelComponent U L x₀ δ := by sorry

end TeschlODE.Stability
Source
Teschl, Ordinary Differential Equations and Dynamical Systems (author's preliminary version of AMS GSM 140, 2012), p. 201, Lemma 6.11 (positive invariance as in Eq. (6.17), p. 193)
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 x0∈Mx_0\in Mx0​∈M with f(x0)=0f(x_0)=0f(x0​)=0. Let U⊆RnU\subseteq\mathbb{R}^nU⊆Rn and L:Rn→RL:\mathbb{R}^n\to\mathbb{R}L:Rn→R satisfy all of the following:

  • UUU is open, and x0∈U⊆Mx_0\in U\subseteq Mx0​∈U⊆M.
  • LLL is continuous on UUU, L(x0)=0L(x_0)=0L(x0​)=0, and L>0L>0L>0 on U∖{x0}U\setminus\{x_0\}U∖{x0​}.
  • For every integral curve φ\varphiφ of fff in MMM on any open interval (or empty set) JJJ, and all t0<t1t_0<t_1t0​<t1​ in JJJ with φ(t0),φ(t1)∈U∖{x0}\varphi(t_0),\varphi(t_1)\in U\setminus\{x_0\}φ(t0​),φ(t1​)∈U∖{x0​}, we have L(φ(t1))≤L(φ(t0))L(\varphi(t_1))\le L(\varphi(t_0))L(φ(t1​))≤L(φ(t0​)).

Let δ∈R\delta\in\mathbb{R}δ∈R. Let SδS_\deltaSδ​ be the connected component containing x0x_0x0​ of {x∈U:L(x)≤δ}\{x\in U: L(x)\le\delta\}{x∈U:L(x)≤δ} (empty if x0x_0x0​ is not in that set). Assume SδS_\deltaSδ​ is closed in Rn\mathbb{R}^nRn.

The theorem asserts that for every x∈Sδx\in S_\deltax∈Sδ​,

{Φ(t,x)  :  t∈Ix, t>0}⊆Sδ.\{\Phi(t,x)\;:\;t\in I_x,\ t>0\}\subseteq S_\delta.{Φ(t,x):t∈Ix​, t>0}⊆Sδ​.

Degenerate cases:

  • If δ<0\delta<0δ<0, then L(x0)=0>δL(x_0)=0>\deltaL(x0​)=0>δ, so Sδ=∅S_\delta=\emptysetSδ​=∅ and the statement is vacuous.
  • If δ=0\delta=0δ=0, then S0={x0}S_0=\{x_0\}S0​={x0​}, which is closed, and the statement asserts Φ(t,x0)=x0\Phi(t,x_0)=x_0Φ(t,x0​)=x0​ for all t>0t>0t>0 in Ix0I_{x_0}Ix0​​.
  • For n=0n=0n=0, it is trivial.
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