Documentation

CslibFrontier.GameTheory.Congestion.Affine

The price of anarchy of congestion games with affine latencies #

An atomic congestion game has affine latencies if every latency has the form latency e k = a e * k + b e with a e, b e ≥ 0. Such games are (5/3, 1/3)-smooth ([Rou15b], Example 2.5), by the inequality y (z + 1) ≤ 5/3 y² + 1/3 z² for natural numbers y and z of Christodoulou and Koutsoupias [CK05b], as cited in [Rou15b], Example 2.5. By the smoothness bound λ / (1 - μ) = 5/2, the social cost of every pure Nash equilibrium, and the expected social cost of every coarse correlated equilibrium, is at most 5/2 times the social cost of every profile [AAE05] [CK05b]. The bound is attained: exists_socialCost_eq_five_halves_mul gives a three-player game with latencies latency e k = k and a pure Nash equilibrium whose social cost is exactly 5/2 times that of another profile.

Main definitions #

Main results #

References #

def Cslib.GameTheory.CongestionGame.HasAffineLatencies {ι : Type u_1} {S : ι → Type u_2} {E : Type u_3} (C : CongestionGame ι S E) :

C has affine latencies: there are a e, b e ≥ 0 with latency e k = a e * k + b e for every resource e and load k.

theorem Cslib.GameTheory.CongestionGame.HasAffineLatencies.monotone_latency {ι : Type u_1} {S : ι → Type u_2} {E : Type u_3} {C : CongestionGame ι S E} (h : C.HasAffineLatencies) (e : E) :

Nonnegative affine latencies are nondecreasing.

theorem Cslib.GameTheory.CongestionGame.mul_add_one_le_five_thirds_sq_add_one_third_sq (y z : ℕ) :
↑y * (↑z + 1) ≤ 5 / 3 * ↑y ^ 2 + 1 / 3 * ↑z ^ 2

The inequality of Christodoulou and Koutsoupias [CK05b], as cited in [Rou15b], Example 2.5: y (z + 1) ≤ 5/3 y² + 1/3 z² for all natural numbers y, z.

theorem Cslib.GameTheory.CongestionGame.isSmooth_of_hasAffineLatencies {ι : Type u_1} {S : ι → Type u_2} {E : Type u_3} [Fintype ι] [DecidableEq E] (C : CongestionGame ι S E) [DecidableEq ι] [Finite E] (h : C.HasAffineLatencies) :
C.toCostGame.IsSmooth (5 / 3) (1 / 3)

Congestion games with affine latencies are (5/3, 1/3)-smooth ([Rou15b], Example 2.5).

theorem Cslib.GameTheory.CongestionGame.socialCost_le_of_isPureNash {ι : Type u_1} {S : ι → Type u_2} {E : Type u_3} [Fintype ι] [DecidableEq E] (C : CongestionGame ι S E) [DecidableEq ι] [Finite E] (h : C.HasAffineLatencies) {s : (i : ι) → S i} (hs : C.toCostGame.IsPureNash s) (s' : (i : ι) → S i) :

The price of anarchy of affine congestion games is at most 5/2 ([AAE05], [CK05b]): every pure Nash equilibrium s of an atomic congestion game with affine latencies satisfies socialCost s ≤ 5/2 * socialCost s' for every profile s'.

theorem Cslib.GameTheory.CongestionGame.expected_socialCost_le {ι : Type u_1} {S : ι → Type u_2} {E : Type u_3} [Fintype ι] [DecidableEq E] (C : CongestionGame ι S E) [DecidableEq ι] [Finite E] (h : C.HasAffineLatencies) {σ : Convexity.StdSimplex ℝ ((i : ι) → S i)} (hσ : C.toCostGame.IsCoarseCorrelatedEquilibrium σ) (s' : (i : ι) → S i) :
(σ.sum fun (s : (i : ι) → S i) (w : ℝ) => w * C.toCostGame.socialCost s) ≤ 5 / 2 * C.toCostGame.socialCost s'

The robust price of anarchy of affine congestion games is at most 5/2 ([Rou15b], Theorem 3.2 with Example 2.5): the expected social cost of every coarse correlated equilibrium is at most 5/2 times the social cost of every profile s'.

The bound 5/2 is attained: there is a three-player atomic congestion game with six resources and latencies latency e k = k that has a pure Nash equilibrium s and a profile s' with socialCost s = 5/2 * socialCost s' > 0. So the constant in socialCost_le_of_isPureNash cannot be improved.