Discrete Gronwall step with the sharp constant
ProvedSanderAblinPeyre2022.paper_gronwalleuler-methodgronwallneural-oderesnet
If , , , and for , then for .
Preamble
import Definitions.Def_SanderAblinPeyre2022_Defs import Mathlib
Formal statement
namespace SanderAblinPeyre2022
open Set
theorem paper_gronwall {e : ℕ → ℝ} {N : ℕ} {L K : ℝ} (hN : 0 < N) (hL : 0 < L)
(hK : 0 ≤ K) (h0 : e 0 = 0)
(hs : ∀ n < N, e (n + 1) ≤ (1 + L / N) * e n + K / (2 * N ^ 2)) :
∀ n ≤ N, e n ≤ (Real.exp L - 1) / (2 * N * L) * K := by sorry
end SanderAblinPeyre2022Source
M. E. Sander, P. Ablin, G. Peyre, Do Residual Neural Networks discretize Neural Ordinary Differential Equations?, NeurIPS 2022, arXiv:2205.14612v2, Appendix A.1, discrete Gronwall step
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a real sequence, a natural number, and real numbers. Assume:
- ;
- ;
- ;
- ;
- for every natural (that is, ),
Then for every natural (that is, ),
where is the real exponential of (distinct from the sequence ). All arithmetic is in with cast to a real number. Nothing is assumed about for , and the conclusion says nothing about those terms. The sequence is not assumed nonnegative.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.