DiscreteGronwall #
Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.
The discrete Grönwall inequality (l.discrete.gronwall) #
ABK26, §4.3. The source statement:
Suppose
H ≥ 0,{ε_k}_{k=1}^i ⊂ ℝ₊and{a_k}_{k=1}^isatisfya_l ≤ H + ∑_{k=1}^{l-1} ε_k a_kfor everyl ∈ {1,…,i}. Thena_i ≤ H exp(∑_{k=1}^{i-1} ε_k).
and the printed proof is complete: with S_l := ∑_{k≤l} ε_k a_k one has `S_l
- H ≤ (1 + ε_l)(S_{l-1} + H)
, henceS_{i-1} + H ≤ H ∏_{k<i}(1 + ε_k), and1 + t ≤ e^tfinishes. Both steps are reproduced here verbatim as`gronwallProdBoundanddiscrete_gronwall`.
Reading conventions #
- Indices run from
0withFinset.range, so∑_{k=1}^{l-1}is∑ k ∈ range l, ε k a k. This is a relabelling, not a change of content. - The conclusion is proved for every
l ≤ Nsimultaneously, which is what the telescoping argument gives for free and what the iteration lemma consumes (it feeds everya_lback into a sum).discrete_gronwall_topis the source's literal single-index conclusion. - No sign hypothesis on
ais imposed, and none is needed: the proof only multiplies the hypothesis byε_l ≥ 0and sums. This matches the graph's own reading of the source hypotheses. - The source writes
{ε_k} ⊂ ℝ₊without saying whetherℝ₊is[0,∞)or(0,∞); the recorded ambiguity is immaterial and the weaker0 ≤ ε kis used.
Real.exp is kept opaque throughout: the only transcendental input is
Real.add_one_le_exp, used once, and every other step is ring, an explicit
monotonicity lemma, or linarith only.
Scope #
l.discrete.gronwall is an unfrozen source node; this module is a provider
realization of its content and claims no node closure.
References #
- ABK26,
l.discrete.gronwall, statement, proof.
The telescoping core of discrete Grönwall: the running partial sum plus H is
dominated by H ∏ (1 + ε_k).
Discrete Grönwall (l.discrete.gronwall), all-indices form.
If H ≥ 0, the ε_k are nonnegative and a_l ≤ H + ∑_{k<l} ε_k a_k for every
l ≤ N, then a_l ≤ H exp(∑_{k<l} ε_k) for every l ≤ N.