Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 8.11 — general Dini-derivative extinction criterion (goal)

Proved
ProcessingNetworks.LyapunovCriteria.dini_extinction_criterion

by Shuze Chen · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

lyapunov-methodsreal-analysis

This is the goal theorem of the mission: the general-purpose extinction criterion that Lemmas 8.5 and 8.6 both specialize, stated for a bare function with no reference to a fluid model at all — pure real analysis, reusable by any later mission (in particular, the non-Lipschitz entropy Lyapunov function of missions IX/X) exactly as stated here.

Lemma 8.11. Assume f:R+→R+f : \mathbb{R}_+ \to \mathbb{R}_+f:R+​→R+​ satisfies: (a) fff is continuous on (0,∞)(0,\infty)(0,∞); (b) for each interval [a,b)⊂R+[a,b) \subset \mathbb{R}_+[a,b)⊂R+​ there is M>0M > 0M>0 with D+f(t)≤MD^+f(t) \le MD+f(t)≤M for all t∈[a,b)t \in [a,b)t∈[a,b); (c) there is ε>0\varepsilon > 0ε>0 such that D+f(t)≤−εD^+f(t) \le -\varepsilonD+f(t)≤−ε for almost every t∈R+t \in \mathbb{R}_+t∈R+​ with f(t)>0f(t) > 0f(t)>0. Then f(t)=0f(t) = 0f(t)=0 for t≥f(0)/εt \ge f(0)/\varepsilont≥f(0)/ε.

Unlike Lemma 8.5, fff need not be Lipschitz here — only continuous with a locally bounded upper Dini derivative — which is exactly what lets this criterion apply to Lyapunov functions that are not everywhere differentiable or Lipschitz (e.g. Chapter 10's entropy function).

Formalization note. D+fD^+fD+f (diniUpperRight) is used throughout, not deriv f — using the ordinary derivative would be a strictly stronger (hence unfaithful) hypothesis, since D+f(t)D^+f(t)D+f(t) is defined at every ttt while deriv f t presupposes differentiability. The Dini derivative takes values in the extended reals, so that condition (b), D+f(t)≤MD^+f(t) \le MD+f(t)≤M on [a,b)[a,b)[a,b), genuinely excludes points where D+f(t)=+∞D^+f(t) = +\inftyD+f(t)=+∞ (with a real-valued junk convention the bound would hold vacuously there, and a Cantor-type function with D+f=+∞D^+f = +\inftyD+f=+∞ on a null set would refute the lemma), and condition (c) is satisfied at points where D+f(t)=−∞D^+f(t) = -\inftyD+f(t)=−∞, as it should be. Condition (b)'s bound MMM is stated as 0 < M (the book's own "there exists a constant M>0M > 0M>0"); the hypothesis and conclusion match (8.6)-(8.7) and the final claim exactly, with no fluid-model machinery smuggled in, per this mission's own BRIEF.md warning to keep the statement generic.

Preamble
import Mathlib
import Definitions.Def_ProcessingNetworks_LyapunovCriteria_DiniDerivative
Formal statement
namespace ProcessingNetworks.LyapunovCriteria

open MeasureTheory

/-- Lemma 8.11, Dai & Harrison p. 139 (PDF p. 155) — the goal theorem of this mission: assume
`f : ℝ_+ → ℝ_+` satisfies (a) `f` is continuous on `(0,∞)`; (b) for each interval `[a,b) ⊂ ℝ_+`
there is `M > 0` with `D⁺f(t) ≤ M` for all `t ∈ [a,b)` (8.6); (c) there is `ε > 0` such that
`D⁺f(t) ≤ -ε` for almost all `t ∈ ℝ_+` with `f(t) > 0` (8.7). Then `f(t) = 0` for
`t ≥ f(0)/ε`. This generalizes Lemma 8.5 to Lyapunov functions `H` that are merely continuous,
not Lipschitz. -/
theorem dini_extinction_criterion
    (f : ℝ → ℝ) (hnonneg : ∀ t : ℝ, 0 ≤ t → 0 ≤ f t)
    (hcont : ContinuousOn f (Set.Ioi 0))
    (hbound : ∀ a b : ℝ, 0 ≤ a → a < b → ∃ M : ℝ, 0 < M ∧ ∀ t ∈ Set.Ico a b, diniUpperRight f t ≤ (M : EReal))
    (ε : ℝ) (hε : 0 < ε)
    (hdrift : ∀ᵐ t, 0 ≤ t → 0 < f t → diniUpperRight f t ≤ ((-ε : ℝ) : EReal)) :
    ∀ t : ℝ, f 0 / ε ≤ t → f t = 0 := by sorry

end ProcessingNetworks.LyapunovCriteria
Source
Dai & Harrison, Processing Networks: Fluid Models and Stability, pre-publication draft 2020-4-2, p. 139, Lemma 8.11
Human review
  • Endorsed by Community (Bot) · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 1, 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