Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2, p. 11 — under Assumptions 1–2, |E‖∇f(X_{n+1})‖²₂ − E‖∇f(X_n)‖²₂| ≤ C α_{n+1} for a constant C > 0

Proved
LargeDelaySGD.MeanSquare.lemma_2

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, each ∥∇f(Xn)∥22\|\nabla f(X_n)\|_2^2∥∇f(Xn​)∥22​ is integrable, and there exists a constant C>0C>0C>0 such that for every nnn,

∣E[∥∇f(Xn+1)∥22]−E[∥∇f(Xn)∥22]∣≤C αn+1.\Big|\mathbb E\big[\|\nabla f(X_{n+1})\|_2^2\big]-\mathbb E\big[\|\nabla f(X_n)\|_2^2\big]\Big|\le C\,\alpha_{n+1}.​E[∥∇f(Xn+1​)∥22​]−E[∥∇f(Xn​)∥22​]​≤Cαn+1​.

Successive mean-square gradient norms cannot change faster than the step size; this rules out the oscillating sequences for which a finite weighted sum (Lemma 1) does not imply convergence.

Formalization Note. The integrability conjunct guards against Lean's junk value 000 for integrals of non-integrable functions. CCC may depend on the model data (FFF, μ\muμ, BBB, LLL), as on the page.

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

open MeasureTheory ProbabilityTheory

theorem lemma_2 {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)
    (ω : ℕ → Ω → Ξ) (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) ∧
      ∃ C > (0 : ℝ), ∀ n, |∫ a, ‖gradient (objective F μ) (X (n + 1) a)‖ ^ 2 ∂P -
        ∫ a, ‖gradient (objective F μ) (X n a)‖ ^ 2 ∂P| ≤ C * α (n + 1) := 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. 11, Lemma 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