General-N certificate lemma: weighted_function_values
ProvedGDGen3.weighted_function_valuescertificategd-last-iterate-tight-boundgeneral-nweighted_function_values
Lemma weighted_function_values 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 weighted_function_values (L : ℕ → ℕ → ℝ) (f : ℕ → ℝ) (N : ℕ) :
(∑ i ∈ range (N + 1), ∑ j ∈ range (N + 1), L i j * (f i - f j)) =
∑ i ∈ range (N + 1), (∑ j ∈ range (N + 1), (L i j - L j i)) * f i := 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.