Single-polytope symmetric Lemke–Howson algorithm #
For a symmetric two-player bimatrix game G : BimatrixGame M M (G.B = G.Aᵀ) whose payoff matrix
A = G.A has nonnegative entries and no all-zero column, [Pap07], Section 2.3.2
(pp. 34–36) gives a single-polytope presentation of the Lemke–Howson algorithm on the polytope
P = {z : M → ℝ | z ≥ 0 ∧ A *ᵥ z ≤ 1} — which coincides with G.matP *ᵥ z ≤ rhsP M M from
CslibFrontier.GameTheory.Bimatrix.BestResponsePolytope.
A strategy i : M is represented at z (SymRepresented G z i) if either z i = 0
(.inl i ∈ tightRows G.matP (rhsP M M) z) or (A *ᵥ z) i = 1
(.inr i ∈ tightRows G.matP (rhsP M M) z). A point z is completely represented
(SymCompletelyLabeled G z) if every strategy i : M is represented at z. Under nondegeneracy
of P, the nonzero completely represented vertices of P are in bijection with the symmetric Nash
equilibria of G via z ↦ (∑ i, z i)⁻¹ • z (IsSymmetric.setOf_symCompletelyLabeled_eq).
Fixing a dropped strategy k : M, the nodes of the single-polytope symmetric Lemke–Howson graph
(symLHGraph G k) are the vertices of P at which every strategy i ≠ k is represented
(SymLHNode G k). Two nodes p, q are adjacent iff they are adjacent vertices of P whose shared
tight rows (tightRows p.z ∩ tightRows q.z, the constraints defining the connecting edge of P)
already represent every strategy i ≠ k. Equivalently, under nondegeneracy and boundedness, q is
obtained from p by pivoting off a tight row belonging either to k or to a doubly represented
strategy (symLHGraph_adj_iff). Every completely represented node (including the origin 0) has
degree 1 (ncard_neighborSet_of_symCompletelyLabeled), while every other node has a unique
doubly represented strategy and degree 2 (ncard_neighborSet_of_not_symCompletelyLabeled).
Consequently:
- The number of completely represented vertices of
Pis even (even_ncard_symCompletelyLabeled), so every nondegenerate symmetric bimatrix game has an odd (hence positive) number of symmetric Nash equilibria (IsSymmetric.odd_ncard_isSymmetricNash,IsSymmetric.odd_ncard_isSymmetricNash_of_isNondegenerate). - Following the unique edge from
0and taking the unvisited neighbor at each degree-2node (symLHRun) visits distinct vertices without repeating or returning to0([Pap07], Figure 2.2, p. 36) and terminates at a nonzero completely represented vertex whose normalization is a symmetric Nash equilibrium (IsSymmetric.symLHRun_isSymmetricNash).
Main definitions #
Cslib.GameTheory.BimatrixGame.SymRepresented,Cslib.GameTheory.BimatrixGame.SymCompletelyLabeled: strategy representation and complete representation on the single polytopeP = {z ≥ 0 | A z ≤ 1}.Cslib.GameTheory.BimatrixGame.symToPolytope: maps a symmetric Nash equilibriumxto(G.payoff₁ x x)⁻¹ • x ∈ P.Cslib.GameTheory.BimatrixGame.SymLHNode,Cslib.GameTheory.BimatrixGame.symLHGraph:k-almost completely represented vertices ofPand their adjacency graph.Cslib.GameTheory.BimatrixGame.symLHOrigin,Cslib.GameTheory.BimatrixGame.symLHRun: origin node and deterministic path-following walk onsymLHGraph.
Main results #
Cslib.GameTheory.BimatrixGame.IsSymmetric.eq_zero_of_matP_mulVec_nonpos: boundedness ofPwheneverG.A ≥ 0has no all-zero column ([Pap07], Section 2.3.2, p. 34).Cslib.GameTheory.BimatrixGame.IsSymmetric.isSymmetricNash_of_symCompletelyLabeled,Cslib.GameTheory.BimatrixGame.IsSymmetric.symCompletelyLabeled_symToPolytope,Cslib.GameTheory.BimatrixGame.IsSymmetric.setOf_symCompletelyLabeled_eq: bijection between nonzero completely represented vertices ofPand symmetric Nash equilibria.Cslib.GameTheory.BimatrixGame.symLHGraph_adj_iff,Cslib.GameTheory.BimatrixGame.ncard_neighborSet_of_symCompletelyLabeled,Cslib.GameTheory.BimatrixGame.ncard_neighborSet_of_not_symCompletelyLabeled: pivot characterization and degree1/2structure ofsymLHGraph.Cslib.GameTheory.BimatrixGame.even_ncard_symCompletelyLabeled,Cslib.GameTheory.BimatrixGame.IsSymmetric.odd_ncard_isSymmetricNash,Cslib.GameTheory.BimatrixGame.IsSymmetric.odd_ncard_isSymmetricNash_of_isNondegenerate: evenness of completely represented vertices and oddness of symmetric Nash equilibria.Cslib.GameTheory.BimatrixGame.symLHRun_nodup,Cslib.GameTheory.BimatrixGame.IsSymmetric.symLHRun_isSymmetricNash: non-repeating termination of the single-polytope symmetric Lemke–Howson path at a symmetric Nash equilibrium ([Pap07], Section 2.3.2, pp. 34–36, Figure 2.2).
References #
- C. H. Papadimitriou, The Complexity of Finding Nash Equilibria, Section 2.3.2, pp. 34–36 (Figures 2.1–2.2) and Example 2.2, pp. 30–31
For a symmetric bimatrix game G (G.B = G.Aᵀ), z ᵥ* G.B = G.A *ᵥ z.
In a symmetric game with nonnegative payoffs and no all-zero column, every symmetric Nash equilibrium yields strictly positive equilibrium payoff.
Map sending a symmetric Nash equilibrium x to its corresponding point (payoff₁ x x)⁻¹ • x
in the single polytope P = {z ≥ 0 | A z ≤ 1}.
Normalization recovers x from G.symToPolytope x.
Feasibility on G.matP *ᵥ z ≤ rhsP M M for a symmetric game G: z ≥ 0 and G.A *ᵥ z ≤ 1.
Tightness of .inr i on G.matP for a symmetric game G: (G.A *ᵥ z) i = 1.
Boundedness of the symmetric polytope P ([Pap07], Section 2.3.2, p. 34):
if G is symmetric with nonnegative payoffs and no all-zero column (∀ j, ∃ i, 0 < G.A i j),
then the recession cone of G.matP *ᵥ z ≤ rhsP M M is trivial ({0}).
Strategy representation and bijection with symmetric Nash equilibria #
Strategy i : M is represented at z in the single polytope P ([Pap07],
Section 2.3.2, p. 34) if at least one of the two inequalities associated with i (z i = 0 or
(G.Bᵀ *ᵥ z) i = 1, i.e., (G.A *ᵥ z) i = 1 when G.IsSymmetric) is tight at z.
z is completely represented (all strategies represented) in the single polytope P
([Pap07], Section 2.3.2, pp. 34–35).
Every nonzero feasible completely represented point of P normalizes to a symmetric Nash
equilibrium ([Pap07], Section 2.3.2, pp. 34–35).
Every symmetric Nash equilibrium maps to a nonzero feasible completely represented point of
P ([Pap07], Section 2.3.2, pp. 34–35).
G.symToPolytope recovers z from its normalization (∑ i, z i)⁻¹ • z.
A feasible completely represented point of a bounded nondegenerate polytope P is a vertex.
Exact set of completely represented vertices of P: under nondegeneracy, nonnegativity,
and no all-zero column, the completely represented vertices of P are precisely {0} together
with the image of the symmetric Nash equilibria under symToPolytope.
The single-polytope symmetric Lemke–Howson graph symLHGraph #
A node of the single-polytope symmetric Lemke–Howson graph for dropped strategy k : M
([Pap07], Section 2.3.2, p. 35): a vertex z of P at which every strategy i ≠ k
is represented.
There are finitely many nodes in SymLHNode G k.
The origin 0 as a node of SymLHNode G k.
The single-polytope symmetric Lemke–Howson graph for dropped strategy k : M
([Pap07], Section 2.3.2, pp. 35–36): two k-almost completely represented vertices of
P are adjacent iff they are adjacent vertices of P whose shared tight rows (defining the
connecting edge of P) already represent every strategy i ≠ k.
Pivot characterization of edges in symLHGraph: p and q are adjacent in
symLHGraph G k iff q is obtained from p by pivoting off a tight row l whose strategy is
either k or doubly represented at p.
Every completely represented node has degree 1 in symLHGraph G k ([Pap07],
Section 2.3.2, pp. 35–36).
Every non-completely-represented node has degree 2 in symLHGraph G k
([Pap07], Section 2.3.2, pp. 35–36).
Parity of completely represented vertices of P: in a bounded nondegenerate polytope P
with Nonempty M, the number of completely represented vertices is even.
Oddness of symmetric Nash equilibria #
Oddness of symmetric Nash equilibria via single-polytope Lemke–Howson
([Pap07], Section 2.3.2, pp. 34–36): every symmetric bimatrix game with nonnegative
payoffs, no all-zero column, and nondegenerate polytope P has an odd (hence positive) number of
symmetric Nash equilibria.
Deterministic path-following on symLHGraph (Figure 2.2) #
Given a node curr in symLHGraph G k and a previous node prev, selects an adjacent node of
curr distinct from prev whenever one exists (unique at degree-2 nodes and at 0 when
prev = 0), and returns none when no other neighbor exists (i.e., at a terminal completely
represented node curr ≠ 0).
Walks n steps of the single-polytope symmetric Lemke–Howson path starting from
(prev, curr), returning the visited node list in chronological order.
Runs the single-polytope symmetric Lemke–Howson path starting at v₀ = 0 for up to n
pivots ([Pap07], Section 2.3.2, pp. 35–36, Figure 2.2).
The single-polytope symmetric Lemke–Howson path never repeats a vertex ([Pap07], Section 2.3.2, p. 36, Figure 2.2).
Termination of the single-polytope symmetric Lemke–Howson path at a nonzero completely
represented vertex ([Pap07], Section 2.3.2, pp. 35–36): running symLHRun G k N
for N ≥ Nat.card (SymLHNode G k) steps terminates at a nonzero completely represented vertex of
P.
Correctness of single-polytope symmetric Lemke–Howson ([Pap07], Section 2.3.2,
pp. 34–36): for any symmetric bimatrix game with nonnegative payoffs, no all-zero column, and
nondegenerate polytope P, normalizing the terminal vertex of symLHRun G k N (for
N ≥ Nat.card (SymLHNode G k)) yields a symmetric Nash equilibrium of G.
Every nondegenerate finite symmetric bimatrix game (with arbitrary-sign payoffs) has an odd number of symmetric Nash equilibria ([Pap07], Section 2.3.2, pp. 34–36).