Documentation

CslibFrontier.GameTheory.Congestion.InhomogeneousPigou

Union-of-paths networks and Pigou bound tightness for inhomogeneous classes #

In CslibFrontier.GameTheory.Congestion.PigouBound, the lower-bound tightness theorem (NonatomicCongestionGame.exists_lt_cost_of_lt_pigouBound, corresponding to [Rou07], Proposition 18.19, p. 473) assumes that the latency class C contains every nonnegative constant function so that a two-link Pigou network can place the constant latency c(r) on the upper link.

Roughgarden ([Rou03], Section 4.3, Lemma 4.8 and Theorem 4.9, pp. 16–17; [Rou07], Section 18.4.1, p. 473, and Exercise 18.5, p. 485) showed that the same worst-case price of anarchy α(C) persists without constant functions whenever C is inhomogeneous (IsInhomogeneous C, meaning some c₀ ∈ C satisfies 0 < c₀ 0). Given any c ∈ C and 0 ≤ y < r, the single-commodity union-of-paths network NonatomicCongestionGame.unionOfPaths q n p c c₀ r places q copies of c in series on path 0 and simulates the constant c(r) edge using n pairwise edge-disjoint parallel paths of p copies of c₀ in series. Setting p = ⌈q · c(r) / c₀(0)⌉ makes routing all demand r on path 0 a Wardrop equilibrium (q · c(r) ≤ p · c₀(0)), while taking q and n large drives (p / q) · c₀((r - y) / n) → c(r) using right upper semicontinuity of c₀ at 0.

The general two-latency theorem NonatomicCongestionGame.exists_unionOfPaths_lt_cost also serves capacity-bounded queueing classes (CslibFrontier.GameTheory.Congestion.Queueing, where c = c₀ is an M/M/1 or M/G/1 delay function) without requiring global continuity on [0, ∞).

Main definitions #

Main results #

References #

A class C of latency functions is inhomogeneous if it contains at least one function c₀ ∈ C with 0 < c₀ 0 ([Rou07], Exercise 18.5, p. 485).

Single-commodity union-of-paths network ([Rou03], Section 4.3, p. 16; [Rou07], Exercise 18.5, p. 485): path 0 consists of q edges in series with latency c, and each of the n parallel alternative paths 1, ..., n consists of p edges in series with latency c₀, all pairwise edge-disjoint, with total demand rate r.

theorem Cslib.GameTheory.NonatomicCongestionGame.unionOfPaths_pathLatency (q n p : ℕ) (c c₀ : ℝ → ℝ) (r : ℝ) (f : Fin (n + 1) → ℝ) :
(unionOfPaths q n p c c₀ r).pathLatency f 0 = ↑q * c (f 0) ∧ ∀ (k : Fin n), (unionOfPaths q n p c c₀ r).pathLatency f k.succ = ↑p * c₀ (f k.succ)

Path latencies in unionOfPaths: all n + 1 paths are edge-disjoint, so path 0 has latency q * c (f 0) and each alternative path k.succ has latency p * c₀ (f k.succ).

theorem Cslib.GameTheory.NonatomicCongestionGame.exists_unionOfPaths_lt_cost {c c₀ : ℝ → ℝ} {r y β : ℝ} (hr : 0 < r) (hy : 0 ≤ y) (hyr : y < r) (hcr : 0 < c r) (hcy : 0 ≤ c y) (hc₀0 : 0 < c₀ 0) (hc₀_pos : ∀ (z : ℝ), 0 ≤ z → z ≤ r → 0 < c₀ z) (hcont : ∀ ε > 0, ∃ δ > 0, ∀ (z : ℝ), 0 ≤ z → z < δ → c₀ z < c₀ 0 + ε) (hβ : β < r * c r / (y * c y + (r - y) * c r)) :
∃ (q : ℕ) (n : ℕ) (p : ℕ) (f : Fin (n + 1) → ℝ) (g : Fin (n + 1) → ℝ), (unionOfPaths q n p c c₀ r).IsWardrop f ∧ (unionOfPaths q n p c c₀ r).IsFeasible g ∧ 0 < (unionOfPaths q n p c c₀ r).cost g ∧ β * (unionOfPaths q n p c c₀ r).cost g < (unionOfPaths q n p c c₀ r).cost f

Two-latency union-of-paths lower bound ([Rou03], Lemma 4.8, p. 17; [Rou07], Exercise 18.5, p. 485): for any pair of latencies (c, c₀) with 0 < c r, 0 ≤ c y, c₀ strictly positive on [0, r], and c₀ right upper semicontinuous at 0, every β strictly below r * c r / (y * c y + (r - y) * c r) is exceeded by cost f / cost g in a single-commodity unionOfPaths q n p c c₀ r network.

theorem Cslib.GameTheory.NonatomicCongestionGame.exists_lt_cost_of_lt_pigouBound_of_inhomogeneous {C : Set (ℝ → ℝ)} (hC : ∀ c ∈ C, ∀ (x : ℝ), 0 ≤ x → 0 ≤ c x) (hCm : ∀ c ∈ C, MonotoneOn c (Set.Ici 0)) (hCc : ∀ c ∈ C, ContinuousOn c (Set.Ici 0)) (hinhom : IsInhomogeneous C) {β : ℝ} (hβ : ENNReal.ofReal β < pigouBound C) :
∃ (q : ℕ) (n : ℕ) (p : ℕ) (c : ℝ → ℝ) (c₀ : ℝ → ℝ) (r : ℝ) (f : Fin (n + 1) → ℝ) (g : Fin (n + 1) → ℝ), c ∈ C ∧ c₀ ∈ C ∧ (unionOfPaths q n p c c₀ r).IsWardrop f ∧ (unionOfPaths q n p c c₀ r).IsFeasible g ∧ 0 < (unionOfPaths q n p c c₀ r).cost g ∧ β * (unionOfPaths q n p c c₀ r).cost g < (unionOfPaths q n p c c₀ r).cost f

Tightness of the Pigou bound for inhomogeneous latency classes ([Rou07], Exercise 18.5, p. 485; [Rou03], Theorem 4.9, p. 17): if C is an inhomogeneous class of nonnegative, nondecreasing, continuous latency functions on [0, ∞), then every β strictly below pigouBound C is exceeded by the price of anarchy of a single-commodity unionOfPaths network with latencies c, c₀ ∈ C (without requiring constant functions in C).

theorem Cslib.GameTheory.NonatomicCongestionGame.pigouBound_le_ofReal_iff_of_inhomogeneous {C : Set (ℝ → ℝ)} (hC : ∀ c ∈ C, ∀ (x : ℝ), 0 ≤ x → 0 ≤ c x) (hCm : ∀ c ∈ C, MonotoneOn c (Set.Ici 0)) (hCc : ∀ c ∈ C, ContinuousOn c (Set.Ici 0)) (hinhom : IsInhomogeneous C) {β : ℝ} :
pigouBound C ≤ ENNReal.ofReal β ↔ ∀ (K P E : Type) [inst : Fintype P] [Finite E] [inst_2 : DecidableEq K] [inst_3 : DecidableEq E] (G : NonatomicCongestionGame K P E) (f g : P → ℝ), (∀ (e : E), G.latency e ∈ C) → G.IsWardrop f → G.IsFeasible g → G.cost f ≤ β * G.cost g

The Pigou bound is the exact worst-case price of anarchy for every inhomogeneous class ([Rou07], Exercise 18.5, p. 485; [Rou03], Theorem 4.9, p. 17): for an inhomogeneous class C of nonnegative, nondecreasing, continuous latencies on [0, ∞), pigouBound C ≤ ENNReal.ofReal β if and only if every nonatomic congestion game with latencies in C has price of anarchy at most β.