Documentation

CslibFrontier.GameTheory.Strategic.Potential

Potential games and the finite improvement property #

Potential functions for strategic games in cost-minimization form, following Monderer and Shapley [MS96], Section 2, with costs in place of payoffs (all inequalities are reversed). For a game G and Φ : (∀ i, S i) → ℝ:

A game has the finite improvement property (FIP) if it has no infinite improvement path γ 0, γ 1, …, where each γ (k + 1) arises from γ k by a unilateral deviation that strictly lowers the deviator's cost.

Main definitions #

Main results #

References #

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

Φ is an exact potential for G: for every profile s, player i and strategy a, cost i (update s i a) - cost i s = Φ (update s i a) - Φ s ([MS96], Section 2, with w i = 1 in (2.2)).

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

Φ is an ordinal potential for G: a unilateral deviation strictly lowers the deviator's cost if and only if it strictly lowers Φ ([MS96], (2.1), for costs).

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

Φ is a generalized ordinal potential for G: every unilateral deviation that strictly lowers the deviator's cost strictly lowers Φ ([MS96], (2.3), for costs).

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

The finite improvement property: there is no infinite improvement path, that is, no sequence of profiles γ with G.Improves (γ (k + 1)) (γ k) for every k ([MS96], Section 2).

The finite improvement property is well-foundedness of the improvement relation.

theorem Cslib.GameTheory.CostGame.IsExactPotential.isOrdinalPotential {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} {Φ : ((i : ι) → S i) → ℝ} (h : G.IsExactPotential Φ) :
theorem Cslib.GameTheory.CostGame.IsOrdinalPotential.isGeneralizedOrdinalPotential {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} {Φ : ((i : ι) → S i) → ℝ} (h : G.IsOrdinalPotential Φ) :
theorem Cslib.GameTheory.CostGame.IsExactPotential.isGeneralizedOrdinalPotential {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} {Φ : ((i : ι) → S i) → ℝ} (h : G.IsExactPotential Φ) :
theorem Cslib.GameTheory.CostGame.IsOrdinalPotential.isPureNash_iff {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} {Φ : ((i : ι) → S i) → ℝ} (h : G.IsOrdinalPotential Φ) {s : (i : ι) → S i} :
G.IsPureNash s ↔ ∀ (i : ι) (a : S i), Φ s ≤ Φ (Function.update s i a)

[MS96], Lemma 2.1, for costs: if Φ is an ordinal potential, then s is a pure Nash equilibrium of G if and only if no unilateral deviation strictly lowers Φ, that is, if and only if s is a pure Nash equilibrium of the game in which every player's cost is Φ.

theorem Cslib.GameTheory.CostGame.IsGeneralizedOrdinalPotential.isPureNash_of_forall_update_le {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} {Φ : ((i : ι) → S i) → ℝ} (h : G.IsGeneralizedOrdinalPotential Φ) {s : (i : ι) → S i} (hs : ∀ (i : ι) (a : S i), Φ s ≤ Φ (Function.update s i a)) :

If no unilateral deviation strictly lowers a generalized ordinal potential, the profile is a pure Nash equilibrium.

theorem Cslib.GameTheory.CostGame.IsGeneralizedOrdinalPotential.isPureNash_of_forall_le {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} {Φ : ((i : ι) → S i) → ℝ} (h : G.IsGeneralizedOrdinalPotential Φ) {s : (i : ι) → S i} (hs : ∀ (t : (i : ι) → S i), Φ s ≤ Φ t) :

A global minimizer of a generalized ordinal potential is a pure Nash equilibrium.

theorem Cslib.GameTheory.CostGame.IsGeneralizedOrdinalPotential.wellFounded {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} [Finite ((i : ι) → S i)] {Φ : ((i : ι) → S i) → ℝ} (h : G.IsGeneralizedOrdinalPotential Φ) :

With finitely many profiles, a generalized ordinal potential makes the improvement relation well-founded.

theorem Cslib.GameTheory.CostGame.IsGeneralizedOrdinalPotential.hasFIP {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} [Finite ((i : ι) → S i)] {Φ : ((i : ι) → S i) → ℝ} (h : G.IsGeneralizedOrdinalPotential Φ) :

[MS96], Lemma 2.3, in the generality of the "if" direction of Lemma 2.5: a game with finitely many profiles and a generalized ordinal potential has the finite improvement property.

theorem Cslib.GameTheory.CostGame.HasFIP.exists_isPureNash {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} [Nonempty ((i : ι) → S i)] (h : G.HasFIP) :
∃ (s : (i : ι) → S i), G.IsPureNash s

A game with the finite improvement property and some profile has a pure Nash equilibrium.

theorem Cslib.GameTheory.CostGame.HasFIP.exists_reflTransGen_isPureNash {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} (h : G.HasFIP) (s : (i : ι) → S i) :
∃ (t : (i : ι) → S i), Relation.ReflTransGen (flip G.Improves) s t ∧ G.IsPureNash t

Better-response dynamics converge under the finite improvement property: from every profile s, a finite sequence of improvement steps reaches a pure Nash equilibrium t ([MS96], Section 2, after Lemma 2.3).

theorem Cslib.GameTheory.CostGame.IsGeneralizedOrdinalPotential.le_of_reflTransGen {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} {Φ : ((i : ι) → S i) → ℝ} (h : G.IsGeneralizedOrdinalPotential Φ) {s t : (i : ι) → S i} (hst : Relation.ReflTransGen (flip G.Improves) s t) :
Φ t ≤ Φ s

A generalized ordinal potential does not increase along an improvement path: if better-response dynamics lead from s to t, then Φ t ≤ Φ s.

theorem Cslib.GameTheory.CostGame.IsGeneralizedOrdinalPotential.exists_isPureNash {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} [Finite ((i : ι) → S i)] [Nonempty ((i : ι) → S i)] {Φ : ((i : ι) → S i) → ℝ} (h : G.IsGeneralizedOrdinalPotential Φ) :
∃ (s : (i : ι) → S i), G.IsPureNash s

[MS96], Corollary 2.2, for generalized ordinal potentials: a game with finitely many (and at least one) profiles and a generalized ordinal potential has a pure Nash equilibrium.

theorem Cslib.GameTheory.CostGame.hasFIP_iff_exists_isGeneralizedOrdinalPotential {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} [Finite ((i : ι) → S i)] :
G.HasFIP ↔ ∃ (Φ : ((i : ι) → S i) → ℝ), G.IsGeneralizedOrdinalPotential Φ

[MS96], Lemma 2.5: a game with finitely many profiles has the finite improvement property if and only if it has a generalized ordinal potential.

For the "only if" direction we use, in cost form, the construction of Milchtaich cited in [MS96], footnote 12: Φ s is the number of profiles reachable from s by a nonempty improvement path.

theorem Cslib.GameTheory.CostGame.IsExactPotential.sub_eq_sub {ι : Type u_1} {S : ι → Type u_2} [DecidableEq ι] {G : CostGame ι S} [Finite ι] {Φ Ψ : ((i : ι) → S i) → ℝ} (hΦ : G.IsExactPotential Φ) (hΨ : G.IsExactPotential Ψ) (s t : (i : ι) → S i) :
Φ s - Ψ s = Φ t - Ψ t

[MS96], Lemma 2.7: with finitely many players, two exact potentials of the same game differ by a constant.