Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(4.13), p. 27 — (k + 3)(vₖ + √s∇f(xₖ)) − k(vₖ₋₁ + √s∇f(xₖ₋₁)) = −k√s∇f(xₖ)

Proved
HighResODE.NAGC.eq_4_13

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

accelerated-gradientnesterovp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1phase-space

Let s>0s>0s>0, let f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R, and let (xk,yk)(x_k,y_k)(xk​,yk​) be a run of NAG-C with step size sss and velocity vk=(xk+1−xk)/sv_k=(x_{k+1}-x_k)/\sqrt svk​=(xk+1​−xk​)/s​. Then for every k≥1k\ge1k≥1

(k+3)(vk+s∇f(xk))−k(vk−1+s∇f(xk−1))=−ks ∇f(xk),(k+3)\bigl(v_k+\sqrt s\nabla f(x_k)\bigr)-k\bigl(v_{k-1}+\sqrt s\nabla f(x_{k-1})\bigr)=-k\sqrt s\,\nabla f(x_k),(k+3)(vk​+s​∇f(xk​))−k(vk−1​+s​∇f(xk−1​))=−ks​∇f(xk​),

and, for k=0k=0k=0, v0+s∇f(x0)=0v_0+\sqrt s\nabla f(x_0)=0v0​+s​∇f(x0​)=0.

This identity is what makes the gradient-corrected momentum vk+s∇f(xk)v_k+\sqrt s\nabla f(x_k)vk​+s​∇f(xk​) collapse in the difference E(k+1)−E(k)\mathcal E(k+1)-\mathcal E(k)E(k+1)−E(k) in the proof of Lemma 4.3.

Formalization Note The first identity is stated with k+1k+1k+1 in place of kkk for every k≥0k\ge0k≥0. The paper writes (4.13) without a range; at its k=0k=0k=0 the term with v−1v_{-1}v−1​ is multiplied by 000 and the identity reads 3(v0+s∇f(x0))=03(v_0+\sqrt s\nabla f(x_0))=03(v0​+s​∇f(x0​))=0, which is the second conjunct. No convexity or smoothness of fff is needed.

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

open scoped InnerProductSpace

/-- (4.13), p. 27: for the page's `k ≥ 1` (here `k + 1`, `k ≥ 0`), and the page's `k = 0`
instance `3(v₀ + √s∇f(x₀)) = 0`, in which the `v₋₁` term carries the factor `0`. -/
theorem eq_4_13 {n : ℕ} (f : HighResODE.NAGSC.E n → ℝ) (s : ℝ) (hs : 0 < s) (x y : ℕ → HighResODE.NAGSC.E n) (hrun : IsNAGC f s x y) :
    (∀ k : ℕ, ((k : ℝ) + 4) • (HighResODE.NAGSC.vel s x (k + 1) + Real.sqrt s • gradient f (x (k + 1)))
        - ((k : ℝ) + 1) • (HighResODE.NAGSC.vel s x k + Real.sqrt s • gradient f (x k))
        = -(((k : ℝ) + 1) * Real.sqrt s) • gradient f (x (k + 1))) ∧
    HighResODE.NAGSC.vel s x 0 + Real.sqrt s • gradient f (x 0) = 0 := by sorry

end HighResODE.NAGC
Source
Shi, Du, Jordan & Su, Understanding the Acceleration Phenomenon via High-Resolution Differential Equations, arXiv:1810.08907v3, p. 27, (4.13), proof of 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