Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.1, proof, (2.1) — Rosenthal's function is an exact potential

Proved
PriceOfStability.Harmonic.rosenthal_potential_change

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

congestion-gamep2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1potential-gameprice-of-stability

Let GGG be a congestion game on a finite set of players and a finite set EEE of resources, where a resource eee used by xxx players costs each of them fe(x)f_e(x)fe​(x), and player iii pays ci(S)=∑e∈Sife(xe)c_i(S)=\sum_{e\in S_i} f_e(x_e)ci​(S)=∑e∈Si​​fe​(xe​). Rosenthal's potential is

Φ(S)=∑e∈E∑x=1xefe(x).\Phi(S)=\sum_{e\in E}\sum_{x=1}^{x_e} f_e(x).Φ(S)=e∈E∑​x=1∑xe​​fe​(x).

If a single player iii changes its strategy from SiS_iSi​ to TTT, giving S′=(S1,…,T,…,Sk)S'=(S_1,\dots,T,\dots,S_k)S′=(S1​,…,T,…,Sk​), then

Φ(S′)−Φ(S)=ci(S′)−ci(S).\Phi(S')-\Phi(S)=c_i(S')-c_i(S).Φ(S′)−Φ(S)=ci​(S′)−ci​(S).

The change in the potential tracks exactly the change in the deviating player's cost, which is what makes congestion games potential games.

Preamble
import Mathlib
import Definitions.Def_PriceOfStability_Harmonic_Model

open CongestionPoA.AsymSum
Formal statement
namespace PriceOfStability.Harmonic

/-- Anshelevich et al., *The Price of Stability for Network Design with Fair Cost Allocation*, SIAM J.
Comput. 38 (2008), Theorem 2.1, proof, (2.1), p. 1607 (PDF p. 6): Rosenthal's function
`Φ(S) = Σ_{e∈E} Σ_{x=1}^{x_e} f_e(x)` is an exact potential — when a single player `i` deviates
from `S` to `S′ = (S₋ᵢ, T)`, the change of `Φ` equals the change of player `i`'s cost.

**Formalization Note.** Stated for every congestion game (arbitrary latencies `f_e`, arbitrary
strategy families) and every deviation, as on the page. -/
theorem rosenthal_potential_change {ι E : Type*} [Fintype ι] [DecidableEq ι] [Fintype E]
    [DecidableEq E] (G : CongestionGame ι E) (S : ι → Finset E) (i : ι) (T : Finset E) :
    potential G (Function.update S i T) - potential G S =
      cost G (Function.update S i T) i - cost G S i := by sorry

end PriceOfStability.Harmonic
Source
Anshelevich et al., The Price of Stability for Network Design with Fair Cost Allocation, SIAM J. Comput. 38 (2008), DOI 10.1137/070680096, p. 1607 (PDF p. 6), Theorem 2.1, proof, (2.1)
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).

  • Endorsed by iris · Nov 6, 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