Documentation

CslibFrontier.GameTheory.Bimatrix.NashHardness

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

  1. at least two distinct mixed Nash equilibria (BimatrixCode.SymGameHasTwoNash),
  2. a mixed Nash equilibrium in which player 1 receives payoff at least u (BimatrixCode.SymGameHasNashPayoffGe),
  3. a mixed Nash equilibrium in which the two players receive total payoff at least u (BimatrixCode.SymGameHasNashTotalPayoffGe),
  4. a mixed Nash equilibrium whose support has size strictly greater than k (BimatrixCode.SymGameHasNashSupportGt),
  5. a mixed Nash equilibrium whose support contains a given pure strategy s (BimatrixCode.SymGameHasNashSupportContains), or
  6. 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:

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 #

Main results #

References #

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).

Instances For
    @[instance_reducible]

    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.

    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.

    • The explicitly presented two-player rational payoff matrices.

    • threshold : ℚ

      The rational payoff lower bound.

    Instances For
      theorem Cslib.GameTheory.encBimatrixThresholdInstance_game_budget {γ✝ : Type} {encIn✝ : γ✝ ↪ List Bool} {S✝ : γ✝ → ℕ} {g✝ : γ✝ → BimatrixThresholdInstance} :
      theorem Cslib.GameTheory.encBimatrixThresholdInstance_mk_budget {γ : Type} {encIn : γ ↪ List Bool} {budget : γ → ℕ} {x0 : γ → BimatrixCode} {x1 : γ → ℚ} (h0 : Turing.MultiTapeTM.ComputableInSpace x0 encIn encBimatrix budget) (h1 : Turing.MultiTapeTM.ComputableInSpace x1 encIn Turing.MultiTapeTM.encRat budget) :
      Turing.MultiTapeTM.ComputableInSpace (fun (x : γ) => { game := x0 x, threshold := x1 x }) encIn encBimatrixThresholdInstance budget
      theorem Cslib.GameTheory.encBimatrixThresholdInstance_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → BimatrixCode} {T0 S0 : γ → ℕ} {x1 : γ → ℚ} {T1 S1 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn encBimatrix T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn Turing.MultiTapeTM.encRat T1 S1) :
      Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { game := x0 x, threshold := x1 x }) encIn encBimatrixThresholdInstance (fun (x : γ) => T0 x + T1 x) fun (x : γ) => S0 x + S1 x

      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.

      • The explicitly presented two-player rational payoff matrices.

      • bound : ℕ

        The strict lower bound on support cardinality (bound < support size).

      Instances For
        theorem Cslib.GameTheory.encBimatrixSupportBoundInstance_game_budget {γ✝ : Type} {encIn✝ : γ✝ ↪ List Bool} {S✝ : γ✝ → ℕ} {g✝ : γ✝ → BimatrixSupportBoundInstance} :
        theorem Cslib.GameTheory.encBimatrixSupportBoundInstance_mk_budget {γ : Type} {encIn : γ ↪ List Bool} {budget : γ → ℕ} {x0 : γ → BimatrixCode} {x1 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInSpace x0 encIn encBimatrix budget) (h1 : Turing.MultiTapeTM.ComputableInSpace x1 encIn Turing.MultiTapeTM.encNat budget) :
        Turing.MultiTapeTM.ComputableInSpace (fun (x : γ) => { game := x0 x, bound := x1 x }) encIn encBimatrixSupportBoundInstance budget
        theorem Cslib.GameTheory.encBimatrixSupportBoundInstance_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → BimatrixCode} {T0 S0 x1 T1 S1 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn encBimatrix T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn Turing.MultiTapeTM.encNat T1 S1) :
        Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { game := x0 x, bound := x1 x }) encIn encBimatrixSupportBoundInstance (fun (x : γ) => T0 x + T1 x) fun (x : γ) => S0 x + S1 x

        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.

        • The explicitly presented two-player rational payoff matrices.

        • strategy : ℕ

          Pure-strategy index of player 1 (valid when strategy < game.rows).

        Instances For
          theorem Cslib.GameTheory.encBimatrixStrategyIndexInstance_mk_budget {γ : Type} {encIn : γ ↪ List Bool} {budget : γ → ℕ} {x0 : γ → BimatrixCode} {x1 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInSpace x0 encIn encBimatrix budget) (h1 : Turing.MultiTapeTM.ComputableInSpace x1 encIn Turing.MultiTapeTM.encNat budget) :
          Turing.MultiTapeTM.ComputableInSpace (fun (x : γ) => { game := x0 x, strategy := x1 x }) encIn encBimatrixStrategyIndexInstance budget
          theorem Cslib.GameTheory.encBimatrixStrategyIndexInstance_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → BimatrixCode} {T0 S0 x1 T1 S1 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn encBimatrix T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn Turing.MultiTapeTM.encNat T1 S1) :
          Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { game := x0 x, strategy := x1 x }) encIn encBimatrixStrategyIndexInstance (fun (x : γ) => T0 x + T1 x) fun (x : γ) => S0 x + S1 x

          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.

          Player-1 Nash payoff lower bound ([Pap07], Theorem 2.3, bullet 2, p. 33): symmetric rational bimatrix games admitting a mixed Nash equilibrium in which player 1 receives expected payoff at least threshold.

          Total Nash payoff lower bound ([Pap07], Theorem 2.3, bullet 3, p. 33): symmetric rational bimatrix games admitting a mixed Nash equilibrium in which the sum of both players' expected payoffs is at least threshold.

          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) #

          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).

          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).

          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).

          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).

          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).