Perturbed best-response polytopes, integer bases, and exact rational Nash recovery #
This module supplies the quantitative and polyhedral infrastructure turning arbitrary rational bimatrix games into nondegenerate integer-matrix Lemke–Howson instances whose nonzero completely labelled vertices yield exact rational Nash equilibria.
Following [vonStengel2007, Section 3.6], for positive integer payoff matrices
A B : Matrix (Fin m) (Fin n) ℤ with entries in [1, H], we perturb the right-hand sides of
the scaled best-response polytopes P_ε = {x ≥ 0 | Bᵀ x ≤ K^n + K^(n-1-j)} and
Q_ε = {y ≥ 0 | A y ≤ K^m + K^(m-1-i)} with K = 2 ^ bitBound m n H.
Main definitions #
Cslib.GameTheory.BimatrixGame.bitBound: explicit polynomial bit boundEsuch thatK = 2 ^ Emakes(P_ε, Q_ε)nondegenerate and supports exact unperturbed Nash extraction.Cslib.GameTheory.BimatrixGame.intMatP,Cslib.GameTheory.BimatrixGame.intMatQ,Cslib.GameTheory.BimatrixGame.pertRhsPInt,Cslib.GameTheory.BimatrixGame.pertRhsQInt: integral constraint matrices and perturbed right-hand sides.Cslib.GameTheory.BimatrixGame.IsFeasibleBasis: pure integer Cramer feasibility predicate fork-element tight bases.Cslib.GameTheory.BimatrixGame.cramerVec,Cslib.GameTheory.BimatrixGame.basisSignNum: signed Cramer numerator vector for an integer basis system.
Main results #
Cslib.GameTheory.BimatrixGame.isNash_smul: positive scaling invariance ofIsNash.Cslib.GameTheory.BimatrixGame.isNondegenerateSystem_pertP,Cslib.GameTheory.BimatrixGame.isNondegenerateSystem_pertQ: nondegeneracy of(P_ε, Q_ε)over every ordered field (ℚ,ℝ) wheneverkernelVecBoundis belowK.Cslib.GameTheory.BimatrixGame.isFeasibleBasis_iff_ratBasisSol_le,Cslib.GameTheory.BimatrixGame.isVertex_ratBasisSol_of_isFeasibleBasis,Cslib.GameTheory.BimatrixGame.exists_isFeasibleBasis_of_isVertex: equivalence between integer feasible bases and vertices of(P_ε, Q_ε).Cslib.GameTheory.BimatrixGame.isNash_extractNum: any nonzero completely labelled basis pair of(P_ε, Q_ε)extracts an exact rational Nash equilibrium of⟨A, B⟩.
References #
Positive scalar multiplication of both payoff matrices preserves IsNash.
Explicit polynomial exponent E so that 2 ^ E suffices for both nondegeneracy and exact
unperturbed Nash extraction on positive integer m × n games bounded by H.
Swapping Sum.inl and Sum.inr turns pertRhsQInt m n K into pertRhsPInt n m K.
Boundedness (zero recession cone) of intMatP B over any ordered field K when 1 ≤ B.
Boundedness (zero recession cone) of intMatQ A over any ordered field K when 1 ≤ A.
0 is a vertex of P_ε with tight rows Finset.univ.image Sum.inl when 0 < K_B.
0 is a vertex of Q_ε with tight rows Finset.univ.image Sum.inr when 0 < K_B.
(0, 0) is a completely labelled vertex pair of (P_ε, Q_ε).
Nondegeneracy of P_ε. Over any ordered field K, if kernelVecBound m H * (n + 1) < K_B,
then intMatP B *ᵥ x ≤ pertRhsPInt m n K_B is nondegenerate.
Nondegeneracy of Q_ε derived from isNondegenerateSystem_pertP via row transposition.
Core Cramer rounding theorem: if the perturbed rhs b_pert satisfies
0 ≤ b_pert - K_B^p * b_unpert ≤ K_B^(p-1) (p ≥ 1) with
K_B > (k! * H^k) * (1 + k * k! * H^(k+1)),
then any feasible basis T for (M_int, b_pert) gives an exact feasible solution
basisSignNum M_int b_unpert T hT for the unperturbed integer system (M_int, b_unpert) with
all rows in T still tight.
Exact Nash equilibrium extraction from any nonzero completely labelled basis pair (T₁, T₂)
of (P_ε, Q_ε) with K_B = 2 ^ bitBound m n H.
Entry upper bound H for both clearDenomPosA A B and clearDenomPosB A B.