Documentation

CslibFrontier.GameTheory.Congestion.StrongNash

Strong Nash equilibria of fair cost-sharing games #

Every strong Nash equilibrium of a k-player fair cost-sharing game costs at most H k times the optimum (Epstein, Feldman and Mansour [EFM09]; [Rou13], Lecture #15, Theorem 3.2). Unlike the price-of-stability bound exists_isPureNash_fairCostSharing_socialCost_le_harmonic_mul, this bounds every strong Nash equilibrium, but it does not assert that one exists, and in general none need exist ([Rou13], Lecture #15, Section 4 and Figure 4, pp. 9–10).

The proof uses only that no nonempty coalition has a joint deviation from which every member strictly gains. We therefore prove the bound for strong equilibria (CostGame.IsStrongEquilibrium) and obtain the Lecture #15 statement for strong Nash equilibria (CostGame.IsStrongNash, where a deviation counts if no member loses and some member gains) through CostGame.IsStrongNash.isStrongEquilibrium.

The proof ([Rou13], Lecture #15, proof of Theorem 3.2) peels players off the grand coalition. Fix a strong equilibrium s and any profile t. A nonempty coalition A does not all gain by jointly switching to t, so some member i ∈ A has cost i s ≤ cost i (A.piecewise t s) (display (5)). When latencies are nonincreasing in the load, the players outside A only help i, so cost i (A.piecewise t s) is at most the cost of i at t with only the members of A present (display (7)). That cost is exactly the drop of the coalition's Rosenthal potential when i leaves the coalition (display (8)). Removing i and repeating telescopes to socialCost s ≤ Φ t, Rosenthal's potential of t. The argument uses only that latencies are nonincreasing in the load, so we state it for every atomic congestion game with that property and specialize it to fair cost sharing, where Φ t ≤ H k * socialCost t.

The opt-out game shows that H k is tight: for ε > 0, everyone opting out is a strong Nash equilibrium ([Rou13], Lecture #15, Section 3), and it is the only strong equilibrium.

When all players share one strategy set P and one resource map R (in a network, a common source and a common sink), strong Nash equilibria exist and are optimal ([Rou13], Exercise Set #8, Exercise 67): everyone playing a cheapest strategy is a strong Nash equilibrium, and at a costlier profile the grand coalition gains by switching to a cheapest strategy played in it or in the optimum. This uses the Pareto optimality of strong Nash equilibria, so it is stated for IsStrongNash. Conversely, a minimum-cost profile is a strong Nash equilibrium: everyone always pays at least OPT / k, and at an optimum nobody pays more. Together these give the exercise's one-to-one correspondence between strong Nash equilibria and minimum-cost outcomes.

We also establish both sides of the existence question for fair cost-sharing games:

Main definitions #

Main results #

References #

theorem Cslib.GameTheory.CongestionGame.socialCost_le_rosenthalPotential_of_isStrongEquilibrium {ι : Type u_1} {S : ι → Type u_2} {E : Type u_3} [DecidableEq E] {C : CongestionGame ι S E} [DecidableEq ι] [Fintype ι] [Fintype E] (hC : ∀ (e : E), AntitoneOn (C.latency e) (Set.Ici 1)) {s : (i : ι) → S i} (hs : C.toCostGame.IsStrongEquilibrium s) (t : (i : ι) → S i) :

Strong equilibria cost at most Rosenthal's potential in congestion games with nonincreasing latencies ([Rou13], Lecture #15, proof of Theorem 3.2, displays (5)–(8), there for strong Nash equilibria of fair cost-sharing games): if every latency is nonincreasing on loads ≥ 1, then every strong equilibrium s (no nonempty coalition has a joint deviation from which every member strictly gains) has socialCost s ≤ Φ t for every profile t, where Φ is Rosenthal's potential. Every strong Nash equilibrium is a strong equilibrium (CostGame.IsStrongNash.isStrongEquilibrium).

theorem Cslib.GameTheory.CongestionGame.socialCost_fairCostSharing_le_harmonic_mul_of_isStrongEquilibrium {ι : Type u_1} {S : ι → Type u_2} {E : Type u_3} [DecidableEq E] [DecidableEq ι] [Fintype ι] [Finite E] {resources : (i : ι) → S i → Finset E} {c : E → ℝ} (hc : ∀ (e : E), 0 ≤ c e) {s : (i : ι) → S i} (hs : (fairCostSharing resources c).toCostGame.IsStrongEquilibrium s) (t : (i : ι) → S i) :

The price of anarchy of strong equilibria in fair cost-sharing games is at most H k ([Rou13], Lecture #15, proof of Theorem 3.2): in a fair cost-sharing game with k = Fintype.card ι players and nonnegative resource costs, every strong equilibrium s (no nonempty coalition has a joint deviation from which every member strictly gains) has socialCost s ≤ H k * socialCost t for every profile t. The Lecture #15 statement for strong Nash equilibria is socialCost_fairCostSharing_le_harmonic_mul_of_isStrongNash.

theorem Cslib.GameTheory.CongestionGame.socialCost_fairCostSharing_le_harmonic_mul_of_isStrongNash {ι : Type u_1} {S : ι → Type u_2} {E : Type u_3} [DecidableEq E] [DecidableEq ι] [Fintype ι] [Finite E] {resources : (i : ι) → S i → Finset E} {c : E → ℝ} (hc : ∀ (e : E), 0 ≤ c e) {s : (i : ι) → S i} (hs : (fairCostSharing resources c).toCostGame.IsStrongNash s) (t : (i : ι) → S i) :

The price of anarchy of strong Nash equilibria in fair cost-sharing games is at most H k [EFM09] ([Rou13], Lecture #15, Theorem 3.2): in a fair cost-sharing game with k = Fintype.card ι players and nonnegative resource costs, every strong Nash equilibrium s has socialCost s ≤ H k * socialCost t for every profile t. The bound holds for every strong Nash equilibrium, but strong Nash equilibria need not exist. It holds more generally for strong equilibria (socialCost_fairCostSharing_le_harmonic_mul_of_isStrongEquilibrium), and exists_isStrongNash_optOut_mul_lt shows that H k cannot be lowered.

Common strategy sets: strong Nash equilibria are optimal #

theorem Cslib.GameTheory.CongestionGame.isStrongNash_fairCostSharing_const {ι : Type u_1} {E : Type u_3} [Fintype ι] [DecidableEq E] {c : E → ℝ} {P : Type u_4} {R : P → Finset E} [DecidableEq ι] (hc : ∀ (e : E), 0 ≤ c e) {p : P} (hp : ∀ (q : P), ∑ e ∈ R p, c e ≤ ∑ e ∈ R q, c e) :
(fairCostSharing (fun (x : ι) => R) c).toCostGame.IsStrongNash fun (x : ι) => p

Everyone playing a cheapest strategy is a strong Nash equilibrium when all players share the strategy set P and the resource map R ([Rou13], Exercise Set #8, Exercise 67, the network case of a common source and a common sink): each player pays c(R p) / k, and no player can pay less at any profile.

theorem Cslib.GameTheory.CongestionGame.socialCost_fairCostSharing_le_of_isStrongNash {ι : Type u_1} {E : Type u_3} [Fintype ι] [DecidableEq E] {c : E → ℝ} {P : Type u_4} {R : P → Finset E} [DecidableEq ι] [Finite E] (hc : ∀ (e : E), 0 ≤ c e) {s : ι → P} (hs : (fairCostSharing (fun (x : ι) => R) c).toCostGame.IsStrongNash s) (t : ι → P) :
(fairCostSharing (fun (x : ι) => R) c).toCostGame.socialCost s ≤ (fairCostSharing (fun (x : ι) => R) c).toCostGame.socialCost t

Strong Nash equilibria are optimal when all players share the strategy set ([Rou13], Exercise Set #8, Exercise 67, the network case of a common source and a common sink): in a fair cost-sharing game with nonnegative costs in which every player has the strategy set P and the resource map R, every strong Nash equilibrium s has socialCost s ≤ socialCost t for every profile t. If t were cheaper, a strategy q of least cost among those played in s or t would cost less than socialCost s, and the grand coalition would gain by switching to q.

theorem Cslib.GameTheory.CongestionGame.isStrongNash_fairCostSharing_of_le {ι : Type u_1} {E : Type u_3} [Fintype ι] [DecidableEq E] {c : E → ℝ} {P : Type u_4} {R : P → Finset E} [DecidableEq ι] (hc : ∀ (e : E), 0 ≤ c e) {s : ι → P} (hs : ∀ (t : ι → P), (fairCostSharing (fun (x : ι) => R) c).toCostGame.socialCost s ≤ (fairCostSharing (fun (x : ι) => R) c).toCostGame.socialCost t) :
(fairCostSharing (fun (x : ι) => R) c).toCostGame.IsStrongNash s

Minimum-cost profiles are strong Nash equilibria when all players share the strategy set ([Rou13], Exercise Set #8, Exercise 67, the network case of a common source and a common sink): in a fair cost-sharing game with nonnegative costs in which every player has the strategy set P and the resource map R, a profile s of minimum social cost is a strong Nash equilibrium. At every profile a player with strategy p pays at least c(R p) / k, and everyone playing p costs c(R p), so every player always pays at least socialCost s / k. The costs at s sum to socialCost s, so at s every player pays at most socialCost s / k, and no player can pay less at any profile.

theorem Cslib.GameTheory.CongestionGame.isStrongNash_fairCostSharing_iff {ι : Type u_1} {E : Type u_3} [Fintype ι] [DecidableEq E] {c : E → ℝ} {P : Type u_4} {R : P → Finset E} [DecidableEq ι] [Finite E] (hc : ∀ (e : E), 0 ≤ c e) (s : ι → P) :
(fairCostSharing (fun (x : ι) => R) c).toCostGame.IsStrongNash s ↔ ∀ (t : ι → P), (fairCostSharing (fun (x : ι) => R) c).toCostGame.socialCost s ≤ (fairCostSharing (fun (x : ι) => R) c).toCostGame.socialCost t

Strong Nash equilibria are exactly the minimum-cost profiles when all players share the strategy set ([Rou13], Exercise Set #8, Exercise 67, the network case of a common source and a common sink): in a fair cost-sharing game with nonnegative costs in which every player has the strategy set P and the resource map R, a profile is a strong Nash equilibrium if and only if it has minimum social cost.

theorem Cslib.GameTheory.CongestionGame.exists_isStrongNash_fairCostSharing_const {ι : Type u_1} {E : Type u_3} [Fintype ι] [DecidableEq E] {c : E → ℝ} {P : Type u_4} {R : P → Finset E} [DecidableEq ι] [Finite E] [Finite P] [Nonempty P] (hc : ∀ (e : E), 0 ≤ c e) :
∃ (p : P), ((fairCostSharing (fun (x : ι) => R) c).toCostGame.IsStrongNash fun (x : ι) => p) ∧ ∀ (s t : ι → P), (fairCostSharing (fun (x : ι) => R) c).toCostGame.IsStrongNash s → (fairCostSharing (fun (x : ι) => R) c).toCostGame.socialCost s ≤ (fairCostSharing (fun (x : ι) => R) c).toCostGame.socialCost t

Strong Nash equilibria exist and are optimal when all players share the strategy set ([Rou13], Exercise Set #8, Exercise 67): a fair cost-sharing game with nonnegative costs, a common nonempty finite strategy set P and a common resource map R has a strong Nash equilibrium (everyone plays a cheapest strategy), and every strong Nash equilibrium is a social optimum, so the price of anarchy of strong Nash equilibria is 1. These are the consequences the exercise draws from the correspondence isStrongNash_fairCostSharing_iff.

Everyone opting out is a strong Nash equilibrium of the opt-out game for ε > 0 ([Rou13], Lecture #15, Section 3): after any joint deviation that leaves some player sharing, the sharing player j with the largest index pays more than its private cost 1 / (j + 1) (exists_one_div_lt_cost_optOut), and j belongs to the deviating coalition.

theorem Cslib.GameTheory.CongestionGame.isStrongNash_optOut_iff {k : ℕ} {ε : ℝ} (hε : 0 < ε) (s : Fin k → Bool) :
(optOut k ε).toCostGame.IsStrongNash s ↔ s = fun (x : Fin k) => true

The opt-out game has a unique strong Nash equilibrium for ε > 0: every player opts out. A strong Nash equilibrium is a pure Nash equilibrium, and the pure Nash equilibrium is unique (isPureNash_optOut_iff).

theorem Cslib.GameTheory.CongestionGame.isStrongEquilibrium_optOut_iff {k : ℕ} {ε : ℝ} (hε : 0 < ε) (s : Fin k → Bool) :
(optOut k ε).toCostGame.IsStrongEquilibrium s ↔ s = fun (x : Fin k) => true

The opt-out game has a unique strong equilibrium for ε > 0: every player opts out. A strong equilibrium is a pure Nash equilibrium, and the pure Nash equilibrium is unique (isPureNash_optOut_iff).

theorem Cslib.GameTheory.CongestionGame.exists_isStrongNash_optOut_mul_lt {k : ℕ} (hk : k ≠ 0) {r : ℝ} (hr : r < ↑(harmonic k)) :
∃ ε > 0, ((optOut k ε).toCostGame.IsStrongNash fun (x : Fin k) => true) ∧ ∀ (s : Fin k → Bool), (optOut k ε).toCostGame.IsStrongEquilibrium s → (r * (optOut k ε).toCostGame.socialCost fun (x : Fin k) => false) < (optOut k ε).toCostGame.socialCost s

The bound H k is tight for strong Nash equilibria ([Rou13], Lecture #15, Section 3: the opt-out game has a strong Nash equilibrium of cost H k times the optimum): for k ≥ 1 players and every r < H k there is ε > 0 such that the opt-out game optOut k ε has a strong Nash equilibrium (everyone opting out), and every strong equilibrium s, in particular every strong Nash equilibrium, has socialCost s > r * socialCost s' for the profile s' in which every player shares. So neither socialCost_fairCostSharing_le_harmonic_mul_of_isStrongNash nor socialCost_fairCostSharing_le_harmonic_mul_of_isStrongEquilibrium holds with r in place of H k.

Non-existence in general fair cost-sharing networks (Lecture #15, Figure 4) #

Resource sets of the two-player, six-arc fair cost-sharing network of [Rou13], Lecture #15, Section 4, Figure 4 (p. 10), on vertices s₁, s₂, v, t₁, t₂ with arcs 0 = (s₁, s₂) (cost 1), 1 = (s₁, v) (cost 2), 2 = (s₂, v) (cost 3), 3 = (v, t₁) (cost 3), 4 = (v, t₂) (cost 2), and 5 = (t₁, t₂) (cost 1):

  • Player 0 (s₁ → t₁): false ↦ {1, 3} (s₁ → v → t₁), true ↦ {0, 2, 3} (s₁ → s₂ → v → t₁).
  • Player 1 (s₂ → t₂): false ↦ {2, 4} (s₂ → v → t₂), true ↦ {2, 3, 5} (s₂ → v → t₁ → t₂).

Fixed arc costs ![1, 2, 3, 3, 2, 1] for the network of [Rou13], Lecture #15, Figure 4 (p. 10).

The two-player fair cost-sharing game with no strong Nash equilibrium ([Rou13], Lecture #15, Section 4, Figure 4, p. 10).

Unique pure Nash equilibrium of Figure 4 ([Rou13], Lecture #15, Section 4, Figure 4, p. 10): (false, false) (each player taking its two-arc path through v, costs (5, 5)) is the unique pure Nash equilibrium of noStrongNashGame.

Non-existence of strong equilibria in fair cost-sharing games ([Rou13], Lecture #15, Section 4, Figure 4, p. 10): noStrongNashGame admits no strong equilibrium (IsStrongEquilibrium). Its unique pure Nash equilibrium (false, false) has costs (5, 5), while the grand coalition deviating to (true, true) lowers both players' costs to (4, 4).

Non-existence of strong Nash equilibria in fair cost-sharing games ([Rou13], Lecture #15, Section 4, Figure 4, p. 10): noStrongNashGame admits no strong Nash equilibrium (IsStrongNash).

theorem Cslib.GameTheory.CongestionGame.exists_isStrongEquilibrium_fairCostSharing_singleton {ι : Type u_1} {S : ι → Type u_2} {E : Type u_3} [Fintype ι] [DecidableEq ι] [DecidableEq E] [Finite E] [∀ (i : ι), Nonempty (S i)] {link : (i : ι) → S i → E} {c : E → ℝ} (hc : ∀ (e : E), 0 ≤ c e) :
∃ (s : (i : ι) → S i), (fairCostSharing (fun (i : ι) (a : S i) => {link i a}) c).toCostGame.IsStrongEquilibrium s

Existence of strong equilibria in asymmetric parallel-link (singleton) fair cost-sharing games (after [EFM09]): if every strategy of every player chooses a single resource {link i a} from player i's allowed set of resources and all resource costs are nonnegative, then a strong equilibrium (IsStrongEquilibrium) exists.

This cannot be strengthened to IsStrongNash in general; see not_isStrongNash_parallelNoStrongNashGame.

Three-player, two-link asymmetric parallel-link fair cost-sharing game where both links have cost 2: player 0 can only use false, player 1 can use either link, and player 2 can only use true. Every profile is a strong equilibrium (IsStrongEquilibrium), yet no profile is a strong Nash equilibrium (IsStrongNash).

parallelNoStrongNashGame is the fair cost-sharing game with singleton resources fun i b => {parallelNoStrongNashLink i b} and constant link cost 2.

No strong Nash equilibrium exists in parallelNoStrongNashGame: whichever link player 1 chooses, player 1 and the unshared player can form a coalition switching player 1 to the other link, keeping player 1's cost at 1 while dropping the other player's cost from 2 to 1.

Every profile of parallelNoStrongNashGame is a strong equilibrium (IsStrongEquilibrium): player 1 always pays 1 (and can never strictly gain), and without player 1 switching, neither player 0 nor player 2 can change its cost.