Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 4.10 — Nonconvex SG with Diminishing Step Sizes

Proved
BCN.NonconvexDiminishingStep

by Minghui · Sep 25, 2026 · Mathlib c5ea003 (Lean v4.30.0)

optimizationprobabilitystochastic-gradient

Mathematical statement

No convexity assumption is made. Let the deterministic positive step sizes satisfy

∑k=0∞αk=∞,∑k=0∞αk2<∞.\sum_{k=0}^{\infty}\alpha_k=\infty, \qquad\sum_{k=0}^{\infty}\alpha_k^2<\infty.k=0∑∞​αk​=∞,k=0∑∞​αk2​<∞.

Then the expected weighted partial sums converge to a finite real number, and their step-weighted averages vanish:

∃S∈R,lim⁡K→∞WK=S,lim⁡K→∞WKAK=0.\exists S\in\mathbb R,\quad\lim_{K\to\infty}W_K=S, \qquad\lim_{K\to\infty}\frac{W_K}{A_K}=0.∃S∈R,K→∞lim​WK​=S,K→∞lim​AK​WK​​=0.

Formalization note: direct source theorem, both conclusions (4.30a)–(4.30b). The existence of a finite limit formalizes the finite expectation limit in (4.30a). It is stronger than merely asserting that each finite partial sum is finite. There is no additional uniform upper bound on all step sizes, no monotonicity requirement, and no assertion that every individual gradient tends to zero. The objective lower bound is required on the open trajectory region.

Source: Léon Bottou, Frank E. Curtis, Jorge Nocedal, Optimization Methods for Large-Scale Machine Learning, arXiv:1606.04838v3, https://arxiv.org/abs/1606.04838v3; Section 4, PDF p. 33 and PDF p. 34, Theorem 4.10, equations (4.30a)–(4.30b); PDF p. 28, step-size condition (4.19).

Notation and probability model

Let d∈Nd\in\mathbb Nd∈N and F:Rd→RF:\mathbb R^d\to\mathbb RF:Rd→R have an actual gradient ∇F\nabla F∇F at every point, with ∥∇F(x)−∇F(y)∥≤L∥x−y∥\|\nabla F(x)-\nabla F(y)\|\le L\|x-y\|∥∇F(x)−∇F(y)∥≤L∥x−y∥ for all x,yx,yx,y, where L>0L>0L>0. On a probability space (Ω,A,P)(\Omega,\mathcal A,\mathbb P)(Ω,A,P), let (Fk)k≥0(\mathcal F_k)_{k\ge0}(Fk​)k≥0​ be an increasing family of sub-σ\sigmaσ-algebras of A\mathcal AA. The initial vector w0w_0w0​ is deterministic. The iterate wkw_kwk​ is strongly Fk\mathcal F_kFk​-measurable, and the sampled direction gkg_kgk​ is strongly Fk+1\mathcal F_{k+1}Fk+1​-measurable with E∥gk∥2<∞\mathbb E\|g_k\|^2<\inftyE∥gk​∥2<∞. For deterministic real step sizes αk>0\alpha_k>0αk​>0, the algorithm is

wk+1=wk−αkgkalmost surely.w_{k+1}=w_k-\alpha_k g_k\quad\text{almost surely}.wk+1​=wk​−αk​gk​almost surely.

An open set U⊆RdU\subseteq\mathbb R^dU⊆Rd contains every iterate almost surely, and a real number Finf⁡F_{\inf}Finf​ satisfies F(x)≥Finf⁡F(x)\ge F_{\inf}F(x)≥Finf​ for all x∈Ux\in Ux∈U. Put mk=E[gk∣Fk]m_k=\mathbb E[g_k\mid\mathcal F_k]mk​=E[gk​∣Fk​]. Fix real constants 0<μ≤μG0<\mu\le\mu_G0<μ≤μG​, M≥0M\ge0M≥0, MV≥0M_V\ge0MV​≥0, and MG=MV+μG2M_G=M_V+\mu_G^2MG​=MV​+μG2​. The source's first- and second-moment assumptions are, almost surely for every kkk,

∇F(wk)⊤mk≥μ∥∇F(wk)∥2,∥mk∥≤μG∥∇F(wk)∥,\nabla F(w_k)^\top m_k\ge\mu\|\nabla F(w_k)\|^2, \qquad\|m_k\|\le\mu_G\|\nabla F(w_k)\|,∇F(wk​)⊤mk​≥μ∥∇F(wk​)∥2,∥mk​∥≤μG​∥∇F(wk​)∥, E[∥gk∥2∣Fk]−∥mk∥2≤M+MV∥∇F(wk)∥2.\mathbb E[\|g_k\|^2\mid\mathcal F_k]-\|m_k\|^2 \le M+M_V\|\nabla F(w_k)\|^2.E[∥gk​∥2∣Fk​]−∥mk​∥2≤M+MV​∥∇F(wk​)∥2.

Write qk=∥∇F(wk)∥2q_k=\|\nabla F(w_k)\|^2qk​=∥∇F(wk​)∥2, AK=∑k=0K−1αkA_K=\sum_{k=0}^{K-1}\alpha_kAK​=∑k=0K−1​αk​, WK=E[∑k=0K−1αkqk]W_K=\mathbb E[\sum_{k=0}^{K-1}\alpha_k q_k]WK​=E[∑k=0K−1​αk​qk​], and GK=E[∑k=0K−1qk]G_K=\mathbb E[\sum_{k=0}^{K-1}q_k]GK​=E[∑k=0K−1​qk​]; empty sums are zero. Define F∗:=inf⁡x∈RdF(x)F_*:=\inf_{x\in\mathbb R^d}F(x)F∗​:=infx∈Rd​F(x) using the actual objective's range (Lean's real-valued sInf), and Δk=E[F(wk)−F∗]\Delta_k=\mathbb E[F(w_k)-F_*]Δk​=E[F(wk​)−F∗​] when stating the strongly convex targets. Those targets require d≥1d\ge1d≥1, positive strong-convexity modulus, and Finf⁡=F∗F_{\inf}=F_*Finf​=F∗​. The other targets permit d=0d=0d=0 and use the trajectory-region lower bound Finf⁡F_{\inf}Finf​, without assuming a global minimizer.

Formalization note: these are source assumptions with explicit filtration, measurability, and finite-second-moment conventions for genuine Bochner and conditional expectations. The deterministic initialization and square-integrable directions imply finite iterate second moments; objective and gradient moments must be justified from smoothness in the proofs. The model assumes no expected descent inequality, no gradient-gap inequality, and no convergence conclusion. Local index 000 is paper index 111 throughout. Full-history conditioning follows Algorithm 4.1, PDF p. 22, footnote 4; the model assumptions are Assumptions 4.1 and 4.3, PDF p. 23 and PDF p. 24, equations (4.6)–(4.9), in Section 4 of Bottou–Curtis–Nocedal, Optimization Methods for Large-Scale Machine Learning: https://arxiv.org/abs/1606.04838v3.

Preamble
import Definitions.Def_BCN_SG_Model
open MeasureTheory Filter
open scoped Topology
universe u
Formal statement
namespace BCN
theorem NonconvexDiminishingStep :
  ∀ (d : ℕ) (P : Objective d) (C : MomentConstants)
    (Ω : Type u) [MeasurableSpace Ω] (prob : Measure Ω) [IsProbabilityMeasure prob]
    (α : ℕ → ℝ) (R : Run P C prob α),
    Tendsto (stepSum α) atTop atTop → Summable (fun k ↦ α k ^ 2) →
      (∃ S : ℝ, Tendsto (weightedGradientSum R) atTop (𝓝 S)) ∧
      Tendsto (fun K ↦ weightedGradientSum R K / stepSum α K) atTop (𝓝 0) := by sorry
end BCN
Source
Léon Bottou, Frank E. Curtis, Jorge Nocedal, Optimization Methods for Large-Scale Machine Learning, arXiv:1606.04838v3, https://arxiv.org/abs/1606.04838v3; Section 4, PDF p. 33 and PDF p. 34, Theorem 4.10, equations (4.30a)–(4.30b); PDF p. 28, step-size condition (4.19).
Read-back

What the Lean code literally says, in plain math · gpt-6

This declaration is an unproved theorem target. It quantifies universally over every natural ddd, the Euclidean space E=RdE=\mathbb{R}^dE=Rd, every objective f:E→Rf:E\to\mathbb{R}f:E→R with a gradient at every point and a real L>0L>0L>0 satisfying ∥∇f(x)−∇f(y)∥≤L∥x−y∥\|\nabla f(x)-\nabla f(y)\|\le L\|x-y\|∥∇f(x)−∇f(y)∥≤L∥x−y∥ for all x,yx,yx,y, every real μ,μG,M,MV\mu,\mu_G,M,M_Vμ,μG​,M,MV​ with 0<μ≤μG0<\mu\le\mu_G0<μ≤μG​, M≥0M\ge0M≥0, and MV≥0M_V\ge0MV​≥0, every sample type Ω\OmegaΩ in its arbitrary universe with a measurable-space structure and probability measure P\mathbb{P}P, every real step sequence α\alphaα, and every run with these data. A run supplies an increasing filtration (Hj)(\mathcal{H}_j)(Hj​) of sub-σ\sigmaσ-algebras of the ambient measurable space, functions wj,gj:Ω→Ew_j,g_j:\Omega\to Ewj​,gj​:Ω→E, a deterministic vector winitw_{\mathrm{init}}winit​, an open set UUU, and a real bbb. It requires w0(ω)=winitw_0(\omega)=w_{\mathrm{init}}w0​(ω)=winit​ for every ω\omegaω; for every natural jjj, strong Hj\mathcal{H}_jHj​-measurability of wjw_jwj​, strong Hj+1\mathcal{H}_{j+1}Hj+1​-measurability of gjg_jgj​, gj∈L2(P;E)g_j\in L^2(\mathbb{P};E)gj​∈L2(P;E), αj>0\alpha_j>0αj​>0, the almost-sure update wj+1=wj−αjgjw_{j+1}=w_j-\alpha_jg_jwj+1​=wj​−αj​gj​, and almost-sure membership wj∈Uw_j\in Uwj​∈U; and b≤f(x)b\le f(x)b≤f(x) for every x∈Ux\in Ux∈U. Put vj=∇f(wj)v_j=\nabla f(w_j)vj​=∇f(wj​), mj=E[gj∣Hj]m_j=\mathbb{E}[g_j\mid\mathcal{H}_j]mj​=E[gj​∣Hj​], and qj=E[∥gj∥2∣Hj]q_j=\mathbb{E}[\|g_j\|^2\mid\mathcal{H}_j]qj​=E[∥gj​∥2∣Hj​]. For every jjj, the run requires almost surely μ∥vj∥2≤⟨vj,mj⟩\mu\|v_j\|^2\le\langle v_j,m_j\rangleμ∥vj​∥2≤⟨vj​,mj​⟩, ∥mj∥≤μG∥vj∥\|m_j\|\le\mu_G\|v_j\|∥mj​∥≤μG​∥vj​∥, and qj−∥mj∥2≤M+MV∥vj∥2q_j-\|m_j\|^2\le M+M_V\|v_j\|^2qj​−∥mj​∥2≤M+MV​∥vj​∥2. Almost-sure requirements are separate at each index. For natural KKK, put AK=∑k=0K−1αkA_K=\sum_{k=0}^{K-1}\alpha_kAK​=∑k=0K−1​αk​ and WK=∫Ω∑k=0K−1αk∥∇f(wk)∥2 dPW_K=\int_\Omega\sum_{k=0}^{K-1}\alpha_k\|\nabla f(w_k)\|^2\,d\mathbb{P}WK​=∫Ω​∑k=0K−1​αk​∥∇f(wk​)∥2dP. The target's additional hypotheses are AK→+∞A_K\to+\inftyAK​→+∞ as natural K→∞K\to\inftyK→∞ and summability of the real series ∑k=0∞αk2\sum_{k=0}^{\infty}\alpha_k^2∑k=0∞​αk2​. It concludes both that there exists a real SSS with lim⁡K→∞WK=S\lim_{K\to\infty}W_K=SlimK→∞​WK​=S and that lim⁡K→∞WK/AK=0\lim_{K\to\infty}W_K/A_K=0limK→∞​WK​/AK​=0. The existential limit value has no specified formula or uniqueness clause. There is no extra assumption of convexity, failure of convexity, step monotonicity, a particular step formula, or a uniform step-size upper bound. Each step is positive by the run requirements. The finite sums begin at zero; A0=W0=0A_0=W_0=0A0​=W0​=0, and the normalized expression at K=0K=0K=0 is 0/0=00/0=00/0=0, whereas AK>0A_K>0AK​>0 for K>0K>0K>0. The expectations are taken after each finite weighted sum is formed. The dimension d=0d=0d=0, and M=0M=0M=0 or MV=0M_V=0MV​=0, are allowed. The regional lower bound bbb need not equal a global infimum. A nonpositive step, an empty region, or an empty sample type with a probability-measure requirement cannot furnish a run, making universal assertions over such impossible data vacuous. Expectations use total Bochner integrals, zero on nonintegrable inputs; conditional expectations use total mathematical-library definitions, including zero when required integrability fails. No separate loss-integrability or squared-gradient-integrability field is assumed. Real division has x/0=0x/0=0x/0=0.

Human review
  • Endorsed by Shuze Chen · Sep 26, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Minghui · Sep 26, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me