Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(4.5), p. 25 — phase-space representation of NAG-C with v₀ = −√s∇f(x₀)

Proved
HighResODE.NAGC.eq_4_5

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)k≥0(x_k,y_k)_{k\ge0}(xk​,yk​)k≥0​ 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

xk−xk−1=s vk−1,vk−vk−1=−3kvk−s(∇f(xk)−∇f(xk−1))−(1+3k)s ∇f(xk),x_k-x_{k-1}=\sqrt s\,v_{k-1},\qquad v_k-v_{k-1}=-\frac3k v_k-\sqrt s\bigl(\nabla f(x_k)-\nabla f(x_{k-1})\bigr)-\Bigl(1+\frac3k\Bigr)\sqrt s\,\nabla f(x_k),xk​−xk−1​=s​vk−1​,vk​−vk−1​=−k3​vk​−s​(∇f(xk​)−∇f(xk−1​))−(1+k3​)s​∇f(xk​),

and the initial velocity is v0=−s ∇f(x0)v_0=-\sqrt s\,\nabla f(x_0)v0​=−s​∇f(x0​).

This rewrites the two-sequence algorithm as a first-order system in position and velocity, the discrete counterpart of the high-resolution ODE of NAG-C; it is the form in which the Lyapunov function (4.6) is analysed.

Formalization Note The identities are stated with k+1k+1k+1 in place of the paper's kkk, for every k≥0k\ge0k≥0, so no natural-number subtraction occurs. Neither convexity nor smoothness of fff is assumed: the identities hold for any fff, which is stronger than the page needs.

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

open scoped InnerProductSpace

/-- (4.5), p. 25 (stated with `k + 1` in place of the page's `k`): the phase-space
representation of NAG-C and its initial velocity. -/
theorem eq_4_5 {n : ℕ} (f : HighResODE.NAGSC.E n → ℝ) (s : ℝ) (hs : 0 < s) (x y : ℕ → HighResODE.NAGSC.E n) (hrun : IsNAGC f s x y) :
    (∀ k : ℕ, x (k + 1) - x k = Real.sqrt s • HighResODE.NAGSC.vel s x k) ∧
    (∀ k : ℕ, HighResODE.NAGSC.vel s x (k + 1) - HighResODE.NAGSC.vel s x k
        = -(3 / ((k : ℝ) + 1)) • HighResODE.NAGSC.vel s x (k + 1)
          - Real.sqrt s • (gradient f (x (k + 1)) - gradient f (x k))
          - ((1 + 3 / ((k : ℝ) + 1)) * Real.sqrt s) • gradient f (x (k + 1))) ∧
    HighResODE.NAGSC.vel s x 0 = -(Real.sqrt s) • gradient f (x 0) := by sorry

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