Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(B.5), App. B.1.1, p. 24 — E f(X_{n+1}) − E f(X_n) ≤ −α_{n+1}E‖∇f(X_n)‖² + L B̄ √B α_{n+1}Σα_{r+1} + L√B α²_{n+1} + 4LB α²_{n+1}

Proved
LargeDelaySGD.MeanSquare.eq_B5

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

delaysdescent-inequalityp2o-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;ξ)]. Assume only s(n)≤ns(n)\le ns(n)≤n and αn>0\alpha_n>0αn​>0 for all nnn, and let Bˉ\bar BBˉ be any bound with E∥∇F(x;ξ)∥2≤Bˉ\mathbb E\|\nabla F(x;\xi)\|_2\le\bar BE∥∇F(x;ξ)∥2​≤Bˉ for all xxx. Then for every nnn, f(Xn)f(X_n)f(Xn​) and ∥∇f(Xn)∥22\|\nabla f(X_n)\|_2^2∥∇f(Xn​)∥22​ are integrable and

E[f(Xn+1)]−E[f(Xn)]≤−αn+1E∥∇f(Xn)∥22+LBˉB αn+1∑r=s(n)n−1αr+1+LB αn+12+4LB αn+12.\mathbb E[f(X_{n+1})]-\mathbb E[f(X_n)]\le-\alpha_{n+1}\mathbb E\|\nabla f(X_n)\|_2^2+L\bar B\sqrt B\,\alpha_{n+1}\sum_{r=s(n)}^{n-1}\alpha_{r+1}+L\sqrt B\,\alpha_{n+1}^2+4LB\,\alpha_{n+1}^2.E[f(Xn+1​)]−E[f(Xn​)]≤−αn+1​E∥∇f(Xn​)∥22​+LBˉB​αn+1​r=s(n)∑n−1​αr+1​+LB​αn+12​+4LBαn+12​.

This is the expected one-step descent inequality of delayed SGD: the usual descent term, a delay penalty, and second-order terms in the step size. Telescoping it gives Lemma 1.

Formalization Note. The constants are the page's, as printed in (B.5). The integrability conjuncts guard 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 eq_B5 {d : ℕ} {Ξ Ω : Type*} [MeasurableSpace Ξ] [MeasurableSpace Ω]
    (μ : Measure Ξ) [IsProbabilityMeasure μ] (P : Measure Ω) [IsProbabilityMeasure P]
    (F : EuclideanSpace ℝ (Fin d) → Ξ → ℝ) (B : ℝ) (L : NNReal) (hA1 : Assumption1 F μ B L)
    (α : ℕ → ℝ) (s : ℕ → ℕ)
    (hs : ∀ n, s n ≤ n) (hα : ∀ n, 0 < α n)
    (ω : ℕ → Ω → Ξ) (hω : IIDNoise P μ ω) (x₀ : EuclideanSpace ℝ (Fin d))
    (X : ℕ → Ω → EuclideanSpace ℝ (Fin d)) (hX : IsDASGD F α s ω x₀ X)
    (Bbar : ℝ) (hBbar : ∀ x, ∫ ξ, ‖stochGrad F x ξ‖ ∂μ ≤ Bbar) :
    ∀ n, Integrable (fun a => objective F μ (X n a)) P ∧
      Integrable (fun a => ‖gradient (objective F μ) (X n a)‖ ^ 2) P ∧
      ∫ a, objective F μ (X (n + 1) a) ∂P - ∫ a, objective F μ (X n a) ∂P ≤
        -α (n + 1) * ∫ a, ‖gradient (objective F μ) (X n a)‖ ^ 2 ∂P
          + L * Bbar * Real.sqrt B * α (n + 1) * ∑ r ∈ Finset.Ico (s n) n, α (r + 1)
          + L * Real.sqrt B * α (n + 1) ^ 2 + 4 * L * B * α (n + 1) ^ 2 := 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, App. B.1.1, p. 24, (B.5)
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