The areas / V17. Differential calculus in normed spaces
Mathlib.Analysis.ODE.DiscreteGronwall
3 declarations. Mathlib docs · Source
Discrete Grönwall inequality
Various forms of the discrete Grönwall inequality, bounding solutions to recurrence
inequalities u (n+1) ≤ c n * u n + b n and u (n+1) ≤ (1 + c n) * u n + b n.
Main results
discrete_gronwall_prod_general: product form, over any ordered commutative semiring.discrete_gronwall: classical exponential bound for the(1 + c)form, overℝ.discrete_gronwall_Ico: uniform bound over an interval, overℝ.
References
- [T. H. Grönwall, Note on the derivatives with respect to a parameter of the solutions of a system of differential equations][Gronwall_1919]
See also
Mathlib.Analysis.ODE.Gronwallfor the continuous Grönwall inequality for ODEs.
Generalized product form
Real-valued exponential form
theorem discrete_gronwall_prod_general E3 #
∀ {R : Type u_1} [inst : CommSemiring R] [inst_1 : PartialOrder R] [IsOrderedRing R] {u b c : ℕ → R} {n₀ : ℕ},
(∀ n ≥ n₀, u (n + 1) ≤ c n * u n + b n) →
(∀ n ≥ n₀, 0 ≤ c n) →
∀ ⦃n : ℕ⦄,
n₀ ≤ n → u n ≤ u n₀ * ∏ i ∈ Finset.Ico n₀ n, c i + ∑ k ∈ Finset.Ico n₀ n, b k * ∏ i ∈ Finset.Ico (k + 1) n, c i
Discrete Grönwall inequality, product form: if u (n+1) ≤ c n * u n + b n and 0 ≤ c n
then u n ≤ u n₀ * ∏ c i + ∑ b k * ∏ c i over the appropriate ranges.
theorem discrete_gronwall E3 #
∀ {u b c : ℕ → ℝ} {n₀ : ℕ},
0 ≤ u n₀ →
(∀ n ≥ n₀, u (n + 1) ≤ (1 + c n) * u n + b n) →
(∀ n ≥ n₀, 0 ≤ c n) →
(∀ n ≥ n₀, 0 ≤ b n) →
∀ ⦃n : ℕ⦄, n₀ ≤ n → u n ≤ (u n₀ + ∑ k ∈ Finset.Ico n₀ n, b k) * Real.exp (∑ i ∈ Finset.Ico n₀ n, c i)
Discrete Grönwall inequality, exponential form: if u (n+1) ≤ (1 + c n) * u n + b n with
b, c, and u n₀ non-negative, then u n ≤ (u n₀ + ∑ b k) * exp (∑ c i).
theorem discrete_gronwall_Ico E3 #
∀ {u b c : ℕ → ℝ} {n₀ n₁ : ℕ},
0 ≤ u n₀ →
(∀ n ≥ n₀, u (n + 1) ≤ (1 + c n) * u n + b n) →
(∀ n ≥ n₀, 0 ≤ c n) →
(∀ n ≥ n₀, 0 ≤ b n) →
∀ ⦃n : ℕ⦄,
n ∈ Finset.Ico n₀ n₁ → u n ≤ (u n₀ + ∑ k ∈ Finset.Ico n₀ n₁, b k) * Real.exp (∑ i ∈ Finset.Ico n₀ n₁, c i)
Discrete Grönwall inequality, uniform bound: a single bound holding for all n ∈ [n₀, n₁).