Exact rectangular-union TreeNash (ExactTreeNash) #
This module formalizes the geometric representation and exact dynamic-programming algorithm
ExactTreeNash for binary-action tree graphical games from [Kea07], §7.3.2 and
Theorem 7.6 (p. 168).
Rectangular representation of TreeNash tables #
In a binary-action graphical game M : GraphicalGame ι (fun _ => Bool) whose interaction graph
M.graph is a tree (hT : M.graph.IsTree) rooted at r : ι, parameterize each player's binary
mixed strategy by p ∈ [0, 1] via boolMixed p : Bool → ℝ (boolMixed p false = p,
boolMixed p true = 1 - p, matching [Kea07], §7.2, p. 162).
For each non-root vertex v ≠ r, the exact downstream table treePassTable of [Kea07], §7.3
is proved equal to a finite union of nonempty axis-aligned closed rectangles
[wLo, wHi] × [vLo, vHi] ⊆ [0, 1]² (UnitClosedRect), computed bottom-up by
exactTreeNashTable:
- Multiaffine box principle (
IsMultiaffine): playerv's payoff differencebinaryPayoffDiff M v q = localDeviationPayoff v false q - localDeviationPayoff v true qis affine in each neighbor's probability separately. On any hypercube box∏_c [lo c, hi c], its extrema are attained at the2 ^ kcorners, and whenever two corners have opposite signs, walking along hypercube edges (edgeWalkZero) locates an exact zero by single-variable linear interpolation. - Uniform
≤ 8branching factor: for each tuple of upstream rectangles, thew-projections of∃ u ∈ B, Δ_v(w, u) ≥ 0and∃ u ∈ B, Δ_v(w, u) ≤ 0are each unions of at most2closed subintervals of[0, 1], and their intersection has at most4subintervals, contributing at most2 + 2 + 4 = 8axis-aligned rectangles regardless of the number of upstream neighbors. Induction on subtree size yields(exactTreeNashTable M hT r v).length ≤ 8 ^ subtreeCard hT r v ≤ 8 ^ Fintype.card ι. - Exact upstream witness extraction and rationality: given the finite downstream rectangle
tables, the upstream pass (
exactTreeNash) extracts an exact mixed Nash equilibrium via finite list search andedgeWalkZero. When all local payoffs are rational, every rectangle endpoint and every equilibrium coordinate ofexactTreeNashis rational (exactTreeNash_rational).
Machine-model (Word-RAM / Turing-machine) exponential running-time bounds for Theorem 7.6 remain
separate under #7789; this module establishes the exact rectangular-union representation,
exponential rectangle-count bound ≤ 8 ^ n, exact equilibrium computation, completeness over all
mixed Nash equilibria, and rationality over rational payoffs.
Main definitions #
Cslib.GameTheory.boolMixed: binary mixed strategy withfalse ↦ p,true ↦ 1 - p.Cslib.GameTheory.UnitClosedInterval,Cslib.GameTheory.UnitClosedRect: nonempty closed subintervals of[0, 1]and axis-aligned closed rectangles in[0, 1]².Cslib.GameTheory.GraphicalGame.exactTreeNashTable,Cslib.GameTheory.GraphicalGame.exactTreeNashRootTable: bottom-up rectangular-union tables ofExactTreeNash([Kea07], §7.3.2, p. 168).Cslib.GameTheory.GraphicalGame.exactTreeNash: exact mixed Nash equilibrium computed by the two-pass rectangularExactTreeNashalgorithm.
Main results #
Cslib.GameTheory.GraphicalGame.mem_exactTreeNashTable_iff_treePassTable,Cslib.GameTheory.GraphicalGame.mem_exactTreeNashRootTable_iff_rootPassTable: the finite rectangular tables exactly coincide with the continuousTreeNashtables of [Kea07], §7.3.Cslib.GameTheory.GraphicalGame.exactTreeNashTable_length_le,Cslib.GameTheory.GraphicalGame.exactTreeNashRootTable_length_le: exponential upper bound≤ 8 ^ Fintype.card ιon the number of rectangles in every table.Cslib.GameTheory.GraphicalGame.exactTreeNash_isMixedNash,Cslib.GameTheory.GraphicalGame.isMixedNash_iff_exactTreeNash: exact Nash soundness and representation of all mixed Nash equilibria (equilibrium and representation claims of [Kea07], Theorem 7.6, p. 168).Cslib.GameTheory.GraphicalGame.exactTreeNash_rational: every binary tree graphical game with rational payoffs admits a rational exact mixed Nash equilibrium computed byexactTreeNash.
References #
Binary mixed strategy parameterization #
Closed intervals and axis-aligned rectangles in [0, 1] #
A nonempty closed subinterval [lo, hi] ⊆ [0, 1] ([Kea07], §7.3.2, p. 168).
Membership in a closed subinterval [lo, hi].
The full unit interval [0, 1].
A singleton closed interval [p, p] for p ∈ [0, 1].
Closed intersection of two unit intervals, or none if disjoint.
A nonempty axis-aligned closed rectangle [wLo, wHi] × [vLo, vHi] ⊆ [0, 1]²
([Kea07], §7.3.2, p. 168).
- wInt : UnitClosedInterval
Interval for the downstream neighbor's probability
w ∈ [0, 1]. - vInt : UnitClosedInterval
Interval for the vertex's probability
v ∈ [0, 1].
Membership of (w, v) in an axis-aligned rectangle.
Multiaffine functions on hypercube boxes and edge-walk zero extraction #
Finite unions of affine half-lines on [0, 1] (at most 2 intervals) #
Binary graphical-game payoff difference and exact rectangular TreeNash #
Downstream rectangular table of ExactTreeNash ([Kea07], §7.3.2, p. 168):
recursively computes a finite list of axis-aligned closed rectangles in [0, 1]² representing the
exact TreeNash table T(w, v) passed from non-root vertex v ≠ r to hT.parent r v.
Exactness of exactTreeNashTable ([Kea07], §7.3.2, p. 168): the finite union of
rectangles in exactTreeNashTable M hT r v coincides with the continuous TreeNash downstream
table treePassTable for exact mixed Nash equilibria.
Number of vertices in the upstream subtree UP_G(v) = hT.treeSide v (hT.parent r v) for
v ≠ r.
Exponential rectangle-count bound for ExactTreeNash ([Kea07], §7.3.2, p. 168):
the downstream rectangular table at v ≠ r contains at most 8 ^ subtreeCard hT r v rectangles
(and hence at most 8 ^ Fintype.card ι rectangles).
Global exponential bound (exactTreeNashTable M hT r v).length ≤ 8 ^ Fintype.card ι.
Root interval table of ExactTreeNash #
Root interval table of ExactTreeNash ([Kea07], §7.3.2, p. 168):
computes a finite list of closed subintervals of [0, 1] whose union equals the set of all exact
mixed Nash equilibrium probabilities for the root r.
Exactness of exactTreeNashRootTable ([Kea07], §7.3.2, p. 168): the finite union of
closed intervals in exactTreeNashRootTable M hT r coincides with rootPassTable.
Exponential upper bound on the number of closed intervals in exactTreeNashRootTable:
at most 3 * 8 ^ (Fintype.card ι - 1) ≤ 8 ^ Fintype.card ι.
Nonemptiness of exactTreeNashRootTable (guaranteed by Nash's existence theorem).
Constructive upstream witness extraction and rationality #
Exact mixed strategy profile computed by ExactTreeNash
([Kea07], §7.3.2 & Theorem 7.6, p. 168).
Soundness of ExactTreeNash ([Kea07], Theorem 7.6, p. 168): exactTreeNash computes
an exact mixed Nash equilibrium of any finite binary tree graphical game.
Completeness and exact representation of all Nash equilibria ([Kea07], Theorem 7.6,
p. 168): a binary mixed strategy profile p is an exact mixed Nash equilibrium of M.toCostGame
if and only if p r false lies in exactTreeNashRootTable, every edge (hT.parent r v, v) lies
in exactTreeNashTable, and every vertex plays a local best response to its neighbors.
Exact rationality over rational payoff matrices #
Rationality of ExactTreeNash over rational payoffs: if every local payoff of a finite
binary tree graphical game M is rational, then every strategy coordinate of M.exactTreeNash
is rational (yielding a rational exact mixed Nash equilibrium).