Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1, p. 10 — under Assumptions 1–2 and inf f > −∞, Σ_n α_{n+1} E[‖∇f(X_n)‖²₂] < ∞

Proved
LargeDelaySGD.MeanSquare.lemma_1

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

asynchronous-optimizationdelaysp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-gradient-descent

Throughout, d≥0d \ge 0d≥0, X=RdX=\mathbb R^dX=Rd with the Euclidean norm ∥⋅∥2\|\cdot\|_2∥⋅∥2​; the random function F(x;ξ)F(x;\xi)F(x;ξ) lives on a probability space (Ξ,μ)(\Xi,\mu)(Ξ,μ) and f(x)=Eμ[F(x;ξ)]f(x)=\mathbb E_\mu[F(x;\xi)]f(x)=Eμ​[F(x;ξ)]; the noise sequence (ωn)n≥0(\omega_n)_{n\ge0}(ωn​)n≥0​ lives on a second probability space (Ω,P)(\Omega,\mathbb P)(Ω,P), is i.i.d. with law μ\muμ, and XnX_nXn​ are the DASGD iterates X0=x0X_0=x_0X0​=x0​, Xn+1=Xn−αn+1∇F(Xs(n),ωn+1)X_{n+1}=X_n-\alpha_{n+1}\nabla F(X_{s(n)},\omega_{n+1})Xn+1​=Xn​−αn+1​∇F(Xs(n)​,ωn+1​) with a deterministic delay schedule s(n)≤ns(n)\le ns(n)≤n. Assumption 1 is taken with a bound B≥sup⁡xE∥∇F(x;ξ)∥22B\ge\sup_x\mathbb E\|\nabla F(x;\xi)\|_2^2B≥supx​E∥∇F(x;ξ)∥22​ and a Lipschitz constant LLL of x↦E[∇F(x;ξ)]x\mapsto\mathbb E[\nabla F(x;\xi)]x↦E[∇F(x;ξ)]. Under Assumptions 1 and 2, if inf⁡x∈Rdf(x)>−∞\inf_{x\in\mathbb R^d}f(x)>-\inftyinfx∈Rd​f(x)>−∞, then each ∥∇f(Xn)∥22\|\nabla f(X_n)\|_2^2∥∇f(Xn​)∥22​ is integrable and

∑n=0∞αn+1 E[∥∇f(Xn)∥22]<∞.\sum_{n=0}^\infty\alpha_{n+1}\,\mathbb E\big[\|\nabla f(X_n)\|_2^2\big]<\infty.n=0∑∞​αn+1​E[∥∇f(Xn​)∥22​]<∞.

A step-size-weighted tail sum of the mean-square gradient norms is finite; combined with ∑αn+1=∞\sum\alpha_{n+1}=\infty∑αn+1​=∞ this already gives lim inf⁡nE∥∇f(Xn)∥22=0\liminf_n\mathbb E\|\nabla f(X_n)\|_2^2=0liminfn​E∥∇f(Xn​)∥22​=0.

Formalization Note. "inf⁡f>−∞\inf f>-\inftyinff>−∞" is BddBelow (Set.range f). The integrability conjunct guards against Lean's junk value 000 for integrals of non-integrable functions.

Preamble
import Mathlib
import Definitions.Def_LargeDelaySGD_MeanSquare_Model
Formal statement
namespace LargeDelaySGD.MeanSquare

open MeasureTheory ProbabilityTheory

theorem lemma_1 {d : ℕ} {Ξ Ω : Type*} [MeasurableSpace Ξ] [MeasurableSpace Ω]
    (μ : Measure Ξ) [IsProbabilityMeasure μ] (P : Measure Ω) [IsProbabilityMeasure P]
    (F : EuclideanSpace ℝ (Fin d) → Ξ → ℝ) (B : ℝ) (L : NNReal) (hA1 : Assumption1 F μ B L)
    (α : ℕ → ℝ) (s : ℕ → ℕ) (hA2 : Assumption2 α s)
    (hinf : BddBelow (Set.range (objective F μ)))
    (ω : ℕ → Ω → Ξ) (hω : IIDNoise P μ ω) (x₀ : EuclideanSpace ℝ (Fin d))
    (X : ℕ → Ω → EuclideanSpace ℝ (Fin d)) (hX : IsDASGD F α s ω x₀ X) :
    (∀ n, Integrable (fun a => ‖gradient (objective F μ) (X n a)‖ ^ 2) P) ∧
      Summable (fun n => α (n + 1) * ∫ a, ‖gradient (objective F μ) (X n a)‖ ^ 2 ∂P) := by sorry

end LargeDelaySGD.MeanSquare
Source
Z. Zhou, P. Mertikopoulos, N. Bambos, P. W. Glynn, Y. Ye, Distributed Stochastic Optimization with Large Delays, arXiv:2107.02919v1, p. 10, Lemma 1, eq. (2)
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

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