Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.3, p. 25 — E(k + 1) − E(k) ≤ −(s²((k + 3)(k − 1) − Ls(k + 3)(k + 1))/2)‖∇f(xₖ₊₁)‖²

Proved
HighResODE.NAGC.lemma_4_3

by mikedeng1 · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

accelerated-gradientlyapunov-functionnesterovp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1smooth-convex

Let f∈FL1(Rn)f\in\mathcal F^1_L(\mathbb R^n)f∈FL1​(Rn), let x⋆x^\starx⋆ be a minimizer of fff, let 0<s≤1/(3L)0<s\le 1/(3L)0<s≤1/(3L), and let (xk,yk)(x_k,y_k)(xk​,yk​) be a run of NAG-C with step size sss. With E\mathcal EE the Lyapunov function (4.6), for every k≥0k\ge0k≥0

E(k+1)−E(k)≤−s2((k+3)(k−1)−Ls(k+3)(k+1))2 ∥∇f(xk+1)∥2.\mathcal E(k+1)-\mathcal E(k)\le-\frac{s^2\bigl((k+3)(k-1)-Ls(k+3)(k+1)\bigr)}{2}\,\|\nabla f(x_{k+1})\|^2 .E(k+1)−E(k)≤−2s2((k+3)(k−1)−Ls(k+3)(k+1))​∥∇f(xk+1​)∥2.

For k≥2k\ge2k≥2 the coefficient on the right is non-positive under s≤1/(3L)s\le1/(3L)s≤1/(3L), so E\mathcal EE decreases from k=2k=2k=2 on, by an amount proportional to k2s2∥∇f(xk+1)∥2k^2s^2\|\nabla f(x_{k+1})\|^2k2s2∥∇f(xk+1​)∥2; this quadratic weight is the source of the inverse cubic rate for the squared gradient norm.

Formalization Note The factor k−1k-1k−1 is a real number (it equals −1-1−1 at k=0k=0k=0, where the bound is positive and still asserted). The minimizer x⋆x^\starx⋆ is a hypothesis: the paper presupposes that fff has a minimizer.

Preamble
import Mathlib
import Definitions.Def_HighResODE_NAGC_Setting
Formal statement
namespace HighResODE.NAGC

open scoped InnerProductSpace

/-- Lemma 4.3, p. 25. The factor `k − 1` is real (it equals `−1` at `k = 0`). -/
theorem lemma_4_3 {n : ℕ} (f : HighResODE.NAGSC.E n → ℝ) (L s : ℝ) (hf : HighResODE.NAGSC.IsF1 f L) (xs : HighResODE.NAGSC.E n)
    (hmin : ∀ z : HighResODE.NAGSC.E n, f xs ≤ f z) (hs : 0 < s) (hsL : s ≤ 1 / (3 * L))
    (x y : ℕ → HighResODE.NAGSC.E n) (hrun : IsNAGC f s x y) :
    ∀ k : ℕ, lyap f s xs x (k + 1) - lyap f s xs x k
      ≤ -(s ^ 2 * (((k : ℝ) + 3) * ((k : ℝ) - 1) - L * s * ((k : ℝ) + 3) * ((k : ℝ) + 1)) / 2)
          * ‖gradient f (x (k + 1))‖ ^ 2 := by sorry

end HighResODE.NAGC
Source
Shi, Du, Jordan & Su, Understanding the Acceleration Phenomenon via High-Resolution Differential Equations, arXiv:1810.08907v3, p. 25, Lemma 4.3
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 10, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me