Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 1, proof (mixed) — Σᵢ E[cᵢ] ≤ Σ_e n_e(P)(a_e(E[n_e]+1) + b_e)

Proved
CongestionPoA.Mixed.mixed_sum_cost_bound

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

congestion-gamemixed-strategyp2o-batch-pfp1ap2o-gran-per-chapterp2o-plan-paperp2o-v1price-of-anarchy

Consider a congestion game with players NNN, facilities EEE and linear latencies fe(k)=aek+bef_e(k) = a_e k + b_efe​(k)=ae​k+be​, ae,be≥0a_e, b_e \ge 0ae​,be​≥0. Let ppp be a mixed Nash equilibrium and PPP any pure strategy profile. Write E[ci]\mathbb E[c_i]E[ci​] and E[ne]\mathbb E[n_e]E[ne​] for the expected cost of player iii and the expected load of facility eee under ppp, and ne(P)n_e(P)ne​(P) for the number of players using eee in PPP. Then the mixed social cost satisfies

SUM(p)=∑i∈NE[ci]≤∑e∈Ene(P)(ae(E[ne]+1)+be).\mathrm{SUM}(p) = \sum_{i \in N} \mathbb E[c_i] \le \sum_{e \in E} n_e(P)\bigl(a_e(\mathbb E[n_e] + 1) + b_e\bigr).SUM(p)=i∈N∑​E[ci​]≤e∈E∑​ne​(P)(ae​(E[ne​]+1)+be​).

This is the second step of the proof of Theorem 1 (PDF p. 3), summing the deviation inequality over the players and regrouping by facility, carried over to mixed equilibria as Sect. 5 (PDF p. 6) says the proof does.

Formalization Note The coefficients ae,bea_e, b_eae​,be​ are explicit, with the hypothesis fe(k)=aek+bef_e(k) = a_e k + b_efe​(k)=ae​k+be​ for all e,ke, ke,k. The mixed Nash equilibrium is AGT.IsMixedNash with payoffs −ci-c_i−ci​.

Preamble
import Mathlib
import Definitions.Def_agt_games
import Definitions.Def_CongestionPoA_Mixed_Model
Formal statement
namespace CongestionPoA.Mixed

/-- Christodoulou and Koutsoupias, *The Price of Anarchy of Finite Congestion Games*, STOC 2005,
Theorem 1, proof (PDF p. 3), applied to mixed profiles as in Sect. 5 (PDF p. 6): the summing step.
Let the latencies be `f_e(k) = a_e·k + b_e` with `a_e, b_e ≥ 0`, let `σ` be a mixed Nash equilibrium
and `P` a pure strategy profile. Then
`Σᵢ E[cᵢ] ≤ Σ_{e∈E} n_e(P)·(a_e·(E[n_e] + 1) + b_e)`.

**Formalization Note.** The paper displays the pure case with identity latencies,
`SUM(A) = Σ_{i∈N} cᵢ(A) ≤ Σ_{i∈N} Σ_{e∈Pᵢ} (n_e(A) + 1) = Σ_{e∈E} n_e(P)(n_e(A) + 1)`; Sect. 5 says the
proof of Theorem 1 carries over to mixed equilibria. Here the latencies are the paper's affine ones
(Sect. 2) with explicit coefficients, `E[·]` is under the product distribution of `σ`, the left side is
the mixed social cost `mixedSumCost G σ = Σᵢ E[cᵢ]` of Sect. 5, and `P` is feasible. -/
theorem mixed_sum_cost_bound {ι E : Type*} [Fintype ι] [DecidableEq ι] [Fintype E] [DecidableEq E]
    (G : CongestionPoA.AsymSum.CongestionGame ι E) (a b : E → ℝ) (ha : ∀ e, 0 ≤ a e) (hb : ∀ e, 0 ≤ b e)
    (hlat : ∀ e k, G.latency e k = a e * k + b e)
    (σ : ∀ i, ↥(G.strategies i) → ℝ) (hσ : IsMixedNash G σ)
    (P : ι → Finset E) (hP : CongestionPoA.AsymSum.IsProfile G P) :
    mixedSumCost G σ ≤ ∑ e, (CongestionPoA.AsymSum.load P e : ℝ) * (a e * (expLoad G σ e + 1) + b e) := by sorry

end CongestionPoA.Mixed
Source
Christodoulou and Koutsoupias, The Price of Anarchy of Finite Congestion Games, STOC 2005, DOI 10.1145/1060590.1060600, PDF p. 3, Theorem 1, proof (second display), applied to mixed profiles as in Sect. 5 (PDF p. 6)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

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