Documentation

LeanForControl.ODEs.ODE_properties

ODEs.ODE_properties #

Existence and continuous-dependence theorems used throughout the stability track.

The integral formulation IsIntegralSolution and its dictionary with Mathlib's IsIntegralCurveOn are general facts about ODE solutions with no control content; they live in Analysis/IntegralCurves.lean, which this file imports.

Main declarations #

Reference: Khalil, Nonlinear Systems (3rd ed.), Chapter 3.

theorem ContDiffAt.exists_isIntegralCurveOn_Icc {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] {g : E → E} {x₀ : E} (hg : ContDiffAt ℝ 1 g x₀) :
∃ (T : ℝ) (φ : ℝ → E), 0 < T ∧ φ 0 = x₀ ∧ IsIntegralCurveOn φ (fun (x : ℝ) (y : E) => g y) (Set.Icc 0 T)

A C¹ vector field admits a nontrivial solution segment from every point at which it is C¹. The anchor 0 is a construction choice, not a restriction: by time invariance a segment from any anchor follows.

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

theorem IsIntegralSolution.norm_sub_le_mul_exp {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] {a b K : ℝ} {u v : ℝ → E} {F G : ℝ → E → E} {u₀ v₀ : E} (hK : 0 ≤ K) (hab : a ≤ b) (hu : IsIntegralSolution a b u u₀ F) (hv : IsIntegralSolution a b v v₀ G) (hFG : ∀ t ∈ Set.Ioo a b, ‖F t (u t) - G t (v t)‖ ≤ K * ‖u t - v t‖) (t : ℝ) :
t ∈ Set.Icc a b → ‖u t - v t‖ ≤ ‖u₀ - v₀‖ * Real.exp (K * (t - a))

Grönwall separation of two integral solutions. On [a, b], let u be an integral solution of u̇ = F(t, u) from u₀ and v one of v̇ = G(t, v) from v₀, and suppose the two fields, evaluated along the two solutions, differ by at most K ‖u(t) - v(t)‖. Then ‖u(t) - v(t)‖ ≤ ‖u₀ - v₀‖ e^{K(t - a)} on [a, b].

With G = F and F K-Lipschitz in the state this is separation of two solutions, and uniqueness; with v constant at an equilibrium c of G = 0 it bounds the growth of ‖u(t) - c‖. No regularity in time is assumed: the integrability the argument needs is part of being an integral solution.

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

theorem continuous_dependence_ODE {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {t₀ t₁ : ℝ} {f g : ℝ → E → E} {y z : ℝ → E} {y₀ z₀ : E} {μ : ℝ} [CompleteSpace E] {K : NNReal} (hK : 0 < K) (hy : IsIntegralSolution t₀ t₁ y y₀ f) (hz : IsIntegralSolution t₀ t₁ z z₀ fun (s : ℝ) (x : E) => f s x + g s x) (hLip : ∀ t ∈ Set.uIcc t₀ t₁, LipschitzWith K (f t)) (hg : ∀ t ∈ Set.uIcc t₀ t₁, ∀ (x : E), ‖g t x‖ ≤ μ) (t : ℝ) :
t ∈ Set.uIcc t₀ t₁ → ‖y t - z t‖ ≤ ‖y₀ - z₀‖ * Real.exp (↑K * |t - t₀|) + μ / ↑K * (Real.exp (↑K * |t - t₀|) - 1)

Continuous dependence on initial states and parameters.

If y is an integral solution of ẏ = f(t, y) and z is an integral solution of ż = f(t, z) + g(t, z), with f Lipschitz in the state with constant K > 0 and g uniformly bounded by μ, then for t on either side of t₀:

‖y(t) − z(t)‖ ≤ ‖y₀ − z₀‖ · exp(K|t−t₀|) + (μ/K) · (exp(K|t−t₀|) − 1).

We work globally on the segment between t₀ and t₁ (rather than on a local domain W ⊂ ℝⁿ) to avoid local-extension boilerplate. No regularity in time is assumed, of f or of g: the integrability the argument needs is part of being an integral solution, so the theorem applies to Carathéodory solutions.

Differences from Khalil: he assumes f and g piecewise continuous in t; here they are arbitrary in t.

Proof: the Grönwall step (‖y − z‖ is absolutely continuous with derivative at most K ‖y − z‖ + μ almost everywhere; apply AbsolutelyContinuousOnInterval.le_gronwallBound_of_deriv_le) runs forward in time — it is proved once, as the general private lemma continuous_dependence_forward, and reused twice: directly for t₀ ≤ t₁, and via the time-reflection σ ↦ t₀ + t₁ - σ (applied to y, z, f, g) for t₁ ≤ t₀, which turns the backward instance into a forward one on [t₁, t₀].

Reference: Khalil, Nonlinear Systems (3rd ed.), the theorem on continuous dependence on initial states and parameters.

theorem continuous_dependence_parameters {E : Type u_1} [NormedAddCommGroup E] [NormedSpace ℝ E] {t₀ t₁ : ℝ} {f g : ℝ → E → E} {y z : ℝ → E} {y₀ z₀ : E} {α ε : ℝ} [CompleteSpace E] {K : NNReal} (ht : t₀ ≤ t₁) (hK : 0 < K) (hαε : α * (1 + 1 / ↑K) * Real.exp (↑K * (t₁ - t₀)) ≤ ε) (hy : IsIntegralSolution t₀ t₁ y y₀ f) (hz : IsIntegralSolution t₀ t₁ z z₀ fun (s : ℝ) (x : E) => f s x + g s x) (hLip : ∀ t ∈ Set.Icc t₀ t₁, LipschitzWith K (f t)) (hg : ∀ t ∈ Set.Icc t₀ t₁, ∀ (x : E), ‖g t x‖ ≤ α) (hz₀ : ‖z₀ - y₀‖ ≤ α) (t : ℝ) :
t ∈ Set.Icc t₀ t₁ → ‖y t - z t‖ ≤ ε

Continuous dependence on parameters.

A uniform ε-bound: if f is Lipschitz in the state with constant K > 0, ‖z₀ − y₀‖ ≤ α and ‖g(t, x)‖ ≤ α for all t, x, and α · (1 + 1/K) · exp(K(t₁−t₀)) ≤ ε, then ‖y(t) − z(t)‖ ≤ ε for all t ∈ [t₀, t₁].

λ-dependence is modeled via the perturbation term g (i.e., g t x = f_λ t x − f t x). The α-condition plays the role of δ from the classical statement.

Reference: Khalil, Nonlinear Systems (3rd ed.), the theorem on continuous dependence on parameters.