Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.3, proof — cost(S) ≤ Φ(S) ≤ H(k)·cost(S) for nondecreasing concave costs

Proved
PriceOfStability.Harmonic.cost_le_potential_le_harmonic

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

cost-sharingp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1potential-gameprice-of-stability

Consider the fair cost-sharing game with kkk players in which every edge eee has a cost ce(x)c_e(x)ce​(x) for xxx users with ce(0)≥0c_e(0)\ge0ce​(0)≥0, cec_ece​ nondecreasing and concave on N\mathbb NN. Let Φ(S)=∑e∑x=1xece(x)/x\Phi(S)=\sum_e\sum_{x=1}^{x_e} c_e(x)/xΦ(S)=∑e​∑x=1xe​​ce​(x)/x be its Rosenthal potential and cost⁡(S)=∑e∈⋃iSice(xe)\operatorname{cost}(S)=\sum_{e\in\bigcup_i S_i} c_e(x_e)cost(S)=∑e∈⋃i​Si​​ce​(xe​) the cost of the designed network. Then for every strategy vector SSS,

cost⁡(S)≤Φ(S)≤H(k)⋅cost⁡(S),\operatorname{cost}(S)\le\Phi(S)\le H(k)\cdot\operatorname{cost}(S),cost(S)≤Φ(S)≤H(k)⋅cost(S),

where H(k)=1+12+⋯+1kH(k)=1+\tfrac12+\dots+\tfrac1kH(k)=1+21​+⋯+k1​.

Together with Theorem 3.1 this gives the H(k)H(k)H(k) bound on the price of stability.

Formalization Note. H(k)H(k)H(k) is Mathlib's harmonic k cast to R\mathbb RR, with kkk the number of players. The hypothesis ce(0)≥0c_e(0)\ge0ce​(0)≥0 is implicit in the paper.

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.3, proof, p. 1608 (PDF p. 7): for nondecreasing concave edge costs,
`cost(S) ≤ Φ(S) ≤ H(k) · cost(S)` for all strategies `S`, where `Φ` is the potential (2.1)
of the fair game, `cost(S)` the cost of the designed network and `H(k) = 1 + 1/2 + … + 1/k` with
`k` the number of players.

**Formalization Note.** `H(k)` is Mathlib's `harmonic` (`ℚ`-valued) cast to `ℝ`, with
`k = Fintype.card ι`. The hypothesis `c_e(0) ≥ 0` in `IsConcaveCost` is implicit in the
paper (see that definition). Stated for every strategy vector `S`. -/
theorem cost_le_potential_le_harmonic {ι E : Type*} [Fintype ι] [DecidableEq ι] [Fintype E]
    [DecidableEq E] (strategies : ι → Finset (Finset E)) (c : E → ℕ → ℝ)
    (hc : IsConcaveCost c) (S : ι → Finset E) :
    designCost c S ≤ potential (fairGame strategies c) S ∧
      potential (fairGame strategies c) S ≤ (harmonic (Fintype.card ι) : ℝ) * designCost c S := 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. 1608 (PDF p. 7), Theorem 2.3, proof
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