Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6.3, proof — a best-response move strictly decreases the sorted tuple P(S)P(S)P(S) of marginal path costs lexicographically

Proved
PriceOfStability.WeightedSingle.lex_decrease

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 every arc cost is strictly positive. For a profile SSS let P(S)P(S)P(S) be the list of the marginal costs

cS(P)=∑e∈PceWe∈[0,+∞]c_S(P)=\sum_{e\in P}\frac{c_e}{W_e}\in[0,+\infty]cS​(P)=e∈P∑​We​ce​​∈[0,+∞]

of all simple sss–ttt paths PPP, sorted in increasing order.

If S′S'S′ arises from SSS by a best-response move of some player, then

P(S′)<lexP(S),P(S')<_{\mathrm{lex}}P(S),P(S′)<lex​P(S),

i.e. P(S′)P(S')P(S′) is strictly smaller than P(S)P(S)P(S) in the lexicographic order.

Since there are finitely many profiles, this rules out an infinite run of best-response moves when costs are positive.

Formalization Note. Strictly positive costs are an implicit hypothesis of the printed proof (see (6.1)). The two lists have the same length, the number of simple sss–ttt paths.

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): "the cheapest improving
deviation of any player causes P(S) to strictly decrease lexicographically."

In the weighted single-commodity game with weights `wᵢ ≥ 1` and positive arc costs, let `P(S)` be
the list of the marginal costs `c_S(P)` of all simple `s`–`t` paths `P`, sorted in increasing
order. If `S'` arises from `S` by a best-response move of some player, then `P(S')` is strictly
smaller than `P(S)` in the lexicographic order.

**Formalization Note.** Arc costs are assumed strictly positive (`0 < c e`), an implicit hypothesis
of the printed proof (see `ineq_6_1`). `List.Lex (· < ·) l₁ l₂` is the strict lexicographic order
"`l₁` comes before `l₂`"; the two lists have the same length (the number of paths). -/
theorem lex_decrease {V ι E : Type*} [Fintype ι] [DecidableEq ι]
    [Fintype E] [DecidableEq E] (D : ArcGraph V E) (s t : V) (w : ι → ℝ) (c : E → ℝ)
    (hw : ∀ j, 1 ≤ w j) (hc : ∀ e, 0 < c e)
    (S S' : ι → Finset E) (hmove : IsBRMove (singleCommodityGame D s t w c) S S') :
    List.Lex (· < ·) (sortedCosts (singleCommodityGame D s t w c) (stPaths D s t) S')
      (sortedCosts (singleCommodityGame D s t w c) (stPaths D s t) S) := 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