Documentation

CslibFrontier.GameTheory.Strategic.SmoothHierarchy

Equilibrium hierarchy, composition, and Bayesian extension of smooth games #

Roughgarden's smoothness framework [Rou15b] extends pure Nash price-of-anarchy bounds along two orthogonal axes:

  1. Across the complete-information equilibrium hierarchy ([Rou15b], Theorem 3.2): every (λ, μ)-smooth cost-minimization game with μ < 1 has expected social cost at most λ / (1 - μ) times any benchmark profile at pure Nash equilibria, mixed Nash equilibria, correlated equilibria, and coarse correlated equilibria (with additive slack carried through for ε-approximate correlated equilibria).
  2. Across algebraic composition and incomplete information ([Rou12]; [ST13]): (λ, μ)-smoothness is closed under nonnegative scaling, sum, and finite simultaneous composition, and transfers to pure Bayes–Nash equilibria under arbitrary independent finite type distributions.

Main definitions #

Main results #

References #

theorem Cslib.GameTheory.CostGame.IsSmooth.expected_socialCost_le_of_isApproxCorrelatedEquilibrium {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] [Fintype ι] {G : CostGame ι S} {lam μ : ℝ} (hG : G.IsSmooth lam μ) (hμ : μ < 1) {ε : ι → ℝ} {σ : Convexity.StdSimplex ℝ ((i : ι) → S i)} (hσ : G.IsApproxCorrelatedEquilibrium ε σ) (s' : (i : ι) → S i) :
(σ.sum fun (s : (i : ι) → S i) (w : ℝ) => w * G.socialCost s) ≤ (lam * G.socialCost s' + ∑ i : ι, ε i) / (1 - μ)

Price of anarchy for approximate correlated equilibria in smooth games ([Rou15b], Theorem 3.2 with additive slack): if G is (λ, μ)-smooth with μ < 1 and σ is an ε-approximate correlated equilibrium, then E_{s ∼ σ}[socialCost s] ≤ (λ * socialCost s' + ∑ i, ε i) / (1 - μ) for every profile s'.

theorem Cslib.GameTheory.CostGame.IsSmooth.expected_socialCost_le_of_isCorrelatedEquilibrium {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] [Fintype ι] {G : CostGame ι S} {lam μ : ℝ} (hG : G.IsSmooth lam μ) (hμ : μ < 1) {σ : Convexity.StdSimplex ℝ ((i : ι) → S i)} (hσ : G.IsCorrelatedEquilibrium σ) (s' : (i : ι) → S i) :
(σ.sum fun (s : (i : ι) → S i) (w : ℝ) => w * G.socialCost s) ≤ lam / (1 - μ) * G.socialCost s'

Price of anarchy for correlated equilibria in smooth games ([Rou15b], Theorem 3.2): if G is (λ, μ)-smooth with μ < 1 and σ is a correlated equilibrium, then E_{s ∼ σ}[socialCost s] ≤ λ / (1 - μ) * socialCost s' for every profile s'.

theorem Cslib.GameTheory.CostGame.IsSmooth.expected_socialCost_le_of_isMixedNash {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] [Fintype ι] {G : CostGame ι S} [(i : ι) → Fintype (S i)] {lam μ : ℝ} (hG : G.IsSmooth lam μ) (hμ : μ < 1) {p : (i : ι) → S i → ℝ} (hp : G.IsMixedNash p) (s' : (i : ι) → S i) :
∑ s : (i : ι) → S i, productWeight p s * G.socialCost s ≤ lam / (1 - μ) * G.socialCost s'

Price of anarchy for mixed Nash equilibria in smooth games ([Rou15b], Theorem 3.2): if G is (λ, μ)-smooth with μ < 1 and p is a mixed Nash equilibrium, then the expected social cost under the product distribution of p is at most λ / (1 - μ) times the social cost of every pure profile s'.

theorem Cslib.GameTheory.CostGame.IsSmooth.mono {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] [Fintype ι] {G : CostGame ι S} {lam lam' μ μ' : ℝ} (hG : G.IsSmooth lam μ) (hlam : lam ≤ lam') (hμ : μ ≤ μ') (hnonneg : ∀ (s : (i : ι) → S i), 0 ≤ G.socialCost s) :
G.IsSmooth lam' μ'

Monotonicity of (λ, μ)-smoothness in the parameters when social costs are nonnegative on the corresponding profiles.

def Cslib.GameTheory.CostGame.smul {ι : Type u_1} {S : ι → Type u_2} (c : ℝ) (G : CostGame ι S) :

Scalar multiple c • G of a cost-minimization game: each player's cost is scaled by c.

@[simp]
theorem Cslib.GameTheory.CostGame.socialCost_smul {ι : Type u_1} [Fintype ι] {S : ι → Type u_2} (c : ℝ) (G : CostGame ι S) (s : (i : ι) → S i) :
(smul c G).socialCost s = c * G.socialCost s
theorem Cslib.GameTheory.CostGame.IsSmooth.smul {ι : Type u_1} [Fintype ι] [DecidableEq ι] {S : ι → Type u_2} {G : CostGame ι S} {lam μ c : ℝ} (hG : G.IsSmooth lam μ) (hc : 0 ≤ c) :
(CostGame.smul c G).IsSmooth lam μ

Nonnegative scaling preserves (λ, μ)-smoothness.

def Cslib.GameTheory.CostGame.add {ι : Type u_1} {S : ι → Type u_2} (G₁ G₂ : CostGame ι S) :

Pointwise sum of two cost-minimization games sharing players and strategy spaces.

@[simp]
theorem Cslib.GameTheory.CostGame.socialCost_add {ι : Type u_1} [Fintype ι] {S : ι → Type u_2} (G₁ G₂ : CostGame ι S) (s : (i : ι) → S i) :
(G₁.add G₂).socialCost s = G₁.socialCost s + G₂.socialCost s
theorem Cslib.GameTheory.CostGame.IsSmooth.add {ι : Type u_1} [Fintype ι] [DecidableEq ι] {S : ι → Type u_2} {G₁ G₂ : CostGame ι S} {lam μ : ℝ} (h₁ : G₁.IsSmooth lam μ) (h₂ : G₂.IsSmooth lam μ) :
(G₁.add G₂).IsSmooth lam μ

The sum of two (λ, μ)-smooth games on the same strategy spaces is (λ, μ)-smooth.

def Cslib.GameTheory.CostGame.simultaneous {ι : Type u_1} {κ : Type u_2} [Fintype κ] {S : κ → ι → Type u_3} (G : (k : κ) → CostGame ι (S k)) :
CostGame ι fun (i : ι) => (k : κ) → S k i

Simultaneous composition of a finite family of cost-minimization games G k ([ST13]): each player i chooses a component strategy s i k : S k i in every game k : κ simultaneously and pays the sum of its component costs ∑ k, (G k).cost i (fun j => s j k).

@[simp]
theorem Cslib.GameTheory.CostGame.socialCost_simultaneous {ι : Type u_1} [Fintype ι] {κ : Type u_2} [Fintype κ] {S : κ → ι → Type u_3} (G : (k : κ) → CostGame ι (S k)) (s : (i : ι) → (k : κ) → S k i) :
(simultaneous G).socialCost s = ∑ k : κ, (G k).socialCost fun (j : ι) => s j k
theorem Cslib.GameTheory.CostGame.IsSmooth.simultaneous {ι : Type u_1} [Fintype ι] [DecidableEq ι] {κ : Type u_2} [Fintype κ] {S : κ → ι → Type u_3} {G : (k : κ) → CostGame ι (S k)} {lam μ : ℝ} (hG : ∀ (k : κ), (G k).IsSmooth lam μ) :

Simultaneous composition preserves (λ, μ)-smoothness: if every component game G k is (λ, μ)-smooth, then their simultaneous composition CostGame.simultaneous G is (λ, μ)-smooth with the same parameters (λ, μ).

Incomplete-information (Bayesian) smooth cost games #

structure Cslib.GameTheory.BayesianCostGame (ι : Type u_1) (Θ : ι → Type u_2) (S : ι → Type u_3) :
Type (max (max u_1 u_2) u_3)

An incomplete-information (Bayesian) cost-minimization game with private types and type-restricted strategy sets ([Rou12]). Each player i : ι has a private type t : Θ i, a feasible set allowed i t ⊆ S i of ambient actions available to type t, and ex-post cost cost i t s at ambient action profile s : ∀ j, S j.

  • allowed (i : ι) : Θ i → Set (S i)

    Ambient actions available to player i when its private type is t.

  • cost (i : ι) : Θ i → ((j : ι) → S j) → ℝ

    Ex-post cost of player i with private type t at ambient action profile s.

def Cslib.GameTheory.BayesianCostGame.exPostGame {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} (B : BayesianCostGame ι Θ S) (θ : (i : ι) → Θ i) :

The complete-information ex-post cost game realized at type profile θ.

def Cslib.GameTheory.BayesianCostGame.socialCost {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} [Fintype ι] (B : BayesianCostGame ι Θ S) (θ : (i : ι) → Θ i) (s : (i : ι) → S i) :

Ex-post social cost ∑ i, B.cost i (θ i) s at type profile θ and action profile s.

def Cslib.GameTheory.BayesianCostGame.IsFeasible {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} (B : BayesianCostGame ι Θ S) (θ : (i : ι) → Θ i) (s : (i : ι) → S i) :

An ambient action profile s is feasible for type profile θ if s i ∈ B.allowed i (θ i) for every player i.

def Cslib.GameTheory.BayesianCostGame.IsSmooth {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} [DecidableEq ι] [Fintype ι] (B : BayesianCostGame ι Θ S) (lam μ : ℝ) :

Universal (λ, μ)-smoothness of a Bayesian cost game across feasible type-profile pairs ([Rou12]): for all type profiles θ, θ' and respective feasible action profiles s, s', evaluating player i's unilateral deviation to s' i under type θ' i sums to at most lam * socialCost θ' s' + μ * socialCost θ s.

def Cslib.GameTheory.BayesianCostGame.ofCostGame {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} (G : CostGame ι S) (allowed : (i : ι) → Θ i → Set (S i)) :

Equipping a complete-information CostGame with private feasible action sets allowed i t (such as uncertain source-sink terminal pairs in routing games).

theorem Cslib.GameTheory.BayesianCostGame.isSmooth_ofCostGame {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} [DecidableEq ι] [Fintype ι] {G : CostGame ι S} (allowed : (i : ι) → Θ i → Set (S i)) {lam μ : ℝ} (hG : G.IsSmooth lam μ) :
(ofCostGame G allowed).IsSmooth lam μ

Any complete-information (λ, μ)-smooth cost game remains (λ, μ)-smooth when players have private feasible action sets allowed i t, because player costs do not vary directly with types.

def Cslib.GameTheory.BayesianCostGame.interimCost {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} [DecidableEq ι] [Fintype ι] [(i : ι) → Fintype (Θ i)] (B : BayesianCostGame ι Θ S) (p : (i : ι) → Θ i → ℝ) (β : (i : ι) → Θ i → S i) (i : ι) (t : Θ i) (a : S i) :

Interim expected cost of player i with type t playing ambient action a when all other players j ≠ i draw θ j ∼ p j independently and play β j (θ j). Because coordinate i of update (fun j => β j (θ j)) i a does not depend on θ i, summing over full profiles θ weighted by productWeight p θ avoids dividing by p i t.

def Cslib.GameTheory.BayesianCostGame.IsPureBayesNash {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} [DecidableEq ι] [Fintype ι] [(i : ι) → Fintype (Θ i)] (B : BayesianCostGame ι Θ S) (p : (i : ι) → Θ i → ℝ) (β : (i : ι) → Θ i → S i) :

A strategy profile β : ∀ i, Θ i → S i is a pure Bayes–Nash equilibrium of B under independent type distributions p if every type is assigned a feasible action and no type can strictly decrease its interim expected cost by deviating to another feasible action.

theorem Cslib.GameTheory.BayesianCostGame.sum_mul_interimCost_eq {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} [DecidableEq ι] [Fintype ι] [(i : ι) → Fintype (Θ i)] (B : BayesianCostGame ι Θ S) (p : (i : ι) → Θ i → ℝ) (β : (i : ι) → Θ i → S i) {i : ι} (hp : ∑ t : Θ i, p i t = 1) :
∑ t : Θ i, p i t * B.interimCost p β i t (β i t) = ∑ θ : (i : ι) → Θ i, productWeight p θ * B.cost i (θ i) fun (j : ι) => β j (θ j)

Averaging player i's equilibrium interim cost over its own type t ∼ p i recovers its ex-post expected cost under the product prior productWeight p.

theorem Cslib.GameTheory.BayesianCostGame.IsSmooth.expected_socialCost_le_of_isPureBayesNash {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} [DecidableEq ι] [Fintype ι] [(i : ι) → Fintype (Θ i)] {B : BayesianCostGame ι Θ S} {lam μ : ℝ} (hB : B.IsSmooth lam μ) (hμ : μ < 1) {p : (i : ι) → Θ i → ℝ} (hp : ∀ (i : ι), IsMixedStrategy (p i)) {β : (i : ι) → Θ i → S i} (hβ : B.IsPureBayesNash p β) (s' : ((i : ι) → Θ i) → (i : ι) → S i) (hs' : ∀ (θ' : (i : ι) → Θ i), B.IsFeasible θ' (s' θ')) :
(∑ θ : (i : ι) → Θ i, productWeight p θ * B.socialCost θ fun (j : ι) => β j (θ j)) ≤ lam / (1 - μ) * ∑ θ' : (i : ι) → Θ i, productWeight p θ' * B.socialCost θ' (s' θ')

Roughgarden's incomplete-information smoothness extension theorem ([Rou12]): if B is (λ, μ)-smooth with μ < 1, p is an independent profile of probability distributions over types, and β is a pure Bayes–Nash equilibrium, then for every feasible type-contingent benchmark s' : (∀ i, Θ i) → ∀ i, S i, E_{θ ∼ p}[socialCost θ (β ∘ θ)] ≤ λ / (1 - μ) * E_{θ' ∼ p}[socialCost θ' (s' θ')].

theorem Cslib.GameTheory.BayesianCostGame.expected_socialCost_ofCostGame_le_of_isPureBayesNash {ι : Type u_1} {Θ : ι → Type u_2} {S : ι → Type u_3} [DecidableEq ι] [Fintype ι] [(i : ι) → Fintype (Θ i)] {G : CostGame ι S} (allowed : (i : ι) → Θ i → Set (S i)) {lam μ : ℝ} (hG : G.IsSmooth lam μ) (hμ : μ < 1) {p : (i : ι) → Θ i → ℝ} (hp : ∀ (i : ι), IsMixedStrategy (p i)) {β : (i : ι) → Θ i → S i} (hβ : (ofCostGame G allowed).IsPureBayesNash p β) (s' : ((i : ι) → Θ i) → (i : ι) → S i) (hs' : ∀ (θ' : (i : ι) → Θ i) (i : ι), s' θ' i ∈ allowed i (θ' i)) :
(∑ θ : (i : ι) → Θ i, productWeight p θ * G.socialCost fun (j : ι) => β j (θ j)) ≤ lam / (1 - μ) * ∑ θ' : (i : ι) → Θ i, productWeight p θ' * G.socialCost (s' θ')

Incomplete-information robust price of anarchy for smooth complete-information games ([Rou12]): in any complete-information (λ, μ)-smooth cost game G with μ < 1, restricting players to private feasible strategy sets allowed i t drawn from independent priors p preserves the price-of-anarchy bound λ / (1 - μ) across all pure Bayes–Nash equilibria.