Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(2.5), p. 631 — eventually f(x_{t+1}) ≤ f(x_t) − γ_t β₁‖∇f(x_t)‖² + γ_t² β₂ for some positive β₁, β₂

Proved
GradErrors.Deterministic.eventual_descent

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

diminishing-stepsizegradient-methodnonconvex-optimizationp2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R be continuously differentiable with LLL-Lipschitz gradient, ∥∇f(x)−∇f(xˉ)∥≤L∥x−xˉ∥\|\nabla f(x)-\nabla f(\bar x)\|\le L\|x-\bar x\|∥∇f(x)−∇f(xˉ)∥≤L∥x−xˉ∥ for all x,xˉx,\bar xx,xˉ (standing assumption (2.1) of the paper). Let xt,st,wt∈Rnx_t, s_t, w_t\in\mathbb R^nxt​,st​,wt​∈Rn and γt∈R\gamma_t\in\mathbb Rγt​∈R (t=0,1,…t=0,1,\dotst=0,1,…) satisfy the recursion

xt+1=xt+γt(st+wt),x_{t+1}=x_t+\gamma_t(s_t+w_t),xt+1​=xt​+γt​(st​+wt​),

where, for positive constants c1,c2,p,qc_1,c_2,p,qc1​,c2​,p,q and every ttt,

  1. (descent direction, (2.2)) c1∥∇f(xt)∥2≤−∇f(xt)′stc_1\|\nabla f(x_t)\|^2\le-\nabla f(x_t)'s_tc1​∥∇f(xt​)∥2≤−∇f(xt​)′st​ and ∥st∥≤c2(1+∥∇f(xt)∥)\|s_t\|\le c_2\bigl(1+\|\nabla f(x_t)\|\bigr)∥st​∥≤c2​(1+∥∇f(xt​)∥);
  2. (error bound, (2.3)) ∥wt∥≤γt(q+p∥∇f(xt)∥)\|w_t\|\le\gamma_t\bigl(q+p\|\nabla f(x_t)\|\bigr)∥wt​∥≤γt​(q+p∥∇f(xt​)∥);
  3. (stepsizes) γt>0\gamma_t>0γt​>0, ∑t=0∞γt=∞\sum_{t=0}^\infty\gamma_t=\infty∑t=0∞​γt​=∞, and ∑t=0∞γt2<∞\sum_{t=0}^\infty\gamma_t^2<\infty∑t=0∞​γt2​<∞.

Then there exist positive scalars β1,β2\beta_1,\beta_2β1​,β2​ and an index TTT such that for all t≥Tt\ge Tt≥T

f(xt+1)≤f(xt)−γtβ1∥∇f(xt)∥2+γt2β2.f(x_{t+1})\le f(x_t)-\gamma_t\beta_1\|\nabla f(x_t)\|^2+\gamma_t^2\beta_2.f(xt+1​)≤f(xt​)−γt​β1​∥∇f(xt​)∥2+γt2​β2​.

This is the one-step descent estimate of the proof of Proposition 1; combined with Lemma 1 it yields (2.6).

Formalization Note Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), x′yx'yx′y is the real inner product and ∇f\nabla f∇f is Mathlib's gradient f (the true gradient, since ContDiff ℝ 1 f is assumed). The Lipschitz constant is taken as L : ℝ≥0 with LipschitzWith L (gradient f); this is equivalent to (2.1) for some real constant LLL. xt,st,wtx_t, s_t, w_txt​,st​,wt​ are arbitrary sequences: nothing about how they are produced is assumed beyond (2.2)–(2.3). The constants β1,β2\beta_1,\beta_2β1​,β2​ and the threshold TTT are existential, as on the page ("for sufficiently large ttt … where β1\beta_1β1​ and β2\beta_2β2​ are some positive scalars"). The divergent stepsize sum is retained from Proposition 1's setting, although the estimate itself uses only γt→0\gamma_t\to 0γt​→0.

Preamble
import Mathlib

open Filter Topology NNReal InnerProductSpace
Formal statement
namespace GradErrors.Deterministic

theorem eventual_descent {n : ℕ} (f : EuclideanSpace ℝ (Fin n) → ℝ) (hf : ContDiff ℝ 1 f)
    (L : ℝ≥0) (hL : LipschitzWith L (gradient f))
    (x s w : ℕ → EuclideanSpace ℝ (Fin n)) (γ : ℕ → ℝ)
    (c₁ c₂ p q : ℝ) (hc₁ : 0 < c₁) (hc₂ : 0 < c₂) (hp : 0 < p) (hq : 0 < q)
    (hx : ∀ t, x (t + 1) = x t + γ t • (s t + w t))
    (h22a : ∀ t, c₁ * ‖gradient f (x t)‖ ^ 2 ≤ -⟪gradient f (x t), s t⟫_ℝ)
    (h22b : ∀ t, ‖s t‖ ≤ c₂ * (1 + ‖gradient f (x t)‖))
    (h23 : ∀ t, ‖w t‖ ≤ γ t * (q + p * ‖gradient f (x t)‖))
    (hγ : ∀ t, 0 < γ t)
    (hsum : Tendsto (fun T => ∑ t ∈ Finset.range T, γ t) atTop atTop)
    (hsq : Summable (fun t => γ t ^ 2)) :
    ∃ β₁ : ℝ, 0 < β₁ ∧ ∃ β₂ : ℝ, 0 < β₂ ∧ ∃ T : ℕ, ∀ t ≥ T,
      f (x (t + 1)) ≤ f (x t) - γ t * β₁ * ‖gradient f (x t)‖ ^ 2 + γ t ^ 2 * β₂ := by sorry

end GradErrors.Deterministic
Source
Bertsekas and Tsitsiklis, Gradient Convergence in Gradient Methods with Errors, SIAM J. Optim. 10 (2000), https://doi.org/10.1137/S1052623497331063, p. 631, §2, proof of Proposition 1, display (2.5)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

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