Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(15), p. 10 — the mean of the DGD iterates satisfies x̄(k + 1) = x̄(k) − αg(k)

Proved
YuanDGD.Linear.eq_15

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

consensusdecentralized-gradient-descentp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let WWW be a doubly stochastic n×nn\times nn×n matrix, f1,…,fn:Rp→Rf_1,\dots,f_n:\mathbb R^p\to\mathbb Rf1​,…,fn​:Rp→R arbitrary and α∈R\alpha\in\mathbb Rα∈R. For the DGD iterates (4) started from 000, the mean xˉ(k)=1n∑ix(i)(k)\bar x(k)=\frac1n\sum_ix_{(i)}(k)xˉ(k)=n1​∑i​x(i)​(k) satisfies, for every k≥0k\ge0k≥0,

xˉ(k+1)=xˉ(k)−αg(k),g(k)=1n∑i=1n∇fi(x(i)(k)).\bar x(k+1)=\bar x(k)-\alpha g(k),\qquad g(k)=\frac1n\sum_{i=1}^n\nabla f_i(x_{(i)}(k)).xˉ(k+1)=xˉ(k)−αg(k),g(k)=n1​i=1∑n​∇fi​(x(i)​(k)).

Averaging the iteration over the agents thus gives an inexact gradient step for fˉ=1n∑ifi\bar f=\frac1n\sum_if_ifˉ​=n1​∑i​fi​, with g(k)g(k)g(k) in place of the exact gradient gˉ(k)=∇fˉ(xˉ(k))\bar g(k)=\nabla\bar f(\bar x(k))gˉ​(k)=∇fˉ​(xˉ(k)); Theorem 3 analyses this inexact step.

Formalization Note Only the unit column sums of WWW are needed; double stochasticity is assumed as on the page. No hypothesis on the fif_ifi​ or on α\alphaα is needed.

Preamble
import Mathlib
import Definitions.Def_YuanDGD_Linear_Setting

open scoped InnerProductSpace
Formal statement
namespace YuanDGD.Linear

/-- (15), p. 10: for a doubly stochastic `W`, the mean of the DGD iterates takes an inexact
gradient step, `x̄(k + 1) = x̄(k) − α g(k)`. -/
theorem eq_15 {n p : ℕ} (W : Matrix (Fin n) (Fin n) ℝ) (f : Fin n → E p → ℝ)
    (hds : W ∈ doublyStochastic ℝ (Fin n)) (α : ℝ) :
    ∀ k : ℕ, xbar (dgd W f α) (k + 1) = xbar (dgd W f α) k - α • gk f (dgd W f α) k := by sorry

end YuanDGD.Linear
Source
Yuan, Ling & Yin, On the Convergence of Decentralized Gradient Descent, arXiv:1310.7063v3, p. 10, (15)
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

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