Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1, p. 630 — gradient method with stepsize-proportional errors: f(x_t) → −∞, or f(x_t) converges and ∇f(x_t) → 0

Proved
GradErrors.Deterministic.proposition_1

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, with
∑t=0∞γt=∞,∑t=0∞γt2<∞.\sum_{t=0}^\infty\gamma_t=\infty,\qquad\sum_{t=0}^\infty\gamma_t^2<\infty.t=0∑∞​γt​=∞,t=0∑∞​γt2​<∞.

Then either f(xt)→−∞f(x_t)\to-\inftyf(xt​)→−∞, or else f(xt)f(x_t)f(xt​) converges to a finite value and lim⁡t→∞∇f(xt)=0\lim_{t\to\infty}\nabla f(x_t)=0limt→∞​∇f(xt​)=0. Furthermore, every limit point xˉ\bar xxˉ of (xt)(x_t)(xt​) is a stationary point of fff: ∇f(xˉ)=0\nabla f(\bar x)=0∇f(xˉ)=0.

This is the main deterministic result of the paper. It needs no boundedness of the iterates and no lower bound on fff, and it allows a descent direction sts_tst​ that is not the negative gradient together with an error wtw_twt​ whose size is proportional to the stepsize. It covers, for example, the incremental gradient method (Proposition 2 of the paper).

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). "Every limit point is stationary" is stated outside the disjunction, as on the page; a limit point is a cluster point of the sequence (MapClusterPt xbar atTop x). ∑tγt=∞\sum_t\gamma_t=\infty∑t​γt​=∞ is divergence of the partial sums to +∞+\infty+∞, and ∑tγt2<∞\sum_t\gamma_t^2<\infty∑t​γt2​<∞ is Summable of the nonnegative terms γt2\gamma_t^2γt2​.

Preamble
import Mathlib

open Filter Topology NNReal InnerProductSpace
Formal statement
namespace GradErrors.Deterministic

theorem proposition_1 {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)) :
    (Tendsto (fun t => f (x t)) atTop atBot ∨
      ((∃ l : ℝ, Tendsto (fun t => f (x t)) atTop (𝓝 l)) ∧
        Tendsto (fun t => gradient f (x t)) atTop (𝓝 0))) ∧
    ∀ xbar, MapClusterPt xbar atTop x → gradient f xbar = 0 := 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. 630, Proposition 1
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