Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(2.5), p. 11 — phase-space representation of NAG-SC

Proved
HighResODE.NAGSC.eq_2_5

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

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

Let f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R, let s>0s>0s>0 and μs<1\mu s<1μs<1, and let (xk,yk)k≥0(x_k,y_k)_{k\ge0}(xk​,yk​)k≥0​ be a run of NAG-SC (1.3): x0=y0x_0=y_0x0​=y0​, yk+1=xk−s∇f(xk)y_{k+1}=x_k-s\nabla f(x_k)yk+1​=xk​−s∇f(xk​), xk+1=yk+1+1−μs1+μs(yk+1−yk)x_{k+1}=y_{k+1}+\frac{1-\sqrt{\mu s}}{1+\sqrt{\mu s}}(y_{k+1}-y_k)xk+1​=yk+1​+1+μs​1−μs​​(yk+1​−yk​). With the velocity vk=(xk+1−xk)/sv_k=(x_{k+1}-x_k)/\sqrt svk​=(xk+1​−xk​)/s​, for every k≥1k\ge1k≥1,

xk−xk−1=s vk−1,x_k-x_{k-1}=\sqrt s\,v_{k-1},xk​−xk−1​=s​vk−1​, vk−vk−1=−2μs1−μsvk−s(∇f(xk)−∇f(xk−1))−1+μs1−μs⋅s ∇f(xk),v_k-v_{k-1}=-\frac{2\sqrt{\mu s}}{1-\sqrt{\mu s}}v_k-\sqrt s\big(\nabla f(x_k)-\nabla f(x_{k-1})\big)-\frac{1+\sqrt{\mu s}}{1-\sqrt{\mu s}}\cdot\sqrt s\,\nabla f(x_k),vk​−vk−1​=−1−μs​2μs​​vk​−s​(∇f(xk​)−∇f(xk−1​))−1−μs​1+μs​​⋅s​∇f(xk​),

and the initial velocity is

v0=−2s1+μs∇f(x0).v_0=-\frac{2\sqrt s}{1+\sqrt{\mu s}}\nabla f(x_0).v0​=−1+μs​2s​​∇f(x0​).

This rewriting of NAG-SC as explicit position and velocity updates is what suggests the discrete Lyapunov function (2.6).

Formalization Note The two updates are stated for k+1k+1k+1 in place of kkk (so for every k≥0k\ge0k≥0), avoiding natural-number subtraction. The page uses μs<1\mu s<1μs<1 implicitly (it divides by 1−μs1-\sqrt{\mu s}1−μs​); it is an explicit hypothesis here, together with s>0s>0s>0. No assumption on fff is needed: the identities are algebraic consequences of (1.3).

Preamble
import Mathlib
import Definitions.Def_HighResODE_NAGSC_FunctionClass
import Definitions.Def_HighResODE_NAGSC_Setting
Formal statement
namespace HighResODE.NAGSC

open scoped InnerProductSpace

/-- (2.5), p. 11: the phase-space representation of NAG-SC. With `v_k = (x_{k+1} − x_k)/√s`,
for every `k ≥ 1`: `x_k − x_{k−1} = √s v_{k−1}` and
`v_k − v_{k−1} = −(2√(μs)/(1 − √(μs))) v_k − √s(∇f(x_k) − ∇f(x_{k−1}))
  − ((1 + √(μs))/(1 − √(μs))) √s∇f(x_k)`; the initial velocity is
`v₀ = −(2√s/(1 + √(μs)))∇f(x₀)`. Stated with `k + 1` in place of `k`. -/
theorem eq_2_5 {n : ℕ} (f : E n → ℝ) (μ s : ℝ) (x y : ℕ → E n)
    (hrun : IsNAGSC f μ s x y) (hs : 0 < s) (hμs : μ * s < 1) :
    (∀ k : ℕ, x (k + 1) - x k = Real.sqrt s • vel s x k ∧
      vel s x (k + 1) - vel s x k =
        -(2 * Real.sqrt (μ * s) / (1 - Real.sqrt (μ * s))) • vel s x (k + 1)
          - Real.sqrt s • (gradient f (x (k + 1)) - gradient f (x k))
          - ((1 + Real.sqrt (μ * s)) / (1 - Real.sqrt (μ * s))) •
              (Real.sqrt s • gradient f (x (k + 1)))) ∧
    vel s x 0 = -(2 * Real.sqrt s / (1 + Real.sqrt (μ * s))) • gradient f (x 0) := by sorry

end HighResODE.NAGSC
Source
Shi, Du, Jordan & Su, Understanding the Acceleration Phenomenon via High-Resolution Differential Equations, arXiv:1810.08907v3, p. 11, (2.5) and the initial velocity
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