NP-hardness of Nash equilibrium decision problems #
This module formalizes the NP-hardness direction of [Pap07], Section 2.2.2,
Theorem 2.3 (p. 33; originally Gilboa and Zemel, with the symmetric SAT reduction of Conitzer and
Sandholm sketched on p. 33): even for symmetric two-player games, deciding whether a game admits
- at least two distinct mixed Nash equilibria (
BimatrixCode.SymGameHasTwoNash), - a mixed Nash equilibrium in which player 1 receives payoff at least
u(BimatrixCode.SymGameHasNashPayoffGe), - a mixed Nash equilibrium in which the two players receive total payoff at least
u(BimatrixCode.SymGameHasNashTotalPayoffGe), - a mixed Nash equilibrium whose support has size strictly greater than
k(BimatrixCode.SymGameHasNashSupportGt), - a mixed Nash equilibrium whose support contains a given pure strategy
s(BimatrixCode.SymGameHasNashSupportContains), or - a mixed Nash equilibrium whose support omits a given pure strategy
s(BimatrixCode.SymGameHasNashSupportOmits)
is NP-hard under native multi-tape Turing-machine polynomial-time many-one reductions from SAT.
Proving NP membership (InNP) for these six real-valued Nash decision problems (completing
NP-completeness) remains open under #7789.
Construction #
For a CNF formula φ : CNF (Fin N) with 2 ≤ N, BimatrixGame.gilboaZemelGame N φ is the
symmetric two-player game ⟨A, Aᵀ⟩ on GilboaZemelStrategy N φ.length (literal strategies
lit v b, variable-penalty strategies var v, clause-penalty strategies cl c, and default
strategy default) with integer payoffs:
A (lit v b) (lit v' b') = 0ifv = v' ∧ b ≠ b', elseN - 1;A (lit v b) other = -2forother ∈ {var, cl, default};A (var v) (lit v' b') = 0ifv = v', elseN;A (var v) other = -1;A (cl c) (lit v' b') = 0if(v', b') ∈ φ[c], elseN;A (cl c) other = -1;A default s = 1for alls.
The theorem BimatrixGame.isNash_gilboaZemelGame_iff classifies all mixed Nash equilibria
(symmetric and asymmetric alike): (x, y) is a Nash equilibrium of gilboaZemelGame N φ if and
only if either (x, y) = (Pi.single .default 1, Pi.single .default 1) (payoffs (1, 1), support
{.default} of size 1), or x = y = gilboaZemelAssignmentStrategy φ.length α for a satisfying
truth assignment α of φ (payoffs (N - 1, N - 1), support {lit v (α v)} of size N).
Compacting an arbitrary φ : CNF ℕ and padding with three forced-true dummy variables 0, 1, 2
ensures N ≥ 3 (hence N - 1 ≥ 2 > 1, total payoff 2(N - 1) ≥ 4 > 2, support size N ≥ 3 > 1,
and lit 0 true in every satisfying support) and yields a single polynomial-time computable
symmetric BimatrixCode reducing SAT to all six problems simultaneously.
Main definitions #
Cslib.GameTheory.BimatrixGame.GilboaZemelStrategy,gilboaZemelGame,gilboaZemelAssignmentStrategy: the Conitzer–Sandholm symmetric game for a CNF formula and the uniform mixed strategy on a truth assignment.Cslib.GameTheory.BimatrixThresholdInstance,encBimatrixThresholdInstance: encoded pair of a rational bimatrix game and a rational payoff threshold.Cslib.GameTheory.BimatrixSupportBoundInstance,encBimatrixSupportBoundInstance: encoded pair of a rational bimatrix game and a binary natural support-size threshold.Cslib.GameTheory.BimatrixStrategyIndexInstance,encBimatrixStrategyIndexInstance: encoded pair of a rational bimatrix game and a binary natural pure-strategy index.Cslib.GameTheory.BimatrixCode.SymGameHasTwoNash,SymGameHasNashPayoffGe,SymGameHasNashTotalPayoffGe,SymGameHasNashSupportGt,SymGameHasNashSupportContains,SymGameHasNashSupportOmits: the six symmetric two-player Nash decision problems of [Pap07], Theorem 2.3 (p. 33).
Main results #
Cslib.GameTheory.BimatrixGame.isNash_gilboaZemelGame_iff: complete classification of all (symmetric and asymmetric) mixed Nash equilibria ofgilboaZemelGame N φfor2 ≤ N.Cslib.GameTheory.BimatrixCode.polyTimeReducible_SAT_SymGameHasTwoNash,polyTimeReducible_SAT_SymGameHasNashPayoffGe,polyTimeReducible_SAT_SymGameHasNashTotalPayoffGe,polyTimeReducible_SAT_SymGameHasNashSupportGt,polyTimeReducible_SAT_SymGameHasNashSupportContains,polyTimeReducible_SAT_SymGameHasNashSupportOmits: polynomial-time many-one reductions fromSATto all six problems.Cslib.GameTheory.BimatrixCode.SymGameHasTwoNash_npHard,SymGameHasNashPayoffGe_npHard,SymGameHasNashTotalPayoffGe_npHard,SymGameHasNashSupportGt_npHard,SymGameHasNashSupportContains_npHard,SymGameHasNashSupportOmits_npHard:NP-hardness of all six Nash equilibrium decision problems on symmetric two-player rational games ([Pap07], Theorem 2.3, p. 33;InNPremains open under #7789).
References #
- C. H. Papadimitriou, The Complexity of Finding Nash Equilibria, Section 2.2.2, Theorem 2.3, p. 33
Section 1: The Conitzer–Sandholm symmetric game for CNF formulas #
Pure strategies of the Conitzer–Sandholm symmetric game for a CNF formula with N variables
and M clauses ([Pap07], Section 2.2.2, p. 33).
- lit {N M : ℕ} (v : Fin N) (b : Bool) : GilboaZemelStrategy N M
- var {N M : ℕ} (v : Fin N) : GilboaZemelStrategy N M
Variable-penalty strategy for variable
v : Fin N. - cl {N M : ℕ} (c : Fin M) : GilboaZemelStrategy N M
Clause-penalty strategy for clause
c : Fin M. - default {N M : ℕ} : GilboaZemelStrategy N M
Default strategy (denoted
din [Pap07], p. 33).
Instances For
The Conitzer–Sandholm symmetric bimatrix game ⟨A, Aᵀ⟩ associated to a CNF formula
φ : CNF (Fin N) ([Pap07], Section 2.2.2, p. 33).
The uniform mixed strategy putting probability 1 / N on each literal lit v (α v) selected
by truth assignment α : Fin N → Bool, and 0 on all other strategies.
For 0 < N, gilboaZemelAssignmentStrategy M α is a valid mixed strategy.
The support of gilboaZemelAssignmentStrategy M α has cardinality N whenever 0 < N.
Expected row-payoff formulas for gilboaZemelGame #
Player 1's payoff at the default pure profile (default, default) is 1.
Player 1's payoff at (uniform α, uniform α) is N - 1 whenever 0 < N.
Complete Nash equilibrium characterization #
Complete mixed Nash equilibrium characterization for gilboaZemelGame
([Pap07], Section 2.2.2, p. 33): for any N ≥ 2 and φ : CNF (Fin N), a pair (x, y)
is a mixed Nash equilibrium of gilboaZemelGame N φ (symmetric or asymmetric) if and only if
either (x, y) = (Pi.single .default 1, Pi.single .default 1) or there exists a satisfying truth
assignment α of φ with x = y = gilboaZemelAssignmentStrategy φ.length α.
Section 2: Encoded symmetric two-player Nash decision problems and NP-hardness #
An instance of a bimatrix-game Nash payoff-threshold decision problem: an explicitly presented
two-player rational game paired with a rational utility threshold threshold.
- game : BimatrixCode
The explicitly presented two-player rational payoff matrices.
- threshold : ℚ
The rational payoff lower bound.
Instances For
Framed encBimatrix followed by binary encRat, encoding BimatrixThresholdInstance.
The tuple of the fields of encBimatrixThresholdInstance.
An instance of a bimatrix-game Nash support-size decision problem: an explicitly presented
two-player rational game paired with a binary natural support-size threshold bound.
- game : BimatrixCode
The explicitly presented two-player rational payoff matrices.
- bound : ℕ
The strict lower bound on support cardinality (
bound < support size).
Instances For
Framed encBimatrix followed by binary encNat, encoding BimatrixSupportBoundInstance.
The tuple of the fields of encBimatrixSupportBoundInstance.
An instance of a bimatrix-game Nash strategy-support decision problem: an explicitly presented
two-player rational game paired with a binary natural pure-strategy index strategy.
- game : BimatrixCode
The explicitly presented two-player rational payoff matrices.
- strategy : ℕ
Pure-strategy index of player 1 (valid when
strategy < game.rows).
Instances For
The tuple of the fields of encBimatrixStrategyIndexInstance.
Framed encBimatrix followed by binary encNat, encoding
BimatrixStrategyIndexInstance.
Second Nash equilibrium ([Pap07], Theorem 2.3, bullet 1, p. 33): well-formed
symmetric rational bimatrix codes (B = Aᵀ) admitting at least two distinct mixed Nash
equilibria.
Large-support Nash equilibrium ([Pap07], Theorem 2.3, bullet 4, p. 33):
symmetric rational bimatrix games admitting a mixed Nash equilibrium whose player-1 support
cardinality is strictly greater than bound (by IsSymmetric.isNash_comm, equivalent to player 2
or either player having support size > bound).
Nash equilibrium containing a strategy ([Pap07], Theorem 2.3, bullet 5, p. 33):
symmetric rational bimatrix games and a valid pure-strategy index strategy < game.rows played
with positive probability by player 1 in some mixed Nash equilibrium (by IsSymmetric.isNash_comm,
equivalent for player 2 or either player).
Nash equilibrium omitting a strategy ([Pap07], Theorem 2.3, bullet 6, p. 33):
symmetric rational bimatrix games and a valid pure-strategy index strategy < game.rows played
with probability 0 by player 1 in some mixed Nash equilibrium (by IsSymmetric.isNash_comm,
equivalent for player 2 or either player).
Relabeling invariance for symmetric bimatrix games #
Padded CNF and computable Conitzer–Sandholm matrix code #
Semantic equivalences for all six decision problems #
Polynomial-time computability of gilboaZemelCode #
Polynomial-time reductions and NP-hardness headlines (Theorem 2.3, p. 33) #
Polynomial-time many-one reduction SAT ≤ₚ SymGameHasTwoNash.
Deciding whether a symmetric rational two-player game has at least two distinct mixed Nash
equilibria is NP-hard ([Pap07], Theorem 2.3, bullet 1, p. 33; NP membership
remains open under #7789).
Polynomial-time many-one reduction SAT ≤ₚ SymGameHasNashPayoffGe.
Deciding whether a symmetric rational two-player game has a mixed Nash equilibrium with
player-1 payoff at least a given rational threshold is NP-hard ([Pap07],
Theorem 2.3, bullet 2, p. 33; NP membership remains open under #7789).
Polynomial-time many-one reduction SAT ≤ₚ SymGameHasNashTotalPayoffGe.
Deciding whether a symmetric rational two-player game has a mixed Nash equilibrium with
total payoff at least a given rational threshold is NP-hard ([Pap07],
Theorem 2.3, bullet 3, p. 33; NP membership remains open under #7789).
Polynomial-time many-one reduction SAT ≤ₚ SymGameHasNashSupportGt.
Deciding whether a symmetric rational two-player game has a mixed Nash equilibrium with
support size strictly greater than a given number is NP-hard ([Pap07],
Theorem 2.3, bullet 4, p. 33; NP membership remains open under #7789).
Deciding whether a symmetric rational two-player game has a mixed Nash equilibrium whose
support contains a given pure strategy is NP-hard ([Pap07], Theorem 2.3,
bullet 5, p. 33; NP membership remains open under #7789).
Polynomial-time many-one reduction SAT ≤ₚ SymGameHasNashSupportOmits.
Deciding whether a symmetric rational two-player game has a mixed Nash equilibrium whose
support omits a given pure strategy is NP-hard ([Pap07], Theorem 2.3,
bullet 6, p. 33; NP membership remains open under #7789).