Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 22, §5.1 — df(X(t))/dt = ⟨∇f(X), Ẋ⟩ = −(3/t)‖Ẋ‖² − ½ d‖Ẋ‖²/dt ≤ 0 for t ≤ T

Proved
NesterovODE.Restart.descent

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

descentnesterov-odep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1speed-restart

Let 0<μ≤L0<\mu\le L0<μ≤L, f∈Sμ,Lf\in\mathcal S_{\mu,L}f∈Sμ,L​, and let XXX solve (3) from x0x_0x0​. For every t>0t>0t>0 the function t↦f(X(t))t\mapsto f(X(t))t↦f(X(t)) is differentiable, and

df(X(t))dt=⟨∇f(X),X˙⟩=−3t∥X˙∥2−12d∥X˙∥2dt.\frac{\mathrm d f(X(t))}{\mathrm dt}=\langle\nabla f(X),\dot X\rangle=-\frac3t\|\dot X\|^2-\frac12\frac{\mathrm d\|\dot X\|^2}{\mathrm dt}.dtdf(X(t))​=⟨∇f(X),X˙⟩=−t3​∥X˙∥2−21​dtd∥X˙∥2​.

Before the speed restarting time this derivative is nonpositive: for every ttt with 0<t≤T0<t\le T0<t≤T (that is, every ttt in the set whose supremum is TTT), df(X(u))du≤0\frac{\mathrm d f(X(u))}{\mathrm du}\le0dudf(X(u))​≤0 for u∈(0,t]u\in(0,t]u∈(0,t], and f(X(⋅))f(X(\cdot))f(X(⋅)) is nonincreasing on [0,t][0,t][0,t].

This is why the restarted scheme never increases the objective: between two restarts it follows (3) while the speed increases.

Formalization Note 12d∥X˙∥2/dt\frac12\mathrm d\|\dot X\|^2/\mathrm dt21​d∥X˙∥2/dt is written as ⟨X˙(t),−3tX˙(t)−∇f(X(t))⟩\langle\dot X(t),-\frac3t\dot X(t)-\nabla f(X(t))\rangle⟨X˙(t),−t3​X˙(t)−∇f(X(t))⟩. "For t≤Tt\le Tt≤T" is expressed by t∈{t>0:∀u∈(0,t), d∥X˙(u)∥2/du>0}t\in\{t>0:\forall u\in(0,t),\ \mathrm d\|\dot X(u)\|^2/\mathrm du>0\}t∈{t>0:∀u∈(0,t), d∥X˙(u)∥2/du>0}, which is the interval (0,T](0,T](0,T] when TTT is finite and avoids the junk value of sSup. Standing assumption f∈Sμ,Lf\in\mathcal S_{\mu,L}f∈Sμ,L​ (only C1C^1C1 is used).

Preamble
import Mathlib
import Definitions.Def_NesterovODE_Restart_Setting
Formal statement
namespace NesterovODE.Restart

open scoped RealInnerProductSpace

/-- The descent display (p. 22): for `t > 0`, `d f(X(t))/dt = ⟨∇f(X), Ẋ⟩ = −(3/t)‖Ẋ‖² −
(1/2) d‖Ẋ‖²/dt`; and before the speed restarting time (`t ∈ restartSet`, i.e. `0 < t ≤ T`) this
derivative is `≤ 0` on `(0, t]` and `f ∘ X` is nonincreasing on `[0, t]`. -/
theorem descent (n : ℕ) (f : NesterovODE.WellPosed.E n → ℝ) (μ : ℝ) (L : NNReal)
    (hμ : 0 < μ) (hμL : μ ≤ L) (hf : NesterovODE.StrongCvx.InSMuL μ L f)
    (x₀ : NesterovODE.WellPosed.E n) (X V : ℝ → NesterovODE.WellPosed.E n) (hX : NesterovODE.StrongCvx.IsSolution f 3 x₀ X V) :
    (∀ t : ℝ, 0 < t →
      HasDerivAt (fun s => f (X s)) ⟪gradient f (X t), V t⟫ t ∧
      ⟪gradient f (X t), V t⟫ = -(3 / t) * ‖V t‖ ^ 2 - halfSpeedDeriv f X V t) ∧
    (∀ t ∈ restartSet f X V,
      (∀ u ∈ Set.Ioc 0 t, ⟪gradient f (X u), V u⟫ ≤ 0) ∧
      AntitoneOn (fun s => f (X s)) (Set.Icc 0 t)) := by sorry

end NesterovODE.Restart
Source
Su, Boyd, Candès, A Differential Equation for Modeling Nesterov's Accelerated Gradient Method, arXiv:1503.01243v2, p. 22, §5.1, display after the definition of the speed restarting time
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 9, 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