General-N certificate lemma: M_gap
ProvedGDGen3.M_gapcertificategd-last-iterate-tight-boundgeneral-nm_gap
Lemma M_gap of the general-N certificate (manuscript section 3), stated with index sequences over ℕ so that no concrete N is ever expanded.
Preamble
import Mathlib import Definitions.Def_GDGen3Base noncomputable section open Finset namespace GDGen3
Formal statement
lemma M_gap (r : ℝ) (hr : 0 < r) (hr1 : r < 1) (N : ℕ) (hN : 1 ≤ N) :
(1 + r) - M r N =
((1 + (N : ℝ) * (1 + r)) ^ 2 - 1 / r ^ (2 * N)) /
((1 + r) * (N : ℝ) * ((N : ℝ) + 1)) := by sorrySource
Companion supplementary proofs, Part III: the complete curve for the final gradient norm of GD. Formalized algebraic certificate layer: GD_General.lean, namespace GDGen3.