Processing Networks V: Lyapunov Stability Criteria for Fluid ModelsTextbook
Motivation
Mission III's Theorem 6.2 reduces SPN stability to a question about deterministic fluid model solutions: does every solution of a fixed system of equations get driven to the origin, uniformly in its starting size? Mission IV showed how to derive the extra, policy-specific equations a fluid model must satisfy. What remains is a method for proving that a system of fluid equations forces extinction — and the standard tool for that, across dynamical systems generally, is a Lyapunov function: a scalar-valued potential that decreases along every trajectory. J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org) devotes Chapter 8 to making this method precise for fluid models, and to explaining exactly why it is easier to apply here than the analogous drift condition for the underlying Markov chain.
The chapter's calculus culminates in a genuinely delicate real-analysis fact: the ordinary "Lyapunov function decreases everywhere it should" argument needs the function to be differentiable, but fluid model solutions are typically only Lipschitz (hence differentiable only almost everywhere), and some Lyapunov functions used later in the book (Chapter 10's entropy function) are not even Lipschitz. The chapter's most general result, Lemma 8.11, resolves this by working with the upper-right Dini derivative rather than the ordinary one, following an approach whose subtlety is illustrated by a counterexample due to L. Massoulié when one of its three hypotheses is dropped.
Setting
Throughout this mission, (D,F,T,Z) (without hats) denotes an arbitrary solution of the fluid
equations (6.1)-(6.6), restated from mission III (drafts in this series do not import one
another). A function is Lipschitz if it satisfies a Lipschitz bound on every bounded set,
with a constant that may depend on the set; it is globally Lipschitz if one constant works
everywhere. A point is a regular point of a fluid model solution if all four
components are differentiable there; because every solution is globally Lipschitz, the
non-regular points form a Lebesgue-null set. A Lyapunov function for a fluid model is a
Lipschitz function with and for
— a positive-definite potential.
Formalization targets
Goal: Lemma 8.11 — the general Dini-derivative extinction criterion
For continuous on , with a locally bounded upper Dini derivative and for a.e. with :
This is the weakest natural target: it drops the Lipschitz requirement of Lemma 8.5 entirely, replacing it with only continuity plus a one-sided, locally bounded derivative condition, and Lemmas 8.5 and 8.6 are recovered as the special cases for Lipschitz (respectively linear-type and square-root-type drift bounds).
Supporting milestones
Lemma 8.2 (composition of Lipschitz functions) and Lemma 8.3 (every fluid model solution is globally Lipschitz) supply the regularity Lemma 8.5 needs. Lemma 8.5 (linear drift bound) and Lemma 8.6 (square-root drift bound) are the two directly-applicable extinction criteria the book presents before generalizing to Lemma 8.11. Lemma 8.9 identifies a structural fact used in nearly every application: at a regular point, an empty buffer's fluid arrival and departure rates necessarily coincide. Lemma 8.10 gives the calculus of a pointwise maximum's derivative, needed for piecewise-linear Lyapunov functions. Theorem 8.12 is the chapter's worked illustration: the tandem queueing network's fluid model is stable under the standard load condition, proved with a linear Lyapunov function that (the chapter goes on to show) does not translate into a valid Markov-chain drift bound — the concrete illustration of why the fluid-model method earns its keep.
Significance
The result itself. Lemma 8.11 is the single tool every subsequent stability chapter of the book applies: feedforward and generalized Jackson networks, the Rybko–Stolyar boundary, back-pressure control, proportionally fair allocation (whose entropy Lyapunov function is exactly the non-Lipschitz case this lemma was built to handle), and task allocation all conclude fluid model stability via an instance of this criterion. Theorem 8.12's side observation — the same Lyapunov function that works effortlessly for the fluid model fails to give a Markov-chain drift bound at all — is the chapter's explicit argument for why fluid-model methodology is not just a convenience but a genuine technical advance over direct Markov-chain analysis.
Formalizing it. Searches for "Lyapunov function," "Dini derivative," and "Lipschitz
continuous" (q=Lyapunov%20function, q=Dini%20derivative) surface no reusable
extinction-criterion result; the one Lyapunov-adjacent hit, posDef_quadratic_form_lower_bound,
is an unrelated quadratic-form bound. This mission is a from-scratch formalization of the fluid
model's Lyapunov calculus, reusing Mathlib's own LipschitzOnWith/LipschitzWith substrate for
Definition 8.1 rather than restating ordinary Lipschitz continuity, per this mission's own
BRIEF.md recommendation.
Difficulty
The central difficulty is Lemma 8.11 itself: proving that a bound on the upper Dini derivative (not the ordinary derivative) forces to decrease is genuinely subtler than the Lipschitz case, because is one-sided and may not correspond to an actual rate of change at every point. The book's own proof needs a technical intermediate inequality (8.8), , and states explicitly that this can fail without the local upper-boundedness hypothesis (b) — citing a counterexample of L. Massoulié — so a formalization that dropped condition (b) as "obviously implied by continuity" would be proving a false generalization, not a faithful specialization. A second difficulty, specific to Lemma 8.5/8.6's formalization, is that the hypothesis " for almost all with " implicitly presupposes exists almost everywhere (a fact Lemma 8.3 supplies, not something to assume outright) — stating the hypothesis as a universally quantified implication over any witnessing derivative avoids smuggling in an unearned existence claim.
Formalization scope
Mission III's fluid-equation apparatus is restated locally (per that mission's own note that
later chunks cannot import its draft), unmodified. Definition 8.1's two Lipschitz notions
(bounded-set-wise and global) are formalized via Mathlib's own LipschitzOnWith, generalized
over arbitrary (pseudo)metric domain and codomain types so the same definition serves
and uniformly — reusing Mathlib
substrate rather than restating Definition 8.1's - inequality from scratch,
per BRIEF.md's explicit recommendation. The upper-right Dini derivative is restated inline
(Appendix A.4 is out of series scope) via Filter.limsup along the right-neighborhood filter, and
is used throughout Lemma 8.11 in place of the ordinary derivative — using deriv instead would
be a strictly stronger, unfaithful hypothesis. Lemma 8.10's pointwise maximum is a supremum over
the finite index type Fin d, always a genuine maximum with no junk-value risk. Theorem 8.12
restates the tandem queueing network's already-reduced fluid equations (8.11)-(8.15) directly,
since Figure 1.1 belongs to Chapter 1, outside this mission series. A formalization that replaced
Lemma 8.11's Dini-derivative hypotheses with ordinary-derivative ones, or that dropped condition
(b)'s local bound, would each be an unfaithful strengthening or a false generalization — both
ruled out here. The Lyapunov extinction criteria (lyapunov_extinction_linear,
lyapunov_extinction_sqrt, dini_extinction_criterion) are the primary reusable contributions,
intended for direct reuse (matching shape, since drafts do not import one another) by every later
stability mission in the series; contributions completing the eight by sorry proofs are
welcome.
Selected references
- J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
- L. Massoulié, "Structural properties of proportional fairness: stability and insensitivity," Annals of Applied Probability 17 (2007), 809–839.
- J. G. Dai, "On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models," Annals of Applied Probability 5 (1995), 49–77.