Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

App. B.1, p. 50 — along (1.10), dE/dt = −√μ[‖Ẋ‖² + (1 + √(μs))⟨∇f(X), X − x⋆⟩]

Proved
HighResODE.HeavyBallODE.B_1_deriv

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

heavy-ballhigh-resolution-odelyapunov-functionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let f∈Sμ,L2(Rn)f\in\mathcal S^2_{\mu,L}(\mathbb R^n)f∈Sμ,L2​(Rn), let s>0s>0s>0, let x0,x⋆∈Rnx_0,x^\star\in\mathbb R^nx0​,x⋆∈Rn, and let (X,X˙)(X,\dot X)(X,X˙) be a solution of the high-resolution heavy-ball ODE (1.10),

X¨+2μ X˙+(1+μs)∇f(X)=0,X(0)=x0, X˙(0)=−2s ∇f(x0)1+μs,\ddot X+2\sqrt\mu\,\dot X+\bigl(1+\sqrt{\mu s}\bigr)\nabla f(X)=0,\qquad X(0)=x_0,\ \dot X(0)=-\frac{2\sqrt s\,\nabla f(x_0)}{1+\sqrt{\mu s}},X¨+2μ​X˙+(1+μs​)∇f(X)=0,X(0)=x0​, X˙(0)=−1+μs​2s​∇f(x0​)​,

on [0,∞)[0,\infty)[0,∞). Let E\mathcal EE be the Lyapunov function (3.3). Then for every t≥0t\ge0t≥0 the function E\mathcal EE is differentiable at ttt (from the right at t=0t=0t=0), with

dEdt=(1+μs)⟨∇f(X),X˙⟩+12⟨X˙,−2μ X˙−(1+μs)∇f(X)⟩+12⟨X˙+2μ(X−x⋆),−(1+μs)∇f(X)⟩=−μ[∥X˙∥2+(1+μs)⟨∇f(X),X−x⋆⟩],\begin{aligned}\frac{d\mathcal E}{dt}&=\bigl(1+\sqrt{\mu s}\bigr)\langle\nabla f(X),\dot X\rangle+\frac12\bigl\langle\dot X,-2\sqrt\mu\,\dot X-(1+\sqrt{\mu s})\nabla f(X)\bigr\rangle\\&\qquad+\frac12\bigl\langle\dot X+2\sqrt\mu(X-x^\star),-(1+\sqrt{\mu s})\nabla f(X)\bigr\rangle\\&=-\sqrt\mu\Bigl[\|\dot X\|^2+\bigl(1+\sqrt{\mu s}\bigr)\langle\nabla f(X),X-x^\star\rangle\Bigr],\end{aligned}dtdE​​=(1+μs​)⟨∇f(X),X˙⟩+21​⟨X˙,−2μ​X˙−(1+μs​)∇f(X)⟩+21​⟨X˙+2μ​(X−x⋆),−(1+μs​)∇f(X)⟩=−μ​[∥X˙∥2+(1+μs​)⟨∇f(X),X−x⋆⟩],​

where X=X(t)X=X(t)X=X(t) and X˙=X˙(t)\dot X=\dot X(t)X˙=X˙(t).

This exact derivative identity is the first step of the proof of Lemma 3.2; strong convexity is applied to it afterwards.

Formalization Note. The derivative is a derivative within [0,∞)[0,\infty)[0,∞), and the statement asserts both that E\mathcal EE has the first expression as its derivative and that the first expression equals the second. The identity uses only the differentiability of fff and the ODE; x⋆x^\starx⋆ is an arbitrary point here.

Preamble
import Mathlib
import Definitions.Def_HighResODE_HeavyBallODE_Setting
Formal statement
namespace HighResODE.HeavyBallODE

open scoped InnerProductSpace

theorem B_1_deriv {n : ℕ} (f : HighResODE.NAGSC.E n → ℝ) (μ L s : ℝ) (hf : IsS2 f μ L) (hs : 0 < s)
    (xs x0 : HighResODE.NAGSC.E n) (X V : ℝ → HighResODE.NAGSC.E n) (hsol : IsHeavyBallODE f μ s x0 X V) :
    ∀ t : ℝ, 0 ≤ t →
      HasDerivWithinAt (lyap f μ s xs X V)
        ((1 + Real.sqrt (μ * s)) * ⟪gradient f (X t), V t⟫_ℝ
          + 1 / 2 * ⟪V t, -(2 * Real.sqrt μ) • V t - (1 + Real.sqrt (μ * s)) • gradient f (X t)⟫_ℝ
          + 1 / 2 * ⟪V t + (2 * Real.sqrt μ) • (X t - xs),
              -((1 + Real.sqrt (μ * s)) • gradient f (X t))⟫_ℝ)
        (Set.Ici 0) t ∧
      (1 + Real.sqrt (μ * s)) * ⟪gradient f (X t), V t⟫_ℝ
          + 1 / 2 * ⟪V t, -(2 * Real.sqrt μ) • V t - (1 + Real.sqrt (μ * s)) • gradient f (X t)⟫_ℝ
          + 1 / 2 * ⟪V t + (2 * Real.sqrt μ) • (X t - xs),
              -((1 + Real.sqrt (μ * s)) • gradient f (X t))⟫_ℝ
        = -(Real.sqrt μ) *
            (‖V t‖ ^ 2 + (1 + Real.sqrt (μ * s)) * ⟪gradient f (X t), X t - xs⟫_ℝ) := by sorry

end HighResODE.HeavyBallODE
Source
Shi, Du, Jordan & Su, Understanding the Acceleration Phenomenon via High-Resolution Differential Equations, arXiv:1810.08907v3, p. 50, App. B.1 (proof of Lemma 3.2), derivative display
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