Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2 — average tracking identity

Proved
AggGameNet.GossipConst.lemma_2

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

consensusgossipp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

For a gossip run with N≥1N\ge1N≥1, let yk=N−1∑iviky^k=N^{-1}\sum_i v_i^kyk=N−1∑i​vik​ be the mean of the agents' estimates. Then at every tick and on every trajectory,

yk=1N∑ixik.y^k=\frac1N\sum_i x_i^k.yk=N1​i∑​xik​.

This identity identifies the common estimate mean with the true average decision. Formalization Note The column-stochastic hypothesis printed in Lemma 2 is automatic for the gossip matrices (26).

Preamble
import Mathlib
import Definitions.Def_AggGameNet_GossipConst_Gossip
Formal statement
namespace AggGameNet.GossipConst

theorem lemma_2 {N n : ℕ} (hN : 0 < N) {Ω : Type*}
    (K : Fin N → Set (AggGameNet.Sync.E n)) (F : Fin N → AggGameNet.Sync.E n → AggGameNet.Sync.E n → AggGameNet.Sync.E n)
    (I J : ℕ → Ω → Fin N) (alpha : Fin N → ℝ)
    (x v : ℕ → Ω → Fin N → AggGameNet.Sync.E n)
    (hrun : IsGossipRun K F I J alpha x v) :
    ∀ k ω, AggGameNet.Gossip.yavg v k ω = (1 / (N : ℝ)) • ∑ i, x k ω i := by sorry

end AggGameNet.GossipConst
Source
Koshal, Nedić, Shanbhag, Distributed Algorithms for Aggregative Games on Graphs, arXiv:1605.00267v2, Lemma 2, p. 10, applied to (26)–(29)
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