Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 4.7 — Strongly Convex SG with Diminishing Step Sizes

Proved
BCN.StronglyConvexDiminishingStep

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

optimizationprobabilitystochastic-gradient

Mathematical statement

Assume d≥1d\ge1d≥1 and FFF is ccc-strongly convex on all of Rd\mathbb R^dRd, with c>0c>0c>0. For differentiable FFF, this means

F(y)≥F(x)+∇F(x)⊤(y−x)+c2∥y−x∥2for all x,y.F(y)\ge F(x)+\nabla F(x)^\top(y-x)+\frac c2\|y-x\|^2 \quad\text{for all }x,y.F(y)≥F(x)+∇F(x)⊤(y−x)+2c​∥y−x∥2for all x,y.

The Lean statement uses StrongConvexOn Set.univ c F. Set Finf⁡=F∗F_{\inf}=F_*Finf​=F∗​, where F∗=inf⁡xF(x)F_*=\inf_x F(x)F∗​=infx​F(x) as defined above, and put Δ0=F(w0)−F∗\Delta_0=F(w_0)-F_*Δ0​=F(w0​)−F∗​.

Choose real constants β>1/(cμ)\beta>1/(c\mu)β>1/(cμ) and γ>0\gamma>0γ>0 such that β/(γ+1)≤μ/(LMG)\beta/(\gamma+1)\le\mu/(LM_G)β/(γ+1)≤μ/(LMG​), and let αk=β/(γ+k+1)\alpha_k=\beta/(\gamma+k+1)αk​=β/(γ+k+1). Define

ν=max⁡{β2LM2(βcμ−1),(γ+1)Δ0}.\nu=\max\left\{\frac{\beta^2LM}{2(\beta c\mu-1)}, (\gamma+1)\Delta_0\right\}.ν=max{2(βcμ−1)β2LM​,(γ+1)Δ0​}.

Then Δk≤ν/(γ+k+1)\Delta_k\le\nu/(\gamma+k+1)Δk​≤ν/(γ+k+1) for every k≥0k\ge0k≥0. Formalization note: direct source theorem, with every index shifted consistently from the paper's first index 111 to the local first index 000. The strict conditions on ccc, β\betaβ, and γ\gammaγ make the displayed denominators positive.

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. 28 and PDF p. 29, Theorem 4.7, equations (4.20)–(4.22).

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 StronglyConvexDiminishingStep :
  ∀ (d : ℕ), 0 < d → ∀ (P : Objective d) (C : MomentConstants)
    (Ω : Type u) [MeasurableSpace Ω] (prob : Measure Ω) [IsProbabilityMeasure prob]
    (c β γ : ℝ), 0 < c → StrongConvexOn Set.univ c P.F →
    1 / (c * C.μ) < β → 0 < γ → β / (γ + 1) ≤ C.μ / (P.L * C.MG) →
    ∀ R : Run P C prob (fun k ↦ β / (γ + (k : ℝ) + 1)),
      R.lower = optimalValue P → ∀ k,
        expectedGap R k ≤ diminishingGapConstant P C R.w0 c β γ / (γ + (k : ℝ) + 1) := 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. 28 and PDF p. 29, Theorem 4.7, equations (4.20)–(4.22).
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 d>0d>0d>0, 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, and every real c,β,γc,\beta,\gammac,β,γ. Put MG=MV+μG2M_G=M_V+\mu_G^2MG​=MV​+μG2​. Its extra assumptions are c>0c>0c>0, ccc-strong convexity of fff on all of EEE, β>1/(cμ)\beta>1/(c\mu)β>1/(cμ), γ>0\gamma>0γ>0, and β/(γ+1)≤μ/(LMG)\beta/(\gamma+1)\le\mu/(LM_G)β/(γ+1)≤μ/(LMG​). It quantifies over every run with steps αj=β/(γ+j+1)\alpha_j=\beta/(\gamma+j+1)αj​=β/(γ+j+1), where the natural index is regarded as real. 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, it 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. The target additionally assumes b=f∗b=f_*b=f∗​, the total real infimum of the range of fff. Put D=max⁡{β2LM2(βcμ−1),(γ+1)(f(winit)−f∗)}D=\max\left\{\frac{\beta^2LM}{2(\beta c\mu-1)},(\gamma+1)(f(w_{\mathrm{init}})-f_*)\right\}D=max{2(βcμ−1)β2LM​,(γ+1)(f(winit​)−f∗​)}. It asserts ∫Ω(f(wk)−f∗) dP≤D/(γ+k+1)\int_\Omega(f(w_k)-f_*)\,d\mathbb{P}\le D/(\gamma+k+1)∫Ω​(f(wk​)−f∗​)dP≤D/(γ+k+1) for every natural kkk. The first step is β/(γ+1)\beta/(\gamma+1)β/(γ+1), and the conclusion includes k=0k=0k=0 with denominator γ+1\gamma+1γ+1. The assumptions ensure β>0\beta>0β>0, βcμ−1>0\beta c\mu-1>0βcμ−1>0, and γ+k+1>0\gamma+k+1>0γ+k+1>0 for every natural kkk, so all displayed denominators are positive. Dimension zero is excluded; M=0M=0M=0 and MV=0M_V=0MV​=0 are allowed. The infimum is total, with value zero for an unbounded-below range; attainment of a minimizer is not a separate hypothesis. An empty region or empty sample type cannot furnish the required run and probability measure. 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