Documentation

CslibFrontier.GameTheory.Cooperative.SpanningTreeCore

Minimum spanning tree cost-sharing games and Bird's core rule #

Given a set of agents V, a root none : Option V, and symmetric real edge costs w : Sym2 (Option V) → ℝ on the complete graph ⊤ over Option V, the minimum spanning tree cost-sharing game (spanningTreeGame w : CostSharingGame V) assigns to every finite coalition S : Finset V the minimum total edge weight coalitionMstCost w S of a spanning tree on the induced complete graph over S⁺ = Option S (none together with the agents in S; [TV07a], Exercise 1.8, p. 28).

Given any minimum spanning tree T of (⊤ : SimpleGraph (Option V)) rooted at none, Bird's cost-sharing rule (birdShare hT w) charges each agent i : V the weight of the first edge on the unique path from some i to none in T, namely w s(some i, hT.parent none (some i)). Because every edge of T joins a unique non-root vertex to its parent, the shares are budget-balanced (sum_birdShare_eq_edgeWeightSum). Deleting the Bird edges of a coalition S from T and inserting any spanning tree T_S on S⁺ yields another spanning tree T' of Option V, so optimality of T yields ∑ i ∈ S, birdShare hT w i ≤ edgeWeightSum T_S (coalitionWeight w S) (sum_birdShare_le_of_isTree). Consequently, birdShare hT w lies in the exact core of spanningTreeGame w (birdShare_inCore), and every minimum spanning tree game has a nonempty core (spanningTreeGame_nonemptyCore).

Note that [TV07a], Exercise 1.8 (p. 28) states the exercise for positive integer edge costs satisfying the triangle inequality; the core theorem proved here holds for arbitrary real edge weights w : Sym2 (Option V) → ℝ without requiring integrality, nonnegativity, or the triangle inequality.

Main definitions #

Main results #

References #

Canonical embedding of the rooted coalition vertex set S⁺ = Option S (none for the root, some ⟨i, hi⟩ for i ∈ S) into Option V.

@[simp]
theorem Cslib.GameTheory.coalitionEmbed_some {V : Type u_1} (S : Finset V) (i : ↥S) :
(coalitionEmbed S) (some i) = some ↑i
def Cslib.GameTheory.coalitionWeight {V : Type u_1} (w : Sym2 (Option V) → ℝ) (S : Finset V) :
Sym2 (Option ↥S) → ℝ

Induced edge weight function on Option S obtained by pulling back w along coalitionEmbed S.

noncomputable def Cslib.GameTheory.coalitionMstCost {V : Type u_1} (w : Sym2 (Option V) → ℝ) (S : Finset V) :

Minimum spanning tree cost c(S) of the complete graph induced on S⁺ = Option S ([TV07a], Exercise 1.8, p. 28).

theorem Cslib.GameTheory.coalitionMstCost_nonneg {V : Type u_1} {w : Sym2 (Option V) → ℝ} (hw : ∀ (e : Sym2 (Option V)), 0 ≤ w e) (S : Finset V) :
noncomputable def Cslib.GameTheory.spanningTreeGame {V : Type u_1} (w : Sym2 (Option V) → ℝ) :

The minimum spanning tree cost-sharing game on agent set V with root none and symmetric edge costs w : Sym2 (Option V) → ℝ ([TV07a], Exercise 1.8, p. 28).

The minimum spanning tree cost-sharing game is subadditive: for disjoint coalitions S₁, S₂, combining their MSTs at the shared root none produces a spanning tree on (S₁ ∪ S₂)⁺.

noncomputable def Cslib.GameTheory.birdShare {V : Type u_1} {T : SimpleGraph (Option V)} (hT : T.IsTree) (w : Sym2 (Option V) → ℝ) (i : V) :

Bird's cost-sharing allocation on a tree T over Option V rooted at none ([TV07a], Exercise 1.8, p. 28): agent i : V pays the cost of the first edge on the unique path from some i to the root none in T.

theorem Cslib.GameTheory.birdShare_eq {V : Type u_1} {T : SimpleGraph (Option V)} (hT : T.IsTree) (w : Sym2 (Option V) → ℝ) (i : V) :
birdShare hT w i = w s(some i, hT.parent none (some i))
theorem Cslib.GameTheory.birdShare_nonneg {V : Type u_1} {T : SimpleGraph (Option V)} (hT : T.IsTree) {w : Sym2 (Option V) → ℝ} (hw : ∀ (e : Sym2 (Option V)), 0 ≤ w e) (i : V) :
0 ≤ birdShare hT w i
theorem Cslib.GameTheory.sum_birdShare_eq_edgeWeightSum {V : Type u_1} [Fintype V] {T : SimpleGraph (Option V)} (hT : T.IsTree) (w : Sym2 (Option V) → ℝ) :
∑ i : V, birdShare hT w i = T.edgeWeightSum w

Budget balance of Bird's cost-sharing rule ([TV07a], Exercise 1.8, p. 28): for any spanning tree T on Option V, the sum of agents' shares equals the total edge weight of T.

theorem Cslib.GameTheory.sum_birdShare_le_of_isTree {V : Type u_1} [Finite V] {w : Sym2 (Option V) → ℝ} {T : SimpleGraph (Option V)} (hMST : ⊤.IsMST w T) (S : Finset V) {T_S : SimpleGraph (Option ↥S)} (hTS : T_S.IsTree) :
∑ i ∈ S, birdShare ⋯ w i ≤ T_S.edgeWeightSum (coalitionWeight w S)

Core inequality against any coalition tree ([TV07a], Exercise 1.8, p. 28): if T is a minimum spanning tree of (⊤ : SimpleGraph (Option V)) under w, then for every coalition S : Finset V and every spanning tree T_S on Option S, the total Bird cost charged to S is at most the edge weight of T_S.

Bird's cost-sharing allocation on any minimum spanning tree satisfies every core inequality.

theorem Cslib.GameTheory.birdShare_inCore {V : Type u_1} [Fintype V] {w : Sym2 (Option V) → ℝ} {T : SimpleGraph (Option V)} (hMST : ⊤.IsMST w T) :

Bird's theorem (NRTV Exercise 1.8) ([TV07a], Exercise 1.8, p. 28): for any minimum spanning tree T of the complete graph on Option V with edge costs w, charging each agent i : V the cost of the first edge on the unique path from some i to the root none in T is a budget-balanced allocation in the core of spanningTreeGame w.

Every finite minimum spanning tree cost-sharing game has a nonempty core ([TV07a], Exercise 1.8, p. 28).