Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§5, proof of Theorem 15, p.20 — the progress measure takes at most 1+m(m+1)(m+5)/6≤m31+m(m+1)(m+5)/6\le m^31+m(m+1)(m+5)/6≤m3 values

Proved
WeightedCoordGames.count_le_cube

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricscoordination-gamesp2o-gran-per-chapterp2o-plan-paperp2o-v1

For every integer m≥2m\ge2m≥2,

1+∑g=0m−1∑p=g+1m(p−g)+∑g=0m−1(m−g)=1+∑g=0m−1(m−g)(1+m−g)2+m(1+m)2=1+∑x=1mx(1+x)2+m(1+m)2=1+m(m+1)(m+2)6+m(1+m)2=1+m(m+1)(m+5)6≤m3.\begin{aligned} 1+\sum_{g=0}^{m-1}\sum_{p=g+1}^{m}(p-g)+\sum_{g=0}^{m-1}(m-g) &=1+\sum_{g=0}^{m-1}\frac{(m-g)(1+m-g)}{2}+\frac{m(1+m)}{2}\\ &=1+\sum_{x=1}^{m}\frac{x(1+x)}{2}+\frac{m(1+m)}{2}\\ &=1+\frac{m(m+1)(m+2)}{6}+\frac{m(1+m)}{2}\\ &=1+\frac{m(m+1)(m+5)}{6}\le m^3 . \end{aligned}1+g=0∑m−1​p=g+1∑m​(p−g)+g=0∑m−1​(m−g)​=1+g=0∑m−1​2(m−g)(1+m−g)​+2m(1+m)​=1+x=1∑m​2x(1+x)​+2m(1+m)​=1+6m(m+1)(m+2)​+2m(1+m)​=1+6m(m+1)(m+5)​≤m3.​

The left-hand side counts the possible values of the progress measure μ\muμ: one value at Nash equilibria, and the quadruples allowed by guard+1≤NBR≤∣prefix∣≤m\mathrm{guard}+1\le\mathrm{NBR}\le|\mathrm{prefix}|\le mguard+1≤NBR≤∣prefix∣≤m in its two other cases. With at most 3v3v3v steps per round this gives the bound 3vm33vm^33vm3 of Theorem 15.

Formalization Note The identity is stated in natural numbers. Every subtraction is of a smaller number and every division is exact.

Differences from the source:

  • encoding: rational expressions → natural-number arithmetic with truncated subtraction and division; reason: all subtractions are p−gp-gp−g with g<pg<pg<p or m−gm-gm−g with g<mg<mg<m, and all quotients are exact, so the values coincide
Preamble
import Mathlib
Formal statement
namespace WeightedCoordGames

/-- **The counting display** (Apt–Simon–Wojtczak, arXiv:1910.02693v2, §5, proof of Theorem 15,
p.20): for `m ≥ 2`,
`1 + Σ_{g=0}^{m−1} Σ_{p=g+1}^{m} (p − g) + Σ_{g=0}^{m−1} (m − g)`
`= 1 + Σ_{g=0}^{m−1} (m − g)(1 + m − g)/2 + m(1 + m)/2`
`= 1 + Σ_{x=1}^{m} x(1 + x)/2 + m(1 + m)/2`
`= 1 + m(m + 1)(m + 2)/6 + m(1 + m)/2`
`= 1 + m(m + 1)(m + 5)/6 ≤ m³`.

**Formalization Note.** Natural-number arithmetic; every subtraction has `g < m`, `g < p`, and
every division is exact (a product of two consecutive naturals is even, of three is divisible
by `6`, and `m(m+1)(m+5) = m(m+1)(m+2) + 3m(m+1)`). -/
theorem count_le_cube (m : ℕ) (hm : 2 ≤ m) :
    1 + (∑ g ∈ Finset.range m, ∑ p ∈ Finset.Icc (g + 1) m, (p - g)) +
          (∑ g ∈ Finset.range m, (m - g)) =
        1 + (∑ g ∈ Finset.range m, (m - g) * (1 + m - g) / 2) + m * (1 + m) / 2 ∧
    1 + (∑ g ∈ Finset.range m, (m - g) * (1 + m - g) / 2) + m * (1 + m) / 2 =
        1 + (∑ x ∈ Finset.Icc 1 m, x * (1 + x) / 2) + m * (1 + m) / 2 ∧
    1 + (∑ x ∈ Finset.Icc 1 m, x * (1 + x) / 2) + m * (1 + m) / 2 =
        1 + m * (m + 1) * (m + 2) / 6 + m * (1 + m) / 2 ∧
    1 + m * (m + 1) * (m + 2) / 6 + m * (1 + m) / 2 = 1 + m * (m + 1) * (m + 5) / 6 ∧
    1 + m * (m + 1) * (m + 5) / 6 ≤ m ^ 3 := by sorry

end WeightedCoordGames
Source
Apt–Simon–Wojtczak, Coordination Games on Weighted Directed Graphs, arXiv:1910.02693v2 (preprint), §5, proof of Theorem 15, counting display, p.20
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me