Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3.6, closed-form O(1/k²) rate — goal theorem

Disproved
FirstOrderOpt.Deterministic.accelerated_gradient_rate

by mikedeng1 · Sep 19, 2026 · Mathlib 0df444a (Lean v4.33.1)

accelerated-gradientbregman-divergenceconvergence-rateconvex-optimizationfirst-order-methods

Specialize accelerated_gradient_recursion_bound (Theorem 3.6's general recursion) to the schedule qt=αt=2t+1q_t=\alpha_t=\dfrac{2}{t+1}qt​=αt​=t+12​, γt=t2L\gamma_t=\dfrac{t}{2L}γt​=2Lt​, t=1,…,kt=1,\dots,kt=1,…,k (which the book verifies satisfies (3.3.13)-(3.3.15)).

Theorem 3.6, "in particular" instantiation.

f(xˉk)−f(x∗)≤4Lk(k+1) V(x0,x∗).f(\bar x_k) - f(x^*) \le \frac{4L}{k(k+1)}\,V(x_0,x^*).f(xˉk​)−f(x∗)≤k(k+1)4L​V(x0​,x∗).

This is the mission's goal: an explicit O(1/k2)O(1/k^2)O(1/k2) rate for accelerated gradient descent on smooth convex problems, with every constant pinned down by the stated schedule — the complexity to reach f(xˉ)−f(x∗)≤εf(\bar x)-f(x^*)\le\varepsilonf(xˉ)−f(x∗)≤ε is O(1/ε)O(1/\sqrt\varepsilon)O(1/ε​) iterations, matching the lower bound for this problem class (a fact the book states, not proved here).

Formalization Note. Per Hard Rule 6, this closed-form instantiation, not the general O(⋅)O(\cdot)O(⋅)-recursion, is the goal: accelerated_gradient_recursion_bound's bound has a schedule-dependent constant on the right that only becomes the clean 4L/(k(k+1))4L/(k(k+1))4L/(k(k+1)) once the specific qt,αt,γtq_t,\alpha_t,\gamma_tqt​,αt​,γt​ are substituted. The statement here is self-contained (it restates the generation rules (3.3.4)-(3.3.6) with the concrete schedule substituted directly, rather than taking accelerated_gradient_recursion_bound plus a side lemma that the schedule satisfies (3.3.13)-(3.3.15) as hypotheses), matching how the book itself states it as a freestanding "in particular" corollary immediately after Theorem 3.6's general statement.


Retired. retired because V was a free function (V ≡ 0 admissible) and f was not assumed convex; replaced by FirstOrderOpt.Deterministic.accelerated_gradient_rate_v2.

Preamble
import Mathlib
Formal statement
namespace FirstOrderOpt.Deterministic

/-- Theorem 3.6, "in particular" instantiation — the goal theorem. `(x t, xTilde t, xBar t)` are
generated by the accelerated gradient method (3.3.4)-(3.3.6) with `μ = 0` and the specific
schedule `q t = α t = 2/(t+1)`, `γ t = t/(2L)`. Then `f(xBar k) - f(x*) ≤ 4L/(k(k+1)) V(x 0,x*)`.
`V` is pinned down to a genuine Bregman divergence (nonnegative, three-point identity (3.2.6) via
`dV`), inherited from `accelerated_gradient_recursion_bound`, whose specialization this goal is. -/
theorem accelerated_gradient_rate {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
    (X : Set E) (f : E → ℝ) (V : E → E → ℝ) (dV : E → E → E →L[ℝ] ℝ) (L : ℝ) (hL : 0 < L)
    (fGrad : E → E →L[ℝ] ℝ)
    (hSmooth : ∀ x ∈ X, ∀ y ∈ X, f y - f x - (fGrad x) (y - x) ≤ (L / 2) * ‖y - x‖ ^ 2)
    (hVnonneg : ∀ x ∈ X, ∀ z ∈ X, 0 ≤ V x z)
    (hVthreepoint : ∀ x ∈ X, ∀ y ∈ X, ∀ z ∈ X, V x z = V x y + (dV x y) (z - y) + V y z)
    (x xTilde xBar : ℕ → E)
    (hx : ∀ t, x t ∈ X) (hxBar : ∀ t, xBar t ∈ X) (hxTilde : ∀ t, 1 ≤ t → xTilde t ∈ X)
    (k : ℕ) (hk : 1 ≤ k)
    (hTildeDef : ∀ t : ℕ, 1 ≤ t → t ≤ k →
      xTilde t = (1 - 2 / ((t : ℝ) + 1)) • xBar (t - 1) + (2 / ((t : ℝ) + 1)) • x (t - 1))
    (hxDef : ∀ t : ℕ, 1 ≤ t → t ≤ k → ∀ y ∈ X,
      ((t : ℝ) / (2 * L)) * (fGrad (xTilde t)) (x t) + V (x (t - 1)) (x t) ≤
        ((t : ℝ) / (2 * L)) * (fGrad (xTilde t)) y + V (x (t - 1)) y)
    (hBarDef : ∀ t : ℕ, 1 ≤ t → t ≤ k →
      xBar t = (1 - 2 / ((t : ℝ) + 1)) • xBar (t - 1) + (2 / ((t : ℝ) + 1)) • x t)
    (xstar : E) (hxstar : xstar ∈ X) (hxstar_opt : ∀ y ∈ X, f xstar ≤ f y) :
    f (xBar k) - f xstar ≤ (4 * L) / ((k : ℝ) * ((k : ℝ) + 1)) * V (x 0) xstar := by sorry

end FirstOrderOpt.Deterministic
Source
Lan, First-order and Stochastic Optimization Methods for Machine Learning, Springer 2020, p. 66, Theorem 3.6 (in particular)
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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