LeanForControl

2 Ordinary differential equations

2.1 Gronwall–Bellman inequality

A function obeying an integral inequality is bounded by the solution of the corresponding integral equation. The two specializations are what the rest of the development actually calls: constant \(\Lambda \) gives exponential growth, and constant \(\Lambda \) and \(\mu \) gives the \(C e^{\mu (t-a)}\) bound behind every continuous-dependence estimate.

Theorem 57 Gronwall–Bellman inequality
✓
#

Khalil, Lemma A.1. Let \(\Lambda , \mu : [a,b] \to \mathbb {R}\) be continuous with \(\mu \ge 0\), and let \(y : [a,b] \to \mathbb {R}\) be continuous satisfying

\[ y(t) \; \le \; \Lambda (t) + \int _{a}^{t} \mu (s)\, y(s)\, \mathrm{d}s \qquad \forall \, t \in [a,b]. \]

Then

\[ y(t) \; \le \; \Lambda (t) + \int _{a}^{t} \Lambda (s)\, \mu (s)\, e^{\int _{s}^{t}\mu (\tau )\, \mathrm{d}\tau }\, \mathrm{d}s \qquad \forall \, t \in [a,b]. \]
Proof ▶

An integrating-factor argument. Write \(z(t) = \int _a^t \mu y\), \(M(t) = \int _a^t \mu \), and \(v = z + \Lambda - y\), so that \(v \ge 0\) is exactly the hypothesis. The transform \(w = e^{-M}z\) has, by the product rule and lemma 21,

\[ \dot w = e^{-M}\mu \, (y - z) = e^{-M}\mu \, (\Lambda - v) \; \le \; e^{-M}\mu \Lambda , \]

the inequality because \(e^{-M}\), \(\mu \) and \(v\) are all nonnegative — this is the only place \(\mu \ge 0\) is used, and it is essential: a sign change would reverse it. Integrating from \(a\), where \(w(a) = 0\), gives \(w(t) \le \int _a^t e^{-M(s)}\mu (s)\Lambda (s)\, ds\). Multiplying by \(e^{M(t)}\) and folding \(e^{M(t)}e^{-M(s)} = e^{\int _s^t \mu }\) turns this into the stated bound on \(z(t)\), and \(y \le \Lambda + z\) finishes.

Lemma 58 Gronwall–Bellman with a constant rate
✓
#

Khalil, Lemma A.1 (the case \(\Lambda (t) \equiv \Lambda \) constant). Let \(\mu \) be continuous and nonnegative on \([a,b]\), and let \(y\) be continuous with

\[ y(t) \; \le \; C + \int _{a}^{t} \mu (s)\, y(s)\, \mathrm{d}s \qquad \forall \, t \in [a,b]. \]

Then \(y(t) \le C\, e^{\int _{a}^{t}\mu (\tau )\, \mathrm{d}\tau }\) on \([a,b]\).

Proof ▶

theorem 57 at \(\Lambda \equiv C\) gives \(y(t) \le C + \int _a^t C\mu (s)e^{\int _s^t \mu }\, ds\), and the integral evaluates in closed form: \(s \mapsto -C\, e^{M(t)-M(s)}\) is an antiderivative of the integrand, so the integral is \(C e^{M(t)} - C\). The two \(C\)’s cancel.

Lemma 59 Gronwall–Bellman with constant data
✓
#

Khalil, Lemma A.1 (the case \(\Lambda \) and \(\mu \ge 0\) both constant). Let \(\mu \ge 0\) be constant and let \(y\) be continuous with

\[ y(t) \; \le \; C + \int _{a}^{t} \mu \, y(s)\, \mathrm{d}s \qquad \forall \, t \in [a,b]. \]

Then \(y(t) \le C\, e^{\mu (t-a)}\) on \([a,b]\). This is the form the continuous-dependence estimates use, and the reason their bounds carry a factor \(e^{L(t-t_0)}\).

Proof ▶

lemma 58 with \(\int _a^t \mu = \mu (t-a)\).

2.2 Existence, uniqueness and continuous dependence

Definition 60 Integral solution
✓
#

A function \(x\), defined on the segment between \(t_0\) and \(t_1\), is an integral solution of \(\dot{x} = F(t,x)\) with initial value \(x_0\) when

\[ x(t) \; =\; x_0 + \int _{t_0}^{t} F(s,\, x(s))\, \mathrm{d}s \]

for every \(t\) between \(t_0\) and \(t_1\), the integrand being integrable.

Lemma 61 Re-anchoring an integral solution
✓
#

Let \(x\) be an integral solution of \(\dot x = F(t,x)\) with initial value \(x_0\) on the segment between \(t_0\) and \(t_1\). Then for any \(s, r\) on that segment, \(x\) is an integral solution on the segment between \(s\) and \(r\), with initial value \(x(s)\):

\[ x(t) \; =\; x(s) + \int _{s}^{t} F(w, x(w))\, \mathrm{d}w \qquad \text{for } t \text{ between } s \text{ and } r . \]

Leaving both endpoints free means the domain need not shrink — taking \(s = t_1\) and \(r = t_0\) re-anchors at one end of the original segment while retaining all of it.

Proof ▶

Subtract the defining equations at \(t\) and at \(s\) and split the integral at \(s\), which is legitimate because \(w \mapsto F(w, x(w))\) is integrable on each piece, by the definition of an integral solution.

Lemma 62 Time reflection of an integral solution
✓
#

Let \(x\) be an integral solution of \(\dot x = F(t,x)\) with initial value \(x_0\) on the segment between \(t_0\) and \(t_1\). Then \(\sigma \mapsto x(t_0 + t_1 - \sigma )\) is an integral solution, with the same initial value \(x_0\), of the reflected field

\[ (r, y) \; \longmapsto \; -F(t_0 + t_1 - r,\; y) \]

on the segment between \(t_1\) and \(t_0\).

The map \(\sigma \mapsto t_0 + t_1 - \sigma \) is an involution exchanging the two endpoints, so reflection turns a statement anchored at \(t_0\) into one anchored at \(t_1\) and nothing more. Its purpose is to let an argument that is inherently forward-marching — a Grönwall bootstrap, say — be applied unchanged in backward time.

Proof ▶

Substituting \(r \mapsto t_0 + t_1 - r\) in the defining integral reverses the orientation of the interval, contributing one sign, and the negation of the field contributes another; the two cancel.

Lemma 63 Integral solutions are continuous
✓
#

An integral solution (definition 60) on the segment between \(t_0\) and \(t_1\) is continuous on that segment.

Proof ▶

It is \(x_0\) plus the primitive \(t \mapsto \int _{t_0}^{t} F(s, x(s))\, \mathrm{d}s\) of a function integrable on the segment, and such a primitive is continuous.

Lemma 64 Constant integral solutions at equilibria
✓
#

If \(F(t, p) = 0\) for every \(t\) between \(t_0\) and \(t_1\), the constant curve \(t \mapsto p\) is an integral solution (definition 60) of \(\dot x = F(t, x)\) there, with initial value \(p\).

Proof ▶

2.2.1 The integral and differential formulations

An ODE can be written as a differential equation, \(\dot x = F(t,x)\), or as an integral equation. The integral form presupposes no differentiability and carries its initial condition; it is the form of the trajectories of the Systems chapter, which are integral solutions on every segment, so the continuous-dependence and Grönwall arguments of this chapter apply to them directly. When the field is continuous along the solution the two forms are equivalent; the results below are the two directions of the fundamental theorem of calculus relating them. The last result is how statements on segments reach arbitrary intervals.

Lemma 65 Integral curves are integral solutions
✓
#

Let \(x\) be an integral curve of \(F\) on the segment between \(t_0\) and \(t_1\), with \(s \mapsto F(s, x(s))\) continuous there. Then \(x\) is an integral solution on that segment, anchored at its own value \(x(t_0)\):

\[ x(t) \; =\; x(t_0) + \int _{t_0}^{t} F(s, x(s))\, \mathrm{d}s . \]

Continuity of \(x\) itself is not assumed — it follows from differentiability.

Proof ▶

The fundamental theorem of calculus. The derivative hypothesis holds on an open neighbourhood of each interior point, so it yields the right-derivative form the theorem needs, and continuity of \(F\) along \(x\) gives the integrability side condition.

Lemma 66 Integral solutions are integral curves
✓
#

Let \(x\) be an integral solution of \(\dot x = F(t,x)\) on the segment between \(t_0\) and \(t_1\), with \(s \mapsto F(s, x(s))\) continuous there. Then \(x\) is an integral curve of \(F\) on that segment: it is differentiable, with \(\dot x(t) = F(t, x(t))\).

Proof ▶

Differentiating the primitive: the integral term has derivative \(F(t, x(t))\) by the fundamental theorem of calculus, and the constant \(x_0\) contributes nothing. Transport that along the defining equation, which says \(x\) agrees with the primitive.

Lemma 67 Integral and differential forms agree
✓

Given continuity of \(s \mapsto F(s, x(s))\) on the segment between \(t_0\) and \(t_1\), the two formulations agree: \(x\) is an integral solution anchored at \(x(t_0)\) if and only if it is an integral curve of \(F\) there. Continuity of \(F\) along \(x\) is exactly the price of the equivalence — without it the integral form is the weaker notion.

Proof ▶

The two implications are lemma 66 and lemma 65.

Lemma 68 Integral and differential forms agree, forward time
✓

lemma 67 in forward time: for \(t_0 \le t_1\) and \(s \mapsto F(s, x(s))\) continuous on \([t_0, t_1]\), \(x\) is an integral solution on \([t_0, t_1]\) anchored at \(x(t_0)\) if and only if it is an integral curve of \(F\) on \([t_0, t_1]\).

Proof ▶
Lemma 69 Segments that are neighbourhoods within a set
✓
#

Let \(I\) be a subset of a linearly ordered space with an order-closed topology, for instance \(\mathbb {R}\). For \(t \in I\) there are \(a \le t \le b\) in \(I\) such that \([a, b]\) is a neighbourhood of \(t\) within \(I\).

Proof ▶

If \(I\) has a point \(a {\lt} t\), every point of \(I\) near \(t\) is \(\ge a\); otherwise every point of \(I\) is \(\ge t\), and take \(a = t\). Likewise on the right.

2.2.2 Local existence

Lemma 70 Constant integral curves at equilibria
✓
#

If \(v(t, p) = 0\) for every \(t \in s\), then the constant curve \(t \mapsto p\) is an integral curve of \(\dot x = v(t, x)\) on \(s\).

Proof ▶
Lemma 71 Local existence for a \(C^{1}\) field
✓
#

Let \(g\) be an autonomous field that is \(C^1\) at \(x_0\). Then there is a \(T {\gt} 0\) and a curve \(\varphi \) with \(\varphi (0) = x_0\) that is an integral curve of \(g\) on \([0, T]\): a nontrivial solution segment exists from every point at which the field is \(C^1\).

The anchor \(0\) is a construction choice rather than a restriction — an autonomous field has no preferred time origin, so translating the curve in time gives a segment from any other anchor.

Reference: the Picard–Lindelöf local existence theorem.

Proof ▶

Picard–Lindelöf local existence: being \(C^1\) at \(x_0\) gives a closed ball on which \(g\) is Lipschitz, and hence a solution on some \((-\varepsilon , \varepsilon )\); take \(T := \varepsilon /2\).

Theorem 72 Picard–Lindelöf on a compact interval
✓
#

Let \(f : \mathbb {R} \to E \to E\) be jointly continuous and \(K\)-Lipschitz in the state variable, uniformly in time, on a Banach space \(E\). Then for every \(t_0 \le t_1\) and every \(x_0 \in E\) there is an \(\alpha \) with \(\alpha (t_0) = x_0\) solving \(\dot\alpha = f(t, \alpha )\) on all of \([t_0, t_1]\).

Global — rather than merely local — Lipschitz continuity is what makes the solution reach \(t_1\): it forces linear growth in the state, ruling out finite-time blowup.

Reference: Khalil, Nonlinear Systems (3rd ed.), Theorem 3.2 (Global Existence and Uniqueness), proved in his Appendix C.1. Difference: Khalil assumes \(f\) piecewise continuous in \(t\); here it is jointly continuous.

Proof ▶

Mathlib’s Picard–Lindelöf theorem supplies a solution on a time interval of length \(\Delta t\) only when \(\| f\| \le L\) on a ball of radius \(a\) about \(x_0\) with \(L\, \Delta t \le a\). For a \(K\)-Lipschitz field the sharpest available bound on that ball is \(L = M + K a\), where \(M\) bounds \(\| f(t, x_0)\| \), so the condition becomes \(M\Delta t \le a(1 - K \Delta t)\) — solvable in \(a\) exactly when \(K \Delta t {\lt} 1\). One application therefore never covers a long interval.

Take instead a step \(h\) with \(Kh \le 1/2\); then \(a = 2Mh\) and \(L = 2M\) satisfy the hypotheses, since \(\| f(t,x)\| \le M + Ka = M(1 + 2Kh) \le 2M\) and \(Lh = 2Mh = a\). This gives a solution on \([s, s+h]\) from any initial state. Chain \(n\) such steps, splicing consecutive segments at their shared endpoint: away from a junction the glued curve agrees with one piece on a neighbourhood, and at a junction the two one-sided derivatives combine. Choosing \(n\) with \(nh \ge t_1 - t_0\) covers \([t_0, t_1]\).

Lemma 73 Right derivatives of an integral curve
✓
#

If \(\alpha \) is an integral curve of \(f\) on \([t_0, t_1]\), then for every \(s \in [t_0, t_1)\) it has right derivative \(f(s, \alpha (s))\) at \(s\), i.e. \(\alpha \) has derivative \(f(s,\alpha (s))\) within \([s,\infty )\) at \(s\).

Proof ▶
Lemma 74 Gronwall separation of two solutions
✓
#

Let \(f\) be \(K\)-Lipschitz in the state variable, uniformly in time, and let \(\alpha , \beta \) be integral curves of \(f\) on \([t_0, t_1]\). Then

\[ d(\alpha (t), \beta (t)) \le d(\alpha (t_0), \beta (t_0))\, e^{K(t - t_0)} \qquad \forall \, t \in [t_0, t_1]. \]

Uniqueness (lemma 75) is the case where the initial distance is zero; continuous dependence on the initial state is the statement read as a bound on the whole interval.

Reference: Khalil, Nonlinear Systems (3rd ed.), Theorem 3.4, in the unperturbed case: two solutions of the same field, so the perturbation bound is zero.

Proof ▶
Lemma 75 Uniqueness of solutions
✓
#

Let \(f\) be \(K\)-Lipschitz in the state variable, uniformly in time, and let \(\alpha , \beta \) be integral curves of \(f\) on \([t_0, t_1]\) with \(\alpha (t_0) = \beta (t_0)\). Then \(\alpha = \beta \) on \([t_0, t_1]\).

Reference: Khalil, Nonlinear Systems (3rd ed.), the uniqueness half of Theorem 3.2.

Proof ▶

The initial distance in lemma 74 is zero, so the bound forces the distance to vanish throughout.

Theorem 76 Picard–Lindelöf on the forward ray
✓
#

Let \(f\) be jointly continuous and \(K\)-Lipschitz in the state variable, uniformly in time. Then for every \(t_0\) and \(x_0\) there is an \(\alpha \) with \(\alpha (t_0) = x_0\) solving \(\dot\alpha = f(t,\alpha )\) on all of \([t_0,\infty )\), and any other such solution agrees with it on \([t_0,\infty )\).

Uniqueness is agreement on \([t_0,\infty )\), not equality of functions: the defining condition says nothing about \(t {\lt} t_0\), so solutions may differ there.

Reference: Khalil, Nonlinear Systems (3rd ed.), Theorem 3.2, whose \(t_1\) is arbitrary, extended to the forward ray.

Proof ▶

For each \(n\) take a solution \(\alpha _n\) on \([t_0, t_0+n]\) (theorem 72). By uniqueness (lemma 75) these agree wherever two of them are both defined, so \(\Phi (t) := \alpha _{\lceil t - t_0\rceil }(t)\) is well defined and agrees with \(\alpha _n\) on all of \([t_0, t_0+n]\). Near any \(t \ge t_0\) choose \(n {\gt} t - t_0\); then \([t_0, t_0+n]\) is a neighbourhood of \(t\) within \([t_0,\infty )\) on which \(\Phi = \alpha _n\), so \(\Phi \) inherits the derivative there. Uniqueness on the ray follows by applying the compact-interval uniqueness at each \(n\).

Theorem 77 Picard–Lindelöf, scalar integral form
✓

Let \(g : \mathbb {R} \to \mathbb {R} \to \mathbb {R}\) be jointly continuous and \(L\)-Lipschitz in its state argument, uniformly in time, and let \(t_0 \le t_1\). Then for every \(x_0\) there is a \(z\), continuous on \([t_0, t_1]\), that is an integral solution of \(\dot z = g(t, z)\) with \(z(t_0) = x_0\) and has right derivative \(g(s, z(s))\) at each \(s \in [t_0, t_1)\).

This is the scalar specialization of theorem 72; it discharges the perturbed-solution hypothesis that theorem 82 takes for generality.

Reference: Khalil, Nonlinear Systems (3rd ed.), Theorem 3.2, scalar case.

Proof ▶

Apply theorem 72 with \(E = \mathbb {R}\). Continuity on \([t_0,t_1]\) is automatic for an integral curve, which converts the differential form into the integral one (lemma 68); the right derivatives are lemma 73.

2.2.3 Continuous dependence

Two solutions of the same equation, started at different points or subject to different perturbations, separate no faster than exponentially — at a rate fixed by the Lipschitz constant of the field. Everything downstream that needs uniqueness gets it from here, by taking the two solutions to agree initially and the perturbation to vanish, which collapses the bound to zero.

Theorem 78 Grönwall separation of two integral solutions
✓

Let \(a \le b\) and \(K \ge 0\), let \(u\) be an integral solution (definition 60) of \(\dot u = F(t, u)\) on \([a, b]\) with initial value \(u_0\) and \(v\) one of \(\dot v = G(t, v)\) with initial value \(v_0\), and suppose \(\| F(t, u(t)) - G(t, v(t))\| \le K\, \| u(t) - v(t)\| \) for \(t \in (a, b)\). Then

\[ \| u(t) - v(t)\| \le \| u_0 - v_0\| \, e^{K(t - a)} \qquad \forall \, t \in [a, b]. \]

No regularity in time is assumed.

Reference: Khalil, Nonlinear Systems (3rd ed.), continuous dependence on initial states, in the unperturbed case.

Proof ▶

Subtracting the integral equations, \(\| u(t) - v(t)\| \le \| u_0 - v_0\| + \int _a^t K\, \| u - v\| \); the solutions are continuous (lemma 63), so Grönwall’s inequality (lemma 59) applies.

Theorem 79 Continuous dependence on initial states and parameters
✓

After Khalil, Nonlinear Systems (3rd ed.). Let \(L {\gt} 0\) and let \(f\) be \(L\)-Lipschitz in its state argument on the segment between \(t_0\) and \(t_1\), with no regularity in time, let \(y\) be an integral solution of \(\dot y = f(t,y)\) with \(y(t_0) = y_0\), and let \(z\) be an integral solution of the perturbed equation \(\dot z = f(t,z) + g(t,z)\) with \(z(t_0) = z_0\), where \(\| g(t,x)\| \le \mu \). Then for every \(t\) on that segment,

\[ \| y(t) - z(t)\| \; \le \; \| y_0 - z_0\| \, e^{L|t-t_0|} \; +\; \frac{\mu }{L}\bigl(e^{L|t-t_0|} - 1\bigr). \]

Two solutions may separate, but no faster than exponentially, at a rate set by the Lipschitz constant alone; the two error sources — a different starting point and a perturbed field — contribute additively. The bound is stated on the unordered segment, so it runs in either time direction.

Neither \(f\) nor \(g\) is assumed continuous in time, so \(y\) and \(z\) need not be differentiable anywhere. That is why the theorem is phrased over the integral formulation rather than the differential one.

Proof ▶

The forward case is Grönwall’s inequality with forcing. Subtracting the two integral equations, \(y - z\) is given by an integral, so \(\| y - z\| \) is absolutely continuous (lemma 38) and, at almost every \(t\), \(y - z\) has derivative \(f(t, y) - f(t, z) - g(t, z)\) (lemma 39). The norm of a curve changes no faster than the curve (lemma 41), so almost everywhere

\[ \frac{\mathrm{d}}{\mathrm{d}t}\| y(t) - z(t)\| \; \le \; L\, \| y(t) - z(t)\| + \mu , \]

the Lipschitz hypothesis bounding the \(f\)-difference and the uniform bound on \(g\) the rest; lemma 48 delivers the bound.

That argument runs forward in time, so rather than repeat it for the backward case, reflect: lemma 62 sends \(\sigma \mapsto t_0 + t_1 - \sigma \) and negates the field, turning the backward instance into a forward one on \([t_1, t_0]\) to which the same argument applies unchanged.

The same mechanism bounds a single solution from below: an equilibrium cannot be approached faster than exponentially.

Theorem 80 Continuous dependence on parameters
✓

After Khalil, Nonlinear Systems (3rd ed.). Let \(t_0 \le t_1\), \(L {\gt} 0\), and let \(f\) be \(L\)-Lipschitz in its state argument on \([t_0, t_1]\). If \(y\) is an integral solution of \(\dot{y} = f(t,y)\) from \(y_0\) and \(z\) one of \(\dot{z} = f(t,z) + g(t,z)\) from \(z_0\), with \(\| g(t,x)\| \le \alpha \) and \(\| z_0 - y_0\| \le \alpha \), and \(\alpha (1 + 1/L)e^{L(t_1-t_0)} \le \varepsilon \), then \(\| y(t) - z(t)\| \le \varepsilon \) for all \(t \in [t_0, t_1]\).

Proof ▶

Specialise theorem 79 with \(\mu = \alpha \) and \(\| y_0 - z_0\| \le \alpha \): for \(t \in [t_0, t_1]\) it gives \(\| y(t) - z(t)\| \le \alpha e^{L(t-t_0)} + \frac{\alpha }{L}(e^{L(t-t_0)} - 1) = \alpha (1 + 1/L)e^{L(t-t_0)} - \alpha /L\). Drop the \(-\alpha /L\) and bound \(e^{L(t-t_0)}\) by \(e^{L(t_1-t_0)}\) to get at most \(\varepsilon \).

2.3 Comparison lemma

The comparison lemma bounds a function satisfying a differential inequality by the solution of the corresponding differential equation. The inequality is stated with the Dini derivative, so \(v\) need only be continuous — which is what makes the lemma applicable to \(\| x(t)\| \), not differentiable where a trajectory crosses the origin.

Lemma 81 Integral form from a pointwise derivative
✓
#

Let \(u\) be continuous on \([t_0, t_1]\) with \(u(t_0) = u_0\) and \(\dot u(t) = f(t, u(t))\) at every interior point, and let \(f\) be jointly continuous. Then \(u\) is an integral solution:

\[ u(s) = u_0 + \int _{t_0}^{s} f(\tau , u(\tau ))\, \mathrm{d}\tau . \]

.

Proof ▶

The fundamental theorem of calculus on \([t_0, s]\); the integrand is continuous there, being a composition of continuous maps.

Theorem 82 Comparison lemma
✓

The comparison lemma of Khalil, Nonlinear Systems (3rd ed.). Let \(f\) be jointly continuous and \(L\)-Lipschitz in its state argument on \([t_0, t_1]\), and suppose

  1. \(u\) is continuous on \([t_0,t_1]\) and solves \(\dot u = f(t,u)\) with \(u(t_0) = u_0\);

  2. \(v\) is continuous on \([t_0,t_1]\) with \(v(t_0) \le u_0\), satisfies the Dini subsolution inequality \(D^{+}v(t) \le f(t, v(t))\);

  3. for every \(\lambda {\gt} 0\) the perturbed equation \(\dot z = f(t,z) + \lambda \), \(z(t_0) = u_0\), has a solution on \([t_0,t_1]\).

Then \(v(t) \le u(t)\) for all \(t \in [t_0, t_1]\).

The perturbed solutions in (3) are taken as a hypothesis for generality, so that callers with solutions already in hand need not re-derive them. Under the hypotheses already listed they always exist: \(f + \lambda \) is Lipschitz exactly when \(f\) is, so theorem 77 discharges (3).

Proof ▶

Fix \(\lambda {\gt} 0\) and let \(z_\lambda \) be as in hypothesis (3).

Claim: \(v \le z_\lambda \) on \([t_0,t_1]\). Otherwise \(v(t_{\mathrm{bad}}) {\gt} z_\lambda (t_{\mathrm{bad}})\) for some \(t_{\mathrm{bad}}\), and since \(v(t_0) \le z_\lambda (t_0)\) the continuous difference \(v - z_\lambda \) has a last zero \(a {\lt} t_{\mathrm{bad}}\), with \(v {\gt} z_\lambda \) on \((a, t_{\mathrm{bad}}]\). Being below \(v\) immediately to the right of \(a\) forces \(\dot z_\lambda (a) \le D^{+}v(a)\), so

\[ f(a, z_\lambda (a)) + \lambda \; \le \; D^{+}v(a) \; \le \; f(a, v(a)) = f(a, z_\lambda (a)), \]

contradicting \(\lambda {\gt} 0\).

Now let \(\varepsilon {\gt} 0\) and choose \(\lambda \) small enough that theorem 80 — which applies because \(f\) is Lipschitz in its state argument, and which treats \(\lambda \) as a perturbation of size \(\lambda \) — gives \(\| u - z_\lambda \| \le \varepsilon /2\) on \([t_0,t_1]\). Then \(v \le z_\lambda \le u + \varepsilon \). As \(\varepsilon \) was arbitrary, \(v \le u\).

Theorem 83 Comparison lemma for absolutely continuous functions
✓

Let \(v, u\) be real and absolutely continuous on \([a, b]\) with \(v(a) \le u(a)\), and let \(f : \mathbb {R} \times \mathbb {R} \to \mathbb {R}\) and \(L \in \mathbb {R}\) be such that, for almost every \(t \in (a, b)\),

\[ v'(t) \le f(t, v(t)), \qquad f(t, u(t)) \le u'(t), \qquad f(t, v(t)) - f(t, u(t)) \le L\, \bigl(v(t) - u(t)\bigr) \ \text{ if } u(t) {\lt} v(t). \]

Then \(v(t) \le u(t)\) for all \(t \in [a, b]\).

The last condition holds when \(f(t, \cdot )\) is \(L\)-Lipschitz. The textbook comparison lemma (theorem 82) asks \(v\) only continuous, with the Dini inequality at every point; neither implies the other.

Reference: Khalil, Nonlinear Systems (3rd ed.), the comparison lemma.

Proof ▶

The function \(w(t) = e^{-L(t - a)}(v(t) - u(t))\) is absolutely continuous with \(w(a) \le 0\), and for almost every \(t\) with \(w(t) {\gt} 0\), that is, \(u(t) {\lt} v(t)\),

\[ w'(t) = e^{-L(t-a)}\bigl(v'(t) - u'(t) - L(v(t) - u(t))\bigr) \le e^{-L(t-a)}\bigl(f(t, v(t)) - f(t, u(t)) - L(v(t) - u(t))\bigr) \le 0. \]

By lemma 45, \(w \le 0\) on \([a, b]\), that is, \(v \le u\).

2.4 Lie derivatives

The rate of change of a function \(V(t, x)\) along the integral curves of a time-dependent vector field, with no differential-equation content beyond the chain rule: the quantity that every Lyapunov, Chetaev and invariance argument bounds. Along a classical solution it is the derivative of \(t \mapsto V(t, x(t))\) at every time. Along a trajectory of a system, \(t \mapsto V(t, x(t))\) is only absolutely continuous, for \(V\) locally Lipschitz: the Lie derivative is its derivative at almost every time, and the arguments integrate a bound on it.

Definition 84 Lie derivative along a vector field
✓
#

For \(V : \mathbb {R} \times E \to \mathbb {R}\) and a time-dependent vector field \(v : \mathbb {R} \times E \to E\), the Lie derivative of \(V\) along \(v\) is

\[ L_v V(t, x) = \frac{\partial V}{\partial t}(t, x) + \frac{\partial V}{\partial x}(t, x)\, v(t, x), \]

the derivative of \(V\) at \((t, x)\) in the direction \((1, v(t, x))\): the Lie derivative of \(V\), as a function on \(\mathbb {R} \times E\), along the autonomous field \((t, x) \mapsto (1, v(t, x))\).

Lemma 85 Lie derivative of a time-invariant function
✓
#

If \(V\) does not depend on \(t\) and is differentiable at \(x\), then \(L_v V(t, x) = DV(x)\, v(t, x)\).

Proof ▶
Lemma 86 Lie derivative of \(V(x) + ct\)
✓
#

If \(V\) does not depend on \(t\) and is differentiable at \(x\), then the Lie derivative of \((t, x) \mapsto V(x) + ct\) along \(v\) is \(DV(x)\, v(t, x) + c\).

Proof ▶
Lemma 87 Chain rule along an integral curve
✓

Let \(\gamma \) be an integral curve of \(v\) on \(I\), and \(V\) differentiable at \((t, \gamma (t))\) for \(t \in I\). Then for \(t \in I\), within \(I\),

\[ \frac{d}{dt}\, V(t, \gamma (t)) = L_v V(t, \gamma (t)) \]

(definition 84).

Proof ▶
Lemma 88 The Lie derivative along a solution
✓

Let \(\gamma \) be an integral curve of \(v\) on \([t, \infty )\), \(V\) differentiable at \((t, \gamma (t))\), and let \(\tau \mapsto V(\tau , \gamma (\tau ))\) have right derivative \(w\) at \(t\). Then \(L_v V(t, \gamma (t)) = w\).

Proof ▶

By lemma 87 the right derivative is also \(L_v V(t, \gamma (t))\), and right derivatives are unique.

Lemma 89 The Lie derivative of an integral along a solution
✓

Let \(\gamma \) be an integral curve of \(v\) on \([t, \infty )\), \(V\) differentiable at \((t, \gamma (t))\), \(\psi \) continuous, and \(V(\tau , \gamma (\tau )) = C + \int _t^\tau \psi \) for \(\tau \ge t\). Then \(L_v V(t, \gamma (t)) = \psi (t)\).

Proof ▶

By the fundamental theorem of calculus the right-hand side has derivative \(\psi (t)\) at \(t\); apply lemma 88.

Lemma 90 Lie derivative along a perturbed field
✓
#

If \(V\) is differentiable at \((t, x)\), then for any two fields \(v\) and \(w\),

\[ L_w V(t, x) = L_v V(t, x) + \frac{\partial V}{\partial x}(t, x)\, \bigl(w(t, x) - v(t, x)\bigr) \]

(definition 84).

Proof ▶

Linearity of the derivative of \(V\) at \((t, x)\) in the direction \((1, w) = (1, v) + (0, w - v)\); its value on \((0, e)\) is the state derivative applied to \(e\).

Lemma 91 Nonpositive Lie derivative along an integral curve
✓

Let \(\gamma \) be an integral curve of \(v\) on an interval \(s\), \(V\) differentiable at \((t, \gamma (t))\) for \(t \in s\), and \(L_v V(t, \gamma (t)) \le 0\) at every interior point \(t\) of \(s\). Then \(t \mapsto V(t, \gamma (t))\) is nonincreasing on \(s\).

Proof ▶

The mean value theorem, with the derivative given by lemma 87.

Lemma 92 Continuity of the Lie derivative
✓
#

If \(V\) is \(C^1\) and \(v\) is continuous, then \((t, x) \mapsto L_v V(t, x)\) is continuous.

Proof ▶

2.5 \(\omega \)-limit sets

The points a curve or sequence returns arbitrarily close to, arbitrarily late: its cluster points at infinity, which is the \(\omega \)-limit of topological dynamics for a single orbit. These are the topological facts behind LaSalle’s invariance principle, in continuous and in discrete time alike: a continuous function converging along the orbit is constant on its \(\omega \)-limit set, an orbit trapped in a closed set has its \(\omega \)-limit set there, and an orbit trapped in a compact set converges to its \(\omega \)-limit set.

Definition 93 \(\omega \)-limit set
✓
#

The \(\omega \)-limit set of \(\varphi : \tau \to X\), for \(\tau \) a preordered index set such as \(\mathbb {R}\) or \(\mathbb {N}\), is the set of cluster points of \(\varphi \) as \(t \to \infty \):

\[ \omega (\varphi ) = \bigcap _{T} \overline{\{ \varphi (t) : t \ge T\} }, \]

the points \(y\) such that \(\varphi (t)\) is frequently in every neighbourhood of \(y\) as \(t \to \infty \).

Lemma 94 Membership in the \(\omega \)-limit set
✓
#

\(y \in \omega (\varphi )\) (definition 93) if and only if for every neighbourhood \(U\) of \(y\) there are arbitrarily large \(t\) with \(\varphi (t) \in U\).

Proof ▶
Lemma 95 The \(\omega \)-limit set as Mathlib’s \(\omega \)-limit
✓
#

definition 93 is the \(\omega \)-limit, in the sense of topological dynamics, of the one-member family \(\{ \varphi \} \).

Proof ▶
Lemma 96 A nonincreasing function bounded below on a ray converges
✓
#

If \(f\) is nonincreasing and bounded below on \([a, \infty )\), then \(f(t)\) converges as \(t \to \infty \).

Proof ▶

\(t \mapsto f(\max \{ t, a\} )\) is nonincreasing and bounded below, so it converges to its infimum, and it agrees with \(f\) on \([a, \infty )\).

Lemma 97 A limit of \(g \circ \varphi \) is the value of \(g\) on \(\omega (\varphi )\)
✓
#

Let \(g : X \to Y\) be continuous, \(Y\) Hausdorff, and \(g(\varphi (t)) \to L\) as \(t \to \infty \). Then \(g(y) = L\) for every \(y \in \omega (\varphi )\) (definition 93).

Proof ▶

\(g(y)\) is a cluster point of \(g \circ \varphi \), which converges to \(L\); in a Hausdorff space the two coincide.

Lemma 98 The \(\omega \)-limit set of a curve trapped in a closed set
✓

If \(\Omega \) is closed and \(\varphi (t) \in \Omega \) for all large \(t\), then \(\omega (\varphi ) \subseteq \Omega \).

Proof ▶

A point outside \(\Omega \) has the open neighbourhood \(X \setminus \Omega \), which \(\varphi \) eventually avoids.

Lemma 99 Convergence to a set containing the \(\omega \)-limit set
✓

If \(\varphi (t)\) lies in a compact set for all large \(t\) and \(\omega (\varphi ) \subseteq M\), then \(\varphi (t) \to M\): for every open \(W \supseteq M\), \(\varphi (t) \in W\) for all large \(t\).

Proof ▶

Mathlib’s eventually_mapsTo_of_isCompact_absorbing_of_isOpen_of_omegaLimit_subset (lemma 95): a family eventually absorbed by a compact set is eventually inside every open set containing its \(\omega \)-limit set.