Graphical games #
A graphical game ([Kea07], Definition 7.1, p. 162) on a set of players ι with strategy
sets S : ι → Type* consists of an undirected interaction graph G : SimpleGraph ι together with
a local payoff table localPayoff i : (∀ j : ClosedNeighborhood G i, S j.1) → ℝ for each player
i. Player i's payoff at a global action profile s : ∀ k, S k depends only on the actions of
i and its neighbors in G (payoff_congr). Kearns states Definition 7.1 for binary actions
{0, 1} while noting (§7.2, p. 161) that all basic notions extend directly to general finite
action sets; this module works over arbitrary S : ι → Type*.
Negating payoffs embeds any graphical game into Cslib.GameTheory.CostGame (toCostGame), just as
BimatrixGame.toCostGame embeds two-player payoff games. Conversely, a normal-form CostGame
arises from a graphical game on G if and only if each player's cost is invariant under changes
outside its closed neighborhood (CostGame.isGraphicalOn_iff_exists_graphicalGame); in particular,
every normal-form game is represented by a graphical game on the complete graph ⊤
(ofCostGameComplete, [Kea07], §7.2 Remarks, p. 162).
On finite player and action sets, the domain of localPayoff has tableEntries M entries, equal
to ∑ i, ∏ j ∈ insert i (M.graph.neighborFinset i), Fintype.card (S j) (tableEntries_eq_sum_prod)
and bounded by Fintype.card ι * m ^ (d + 1) when Fintype.card (S i) ≤ m and
M.graph.degree i ≤ d (tableEntries_le_card_mul_pow), compared with
CostGame.normalFormEntries ι (fun _ => α) = Fintype.card ι * (Fintype.card α) ^ Fintype.card ι
for normal form (tableEntries_lt_normalFormEntries when M.graph ≠ ⊤ and
2 ≤ Fintype.card (S i)).
Under independent mixed strategies p : ∀ i, S i → ℝ, marginalizing out players outside the
neighborhood reduces expectedPayoff and deviationPayoff to sums over ClosedNeighborhood and
neighborSet (expectedPayoff_eq_localSum, deviationPayoff_eq_localDeviationPayoff).
Consequently, whether a mixed strategy x : S i → ℝ is an ε-best response for player i depends
only on the mixed strategies of M.graph.neighborSet i (IsApproxBestResponse,
isApproxNash_iff_local). For general joint distributions ([Kea07], §7.4.1,
Definitions 7.7–7.8 and Lemmas 7.9–7.10, pp. 170–171), local neighborhood equivalence
LocalNeighborhoodEquiv strictly refines expected payoff equivalence ExpectedPayoffEquiv and
preserves correlated equilibria.
Main definitions #
Cslib.GameTheory.ClosedNeighborhood: the subtype{j : ι // j = i ∨ G.Adj i j}representing Kearns's closed neighborhoodN_G(i).Cslib.GameTheory.GraphicalGame: a graphical game(G, M)with local payoff tables overClosedNeighborhood.Cslib.GameTheory.GraphicalGame.payoff: playeri's payoff at a global action profile.Cslib.GameTheory.GraphicalGame.toCostGame: normal-formCostGamewith negated payoffs.Cslib.GameTheory.CostGame.IsGraphicalOn: locality condition characterizing normal-form cost games representable onG.Cslib.GameTheory.GraphicalGame.ofCostGameComplete: representation of anyCostGameas a graphical game on the complete graph⊤.Cslib.GameTheory.GraphicalGame.tableEntries,Cslib.GameTheory.CostGame.normalFormEntries: exact scalar entry counts of the graphical and normal-form payoff tables.Cslib.GameTheory.GraphicalGame.expectedPayoff,Cslib.GameTheory.GraphicalGame.deviationPayoff,Cslib.GameTheory.GraphicalGame.localDeviationPayoff: global and neighborhood-local expected payoffs under mixed strategy profiles.Cslib.GameTheory.GraphicalGame.IsApproxNash,Cslib.GameTheory.GraphicalGame.IsApproxBestResponse,Cslib.GameTheory.GraphicalGame.IsBestResponse: globalε-Nash equilibrium ([Kea07], §7.2, p. 162) and purely localε-best-response / exact best-response predicates.Cslib.GameTheory.GraphicalGame.ExpectedPayoffEquiv,Cslib.GameTheory.LocalNeighborhoodEquiv: expected payoff equivalence and local neighborhood equivalence of joint distributions ([Kea07], Definitions 7.7–7.8, pp. 170–171).
Main results #
Cslib.GameTheory.GraphicalGame.payoff_congr: local neighborhood payoff invariance.Cslib.GameTheory.CostGame.isGraphicalOn_iff_exists_graphicalGame: exact characterization of normal-form games induced by graphical games onG.Cslib.GameTheory.GraphicalGame.toCostGame_ofCostGameComplete: complete-graph universality.Cslib.GameTheory.GraphicalGame.tableEntries_eq_sum_prod,Cslib.GameTheory.GraphicalGame.tableEntries_le_card_mul_pow,Cslib.GameTheory.GraphicalGame.tableEntries_lt_normalFormEntries: succinct parameter-count identities and strict advantage over normal form whenG ≠ ⊤.Cslib.GameTheory.GraphicalGame.expectedPayoff_eq_localSum,Cslib.GameTheory.GraphicalGame.deviationPayoff_eq_localDeviationPayoff: local marginalization of expected payoffs under product distributions.Cslib.GameTheory.GraphicalGame.isApproxNash_zero_iff,Cslib.GameTheory.GraphicalGame.isApproxNash_iff_mixed,Cslib.GameTheory.GraphicalGame.isApproxNash_iff_local,Cslib.GameTheory.GraphicalGame.isMixedNash_toCostGame_iff_local: equivalence between global equilibrium, mixed unilateral deviations, and local neighbor best responses.Cslib.GameTheory.LocalNeighborhoodEquiv.expectedPayoffEquiv,Cslib.GameTheory.exists_graphicalGame_not_expectedPayoffEquiv,Cslib.GameTheory.LocalNeighborhoodEquiv.isCorrelatedEquilibrium_iff: [Kea07], Lemmas 7.9 and 7.10 (p. 171).
References #
The closed neighborhood N_G(i) = {i} ∪ Γ_G(i) of vertex i in G ([Kea07], §7.2,
p. 162), as a subtype.
A graphical game ([Kea07], Definition 7.1, p. 162) over player type ι and strategy
sets S : ι → Type*: an undirected graph graph together with a local payoff function
localPayoff i for each player i depending only on actions in ClosedNeighborhood graph i.
- graph : SimpleGraph ι
The undirected interaction graph
Gover the players. Local payoff table
M_i(a^i)for playerion closed-neighborhood action profiles.
A normal-form cost game C is graphical on G if each player's cost depends only on the
actions of its closed neighborhood in G.
Number of scalar payoff entries in the normal-form table ι → (∀ i, S i) → ℝ.
Restrict a global pure action profile s to player i's closed neighborhood N_G(i)
(a^i in [Kea07], §7.2, p. 162).
Player i's payoff at a global action profile s, evaluated from M.localPayoff i.
Local neighborhood payoff invariance ([Kea07], Definition 7.1, p. 162): player i's
payoff depends only on the actions of i and its neighbors in M.graph.
Changing the action of a non-neighbor k (k ≠ i and ¬ M.graph.Adj i k) leaves player i's
payoff unchanged.
The normal-form cost-minimization game induced by a graphical game, with costs equal to negated
payoffs (cost i s = - M.payoff i s, matching BimatrixGame.toCostGame).
Represent any normal-form CostGame as a graphical game on the complete graph ⊤
([Kea07], §7.2 Remarks, p. 162).
Normal-form locality characterization: a CostGame with nonempty strategy sets is induced
by a graphical game with interaction graph G if and only if it satisfies
CostGame.IsGraphicalOn G.
Total number of scalar entries across all local payoff tables M.localPayoff
([Kea07], §7.2 Remarks, p. 162).
Exact parameter count of a graphical game: ∑ i, ∏ j ∈ N_G(i), |S j|.
Succinct representation bound ([Kea07], §7.2 Remarks, p. 162): if every player has at
most m pure strategies and degree at most d in M.graph, then M stores at most
|ι| * m ^ (d + 1) scalar payoff entries (exponential only in d + 1, linear in |ι|).
On the complete graph ⊤, tableEntries equals CostGame.normalFormEntries.
Whenever M.graph ≠ ⊤ and every player has at least 2 actions, the graphical game stores
strictly fewer entries than the normal-form representation ([Kea07], §7.2 Remarks, p. 162).
Marginalization of a product distribution over coordinates outside {j : ι // P j}: if f
depends only on {j // P j} and every coordinate outside P has total weight 1, then
∑ s, productWeight p s * f (restrict s) reduces to the product sum on {j // P j}.
Expected payoff M_i(p) = E_{s ∼ p}[M.payoff i s] of player i under independent mixed
strategies p ([Kea07], §7.2, p. 162).
Expected payoff of player i when i plays pure strategy a and all other players draw
independently from p.
Player i's payoff when i plays pure action a and its neighbors j ∈ M.graph.neighborSet i
play u j.
Purely local expected payoff of player i playing pure action a when its neighbors in
M.graph use mixed strategies nbr.
Local factorization of expectedPayoff: when players outside ClosedNeighborhood M.graph i
use probability vectors summing to 1, M.expectedPayoff p i sums only over closed-neighborhood
profiles.
Local factorization of deviationPayoff: when every non-neighbor of i uses a vector
summing to 1, M.deviationPayoff p i a equals M.localDeviationPayoff i a evaluated only on
M.graph.neighborSet i (independent of both p i and all non-neighbors).
Two mixed strategy profiles agreeing on M.graph.neighborSet i give player i identical
deviation payoffs for every pure action a.
Two mixed strategy profiles agreeing on ClosedNeighborhood M.graph i give player i the same
expected payoff ([Kea07], §7.2 & Definition 7.8 / Lemma 7.9 product case).
Exact and ε-approximate Nash equilibria #
An additive ε-approximate Nash equilibrium of a graphical game ([Kea07], §7.2,
p. 162): every player uses a mixed strategy and no player can gain more than ε by a unilateral
pure deviation.
At ε = 0, IsApproxNash coincides with M.toCostGame.IsMixedNash.
Equivalence between pure-deviation and mixed-deviation ε-Nash equilibrium ([Kea07],
§7.2, p. 162: ∀ i, ∀ p'_i, M_i(p) + ε ≥ M_i(p[i : p'_i])).
Purely local ε-best-response predicate for player i against neighbor mixed strategies nbr
([Kea07], §7.2–7.3, pp. 162, 165).
Purely local exact best-response predicate (ε = 0).
Locality of IsApproxNash: p is an ε-Nash equilibrium of M if and only if each
p i is locally an ε-best response to (fun j : M.graph.neighborSet i => p j.1).
Locality of exact Nash equilibrium: p is a mixed Nash equilibrium of M.toCostGame if
and only if each p i is locally an exact best response to its neighbors in M.graph.
Expected payoff equivalence σ ≡_EP τ ([Kea07], Definition 7.7, p. 170): two
finitely supported joint action distributions give every player the same expected payoff in M.
Marginal probability assigned by a finitely supported joint distribution σ to the
closed-neighborhood setting u of player i in G ([Kea07], Definition 7.8, p. 171).
Local neighborhood equivalence σ ≡_LN τ with respect to G ([Kea07],
Definition 7.8, p. 171): σ and τ induce identical marginal distributions on every closed
neighborhood ClosedNeighborhood G i.
Local neighborhood equivalence implies expected payoff equivalence ([Kea07],
Lemma 7.9, first part, p. 171): if σ ≡_LN τ with respect to M.graph, then σ ≡_EP τ in M.
Strictness of local neighborhood equivalence ([Kea07], Lemma 7.9, second part,
p. 171): if ¬ LocalNeighborhoodEquiv G σ τ, there exists a graphical game on G with {0, 1}
payoffs under which σ and τ are not expected-payoff equivalent.