Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6.3 — with a common source and sink, best-response dynamics in weighted games converge to a Nash equilibrium

Proved
PriceOfStability.WeightedSingle.theorem6_3

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

best-responsegame-theorynash-equilibriumnetwork-designp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1price-of-stabilityweighted-game

Let DDD be a finite directed multigraph with a source sss and a sink ttt, and consider the weighted cost-sharing game in which every player's strategies are the simple sss–ttt paths of DDD, player iii has weight wi≥1w_i\ge 1wi​≥1, arc eee has a fixed cost ce≥0c_e\ge 0ce​≥0, and a player on path SiS_iSi​ pays ∑e∈SiwiWece\sum_{e\in S_i}\frac{w_i}{W_e}c_e∑e∈Si​​We​wi​​ce​, where WeW_eWe​ is the total weight of the players using eee.

Then:

  1. Best-response dynamics terminate. There is no infinite sequence of profiles S0,S1,S2,…S^0,S^1,S^2,\dotsS0,S1,S2,… in which each Sn+1S^{n+1}Sn+1 arises from SnS^nSn by a best-response move (some player switches to a cheapest strategy given the others, strictly lowering its payment).
  2. They stop at a Nash equilibrium. A profile from which no best-response move is possible is a pure Nash equilibrium.
  3. Nash equilibria exist. If DDD has at least one simple sss–ttt path, the game has a pure Nash equilibrium.

Weighted games with three or more players need not have a pure Nash equilibrium; the theorem singles out the single-commodity network case in which they always do, and in which the natural dynamics find one.

Formalization Note. Item 1 is the well-foundedness of the relation "S′S'S′ is reached from SSS by one best-response move", oriented so that S′S'S′ lies below SSS. Arc costs are only assumed nonnegative, as in the paper's model.

Preamble
import Mathlib
import Definitions.Def_PriceOfStability_WeightedSingle_Model
import Definitions.Def_PriceOfStability_WeightedSingle_SingleCommodity
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, p. 1620 (PDF p. 19): "For any weighted game in which all
players have the same source s and sink t, best response dynamics converge to a Nash
equilibrium, and hence Nash equilibria exist."

Let `D` be a finite directed multigraph with source `s` and sink `t`, let every player's strategy
family be the set of simple `s`–`t` paths, and let the weights satisfy `wᵢ ≥ 1` and the arc costs
`c_e ≥ 0`. Then
1. there is no infinite sequence of best-response moves (the relation "`S'` is reached from `S`
   by one best-response move" is well-founded with `S'` below `S`);
2. a profile from which no best-response move is possible is a Nash equilibrium;
3. if an `s`–`t` path exists, a Nash equilibrium exists.

**Formalization Note.** `WellFounded r` with `r S' S :↔ IsBRMove Γ S S'` says every descending
`r`-chain, i.e. every run of best-response dynamics, is finite. Costs are only assumed
nonnegative, as in Sect. 2 (the proof's milestones assume positive costs). -/
theorem theorem6_3 {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) :
    WellFounded (fun S' S => IsBRMove (singleCommodityGame D s t w c) S S') ∧
    (∀ S, IsProfile (singleCommodityGame D s t w c) S →
      (¬ ∃ S', IsBRMove (singleCommodityGame D s t w c) S S') →
      IsNash (singleCommodityGame D s t w c) S) ∧
    ((stPaths D s t).Nonempty → ∃ S, IsNash (singleCommodityGame D s t w c) 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
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