Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6.13 (Liapunov) — a Liapunov function makes the fixed point stable

Proved
TeschlODE.Stability.liapunov_stable

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), and Φ\PhiΦ the flow of x˙=f(x)\dot x = f(x)x˙=f(x) with maximal intervals IxI_xIx​. Suppose x0∈Mx_0 \in Mx0​∈M is a fixed point of fff, f(x0)=0f(x_0) = 0f(x0​)=0. If there is a Liapunov function LLL at x0x_0x0​ (on an open neighborhood U⊆MU \subseteq MU⊆M of x0x_0x0​, in the sense of (6.35)–(6.36)), then x0x_0x0​ is stable: for every neighborhood U′U'U′ of x0x_0x0​ there is a neighborhood V⊆U′V \subseteq U'V⊆U′ of x0x_0x0​ such that for all x∈Vx \in Vx∈V,

Φ(t,x) is defined and Φ(t,x)∈U′for all t≥0.\Phi(t, x) \text{ is defined and } \Phi(t, x) \in U' \quad \text{for all } t \ge 0 .Φ(t,x) is defined and Φ(t,x)∈U′for all t≥0.

Formalization Note. The flow is local (no completeness is assumed); existence of the solution for all t≥0t \ge 0t≥0 is part of the conclusion, see the definition of stability.

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_IsStable
Formal statement
namespace TeschlODE.Stability

theorem liapunov_stable {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) :
    IsStable 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. 201, Theorem 6.13
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​)).

The theorem asserts that x0x_0x0​ is stable in the following sense:

For every neighbourhood NNN of x0x_0x0​ there is a neighbourhood VVV of x0x_0x0​ with V⊆NV\subseteq NV⊆N and V⊆MV\subseteq MV⊆M, such that for every x∈Vx\in Vx∈V and every real t≥0t\ge0t≥0:

t∈IxandΦ(t,x)∈N.t\in I_x\quad\text{and}\quad\Phi(t,x)\in N.t∈Ix​andΦ(t,x)∈N.

In particular, the conclusion includes that [0,∞)⊆Ix[0,\infty)\subseteq I_x[0,∞)⊆Ix​ for all xxx in some neighbourhood of x0x_0x0​.

Degenerate case: for n=0n=0n=0, the conclusion reduces to [0,∞)⊆Ix0[0,\infty)\subseteq I_{x_0}[0,∞)⊆Ix0​​, which the maximal-flow hypothesis already provides, since it forces Ix0=RI_{x_0}=\mathbb{R}Ix0​​=R.

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