ODEs.ComparisonLemma #
The comparison lemma for scalar ODEs: if u is an exact solution of u̇ = f(t, u) with
u(t₀) = u₀, and v is continuous with upper Dini derivative satisfying
D⁺v(t) ≤ f(t, v(t)) and v(t₀) ≤ u₀, then v(t) ≤ u(t) for all t ∈ [t₀, t₁].
Proof strategy (Khalil, Appendix C.2) #
Claim 1 (
comparison_claim_1): For any perturbed solutionzofż = f(t, z) + λwithλ > 0, we havev(t) ≤ z(t)on[t₀, t₁]. Proved by contradiction: assuming the setS = {s | v(s) = z(s)}has a supremuma < t_bad(wherev(t_bad) > z(t_bad)), the Dini derivative inequality ataforcesf(a, z(a)) + λ ≤ f(a, v(a)), contradictingv(a) = z(a)andλ > 0.Claim 2 (
comparison_lemma):v(t) ≤ u(t)follows by sendingλ → 0. For eachλ > 0,v(t) ≤ z_λ(t)by Claim 1, andz_λ(t) ≤ u(t) + ε/2by the continuous-dependence estimate (Khalil, Theorem 3.5). Sinceε > 0is arbitrary,v(t) ≤ u(t).
Main declarations #
isIntegralSolution_of_hasDerivAt— converts a pointwise derivative condition into an integral solution.comparison_lemma— the full comparison inequalityv ≤ u.
comparison_claim_1 is a private step of the latter's proof.
Integral solution helper #
Converts a classical (pointwise) ODE solution into an integral solution.
If u has derivative f(t, u(t)) at every interior point of [t₀, t₁], is continuous on
[t₀, t₁], and satisfies u(t₀) = u₀, then u is an integral solution in the sense of
IsIntegralSolution.
The comparison lemma #
Comparison lemma. If u solves u̇ = f(t, u) with u(t₀) = u₀, and v is
continuous with D⁺v(t) ≤ f(t, v(t)) and v(t₀) ≤ u₀, then v(t) ≤ u(t) on [t₀, t₁].
Hypotheses:
fis jointly continuous and globally Lipschitz in the state variable on[t₀, t₁].usolves the ODE classically (pointwise derivative).vsatisfies the Dini subsolution inequality and has bounded difference quotients.- For each
λ > 0, a perturbed solutionz_λofż = f(t, z) + λexists on[t₀, t₁](the existence hypothesishz_exists, kept for generality; it is always discharged byexists_isIntegralSolution_Icc_of_lipschitz).
The proof uses comparison_claim_1 to get v ≤ z_λ, then continuous_dependence_parameters
(Khalil, Theorem 3.5) to bound ‖u - z_λ‖ ≤ ε/2, and concludes v(t) < u(t) + ε for all
ε > 0.
Reference: Khalil, Nonlinear Systems (3rd ed.), Lemma 3.4. Note this is Khalil's Lemma 3.4;
his Theorem 3.4 is the continuous-dependence result continuous_dependence_ODE.