Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Fig. 1.1 — the unique Nash equilibrium costs H(k) while a profile costs 1 + ε

Proved
PriceOfStability.Harmonic.fig11_unique_nash

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

cost-sharingnash-equilibriump2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1price-of-stability

Let k≥1k\ge1k≥1 and ε>0\varepsilon>0ε>0, and consider the instance of Fig. 1.1: player iii (1≤i≤k1\le i\le k1≤i≤k) connects a common source sss to its terminal tit_iti​ either by its own edge of cost 1/i1/i1/i or by a common edge of cost 1+ε1+\varepsilon1+ε followed by a private edge of cost 000, with Shapley cost sharing. Then

  1. the game has exactly one pure Nash equilibrium;
  2. every pure Nash equilibrium has total cost ∑i=1k1/i=H(k)\sum_{i=1}^k 1/i=H(k)∑i=1k​1/i=H(k);
  3. the profile in which all players use the common path costs 1+ε1+\varepsilon1+ε.

Hence the price of stability of this instance is at least H(k)/(1+ε)H(k)/(1+\varepsilon)H(k)/(1+ε), which tends to H(k)H(k)H(k) as ε→0\varepsilon\to0ε→0: the bound of Theorem 2.1 is tight.

Formalization Note. The paper calls the all-common profile optimal; that is false for k=1k=1k=1 (the own edge costs 1<1+ε1<1+\varepsilon1<1+ε), so only the existence of a profile of cost 1+ε1+\varepsilon1+ε is stated.

Preamble
import Mathlib
import Definitions.Def_PriceOfStability_Harmonic_fig11

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), Sect. 1, p. 1604 (PDF p. 3), Fig. 1.1: with `k ≥ 1` players and `ε > 0`, the instance
of Fig. 1.1 has a unique Nash equilibrium, it costs `H(k) = Σ_{i=1}^k 1/i`, and the profile in
which all players share the common path costs `1 + ε`. Hence the price of stability of this
instance is at least `H(k)/(1 + ε)`, which tends to `H(k)` as `ε → 0` (caption of Fig. 1.1;
"the upper bound of Theorem 2.1 is tight", p. 1608).

**Formalization Note.** The second conjunct is implied by the first together with the
computation of the equilibrium's cost; it is stated separately because it is the claim of the
page. The page's "the optimal solution … for a total cost of 1 + ε" is false for `k = 1`
(the own edge costs `1 < 1 + ε`), so only the existence of a profile of cost `1 + ε` is stated. -/
theorem fig11_unique_nash (k : ℕ) (ε : ℝ) (hk : 1 ≤ k) (hε : 0 < ε) :
    (∃! S, IsPureNash (fig11 k ε) S) ∧
      (∀ S, IsPureNash (fig11 k ε) S →
        designCost (fun e _ => fig11Cost k ε e) S = (harmonic k : ℝ)) ∧
      ∃ P, IsProfile (fig11 k ε) P ∧ designCost (fun e _ => fig11Cost k ε e) P = 1 + ε := 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. 1604 (PDF p. 3), Fig. 1.1 and the preceding paragraph; p. 1608 (PDF p. 7)
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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me