Negative example: residual interpolation
ProvedSanderAblinPeyre2022.residual_exampleeuler-methodgronwallneural-oderesnet
For residuals interpolated by : , solves eq. (2), , and .
Preamble
import Definitions.Def_SanderAblinPeyre2022_Defs import Mathlib
Formal statement
namespace SanderAblinPeyre2022
open Set
theorem residual_example (x0 : ℝ) {N : ℕ} (hN : 0 < N) :
(∀ n : ℕ, (N : ℝ) * ((n : ℝ) / N) = n) ∧
(∀ s : ℝ, HasDerivAt (fun s : ℝ => x0 + N * s ^ 2 / 2) (N * s) s) ∧
euler (fun _ s => (N : ℝ) * s) x0 N N = x0 + ((N : ℝ) - 1) / 2 ∧
(x0 + (N : ℝ) / 2) - euler (fun _ s => (N : ℝ) * s) x0 N N = 1 / 2 := 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, Section 3.1, p. 4
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a real number and a natural number with . The statement is the conjunction of four claims, all in :
- For every natural number (all , not only ): .
- For every real , the function has derivative at .
- Let be the
eulersequence on with (independent of ), start and step count , so . Then
- With the same sequence,
Here is cast to a real number and is real subtraction.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.