General-N certificate lemma: nat_prefix_weight
ProvedGDGen3.nat_prefix_weightcertificategd-last-iterate-tight-boundgeneral-nnat_prefix_weight
Lemma nat_prefix_weight of the general-N certificate (manuscript sections 4-5), 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 nat_prefix_weight (n : ℕ) :
2 * (∑ k ∈ range n, ((k : ℝ) + 1)) = (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.