Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6.3, proof — a player on path PPP pays wi c(P)w_i\,c(P)wi​c(P)

Proved
PriceOfStability.WeightedSingle.payment_eq_weight_mul_marginalCost

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

best-responsep2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1price-of-stabilityweighted-game

Consider a weighted game in which all players have the same source sss and sink ttt in a finite directed multigraph, every strategy is a simple sss–ttt path, the weights satisfy wj≥1w_j\ge 1wj​≥1 and the arc costs ce≥0c_e\ge 0ce​≥0. For a profile SSS and a path PPP let cS(P)=∑e∈Pce/Wec_S(P)=\sum_{e\in P} c_e/W_ecS​(P)=∑e∈P​ce​/We​ be its marginal cost, WeW_eWe​ being the total weight of the players using eee in SSS.

Then for every profile SSS and every player iii,

payi(S)=wi cS(Si).\mathrm{pay}_i(S)=w_i\,c_S(S_i).payi​(S)=wi​cS​(Si​).

This identity turns a player's payment into a quantity attached to the path alone, which is what lets the proof of Theorem 6.3 track all paths at once.

Formalization Note. The marginal cost is valued in [0,+∞][0,+\infty][0,+∞], so the identity is stated after embedding the real payment into [0,+∞][0,+\infty][0,+∞]; on every arc of SiS_iSi​ one has We≥wi≥1W_e\ge w_i\ge 1We​≥wi​≥1, so all terms are finite. Only the standing assumption ce≥0c_e\ge 0ce​≥0 is used.

Preamble
import Mathlib
import Definitions.Def_PriceOfStability_WeightedSingle_Model
import Definitions.Def_PriceOfStability_WeightedSingle_SingleCommodity

open scoped ENNReal
Formal statement
namespace PriceOfStability.WeightedSingle

/-- Anshelevich et al., *The Price of Stability for Network Design with Fair Cost Allocation*,
SIAM J. Comput. 38 (2008), Theorem 6.3, proof, p. 1620 (PDF p. 19): "Observe that if player i
currently uses path P, then i's payment is w_i c(P)."

In the weighted single-commodity game with weights `wᵢ ≥ 1` and arc costs `c_e ≥ 0`, for every
strategy profile `S` and every player `i`, the payment of `i` equals `wᵢ · c_S(Sᵢ)`, where
`c_S(P) = Σ_{e∈P} c_e/W_e` is the marginal cost of the path `P` in the state `S`.

**Formalization Note.** `c(P)` is valued in `ℝ≥0∞` (see `marginalCost`), so the identity is stated
after embedding the real payment by `ENNReal.ofReal`; on the arcs of `Sᵢ` every `W_e ≥ wᵢ ≥ 1`, so
all terms are finite. The paper's standing assumption `c_e ≥ 0` (Sect. 2) suffices here; the
positivity of costs that the later steps of the proof need is not assumed. -/
theorem payment_eq_weight_mul_marginalCost {V ι E : Type*} [Fintype ι] [DecidableEq ι]
    [Fintype E] [DecidableEq E] (D : ArcGraph V E) (s t : V) (w : ι → ℝ) (c : E → ℝ)
    (hG : (singleCommodityGame D s t w c).IsStandard)
    (S : ι → Finset E) (hS : IsProfile (singleCommodityGame D s t w c) S) (i : ι) :
    ENNReal.ofReal (payment (singleCommodityGame D s t w c) S i) =
      ENNReal.ofReal (w i) * marginalCost (singleCommodityGame D s t w c) S (S i) := by sorry

end PriceOfStability.WeightedSingle
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. 1620 (PDF p. 19), Theorem 6.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