Documentation

CslibFrontier.GameTheory.Strategic.Basic

Strategic games in cost-minimization form #

A strategic (normal-form) game has a set of players ι, a strategy set S i for each player i, and a cost cost i s : ℝ for each player at each strategy profile s : ∀ i, S i. Players minimize cost, as in [Rou15b], Section 2.1; a payoff-maximization game with utilities u i is the cost game with costs -u i. A unilateral deviation of player i to the strategy a turns the profile s into Function.update s i a, which is the profile written (y⁻ⁱ, a) or (a, s₋ᵢ) in the literature.

Main definitions #

Main results #

References #

structure Cslib.GameTheory.CostGame (ι : Type u_1) (S : ι → Type u_2) :
Type (max u_1 u_2)

A strategic game in cost-minimization form: player i chooses a strategy in S i, and cost i s is the cost of player i at the strategy profile s : ∀ i, S i.

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

    The cost of player i at the profile s.

def Cslib.GameTheory.CostGame.IsPureNash {ι : Type u_1} {S : ι → Type u_2} (G : CostGame ι S) [DecidableEq ι] (s : (i : ι) → S i) :

A profile s is a pure Nash equilibrium if no player can strictly decrease its cost by a unilateral deviation: cost i s ≤ cost i (update s i a) for every player i and strategy a.

def Cslib.GameTheory.CostGame.Improves {ι : Type u_1} {S : ι → Type u_2} (G : CostGame ι S) [DecidableEq ι] (t s : (i : ι) → S i) :

G.Improves t s: the profile t arises from s by a unilateral deviation of some player that strictly decreases that player's cost. This is one step of better-response dynamics. The argument order makes WellFounded G.Improves say that there is no infinite improvement path.

theorem Cslib.GameTheory.CostGame.isPureNash_iff_forall_not_improves {ι : Type u_1} {S : ι → Type u_2} (G : CostGame ι S) [DecidableEq ι] {s : (i : ι) → S i} :
G.IsPureNash s ↔ ∀ (t : (i : ι) → S i), ¬G.Improves t s
def Cslib.GameTheory.CostGame.socialCost {ι : Type u_1} {S : ι → Type u_2} (G : CostGame ι S) [Fintype ι] (s : (i : ι) → S i) :

The social cost of a profile: the sum ∑ i, cost i s of all players' costs.