Subgames, subgame-perfect equilibria, and Algorithm 3.9 for imperfect-information extensive games #
This module develops subgame perfection for general finite extensive-form games with imperfect information and chance nodes ([vS07], Section 3.8, pp. 68–69):
- A node
v : Node Tis a subgame root (Node.IsSubgameRoot v) iff every information set containing a decision node inv.subtreehas all of its decision nodes insidev.subtree([vS07], §3.8, p. 68). - A behavioral strategy profile
βis a subgame-perfect equilibrium (ExtensiveTree.IsBehaviorSPE) iffβinduces a behavioral Nash equilibrium (ExtensiveTree.IsBehaviorNash) in every subgamev.subtreerooted at a subgame rootv : Node T([vS07], §3.8, p. 68). - Replacing a subgame
v.subtreeby a terminal leaf carrying its equilibrium payoffs (ExtensiveTree.replaceSubtree v pay) produces a strictly smaller extensive game whose occurring information sets are disjoint fromv.subtree(Node.IsSubgameRoot.not_occursInfoSet_replaceSubtree), and gluing a subgame SPE with an SPE of the replaced game yields an SPE ofT(isBehaviorSPE_glueSubgameStrategy). - Algorithm 3.9 (
subgamePerfectSolve,isBehaviorSPE_subgamePerfectSolve, [vS07], §3.8, p. 68): given any behavioral Nash equilibrium solver for minimal subgames, iteratively solves a minimal proper non-leaf subgame, replaces it by a terminal leaf with its equilibrium payoffs, recurses, and glues the strategies to produce a behavioral SPE. - Selten's existence theorem (
exists_isBehaviorSPE, [vS07], §3.8 & §3.12): every finite extensive-form game with perfect recall admits a behavioral subgame-perfect equilibrium. - Perfect-information specialization (
PerfectInfoTree.toExtensiveTree_isSubgameRoot,PerfectInfoTree.isBehaviorSPE_iff_toExtensiveTree_isBehaviorSPE, [vS07], §3.8, p. 69): every node of an embeddedPerfectInfoTreeis a subgame root, andExtensiveTree.IsBehaviorSPEcoincides withPerfectInfoTree.IsBehaviorSPE.
Main definitions #
Cslib.GameTheory.Extensive.Node.subtree: subtree rooted at a nodev : Node T.Cslib.GameTheory.Extensive.Node.append: path concatenation fromv : Node Tintov.subtree.Cslib.GameTheory.Extensive.Node.IsSubgameRoot: subgame root predicate.Cslib.GameTheory.Extensive.ExtensiveTree.IsBehaviorSPE: behavioral subgame-perfect equilibrium.Cslib.GameTheory.Extensive.ExtensiveTree.replaceSubtree: replace a subtree by a terminal leaf.Cslib.GameTheory.Extensive.ExtensiveTree.treeSize: total node count of a game tree.Cslib.GameTheory.Extensive.ExtensiveTree.glueSubgameStrategy: disjoint-info-set strategy gluing.Cslib.GameTheory.Extensive.ExtensiveTree.subgamePerfectSolve: Algorithm 3.9 bottom-up solver.
Main results #
Cslib.GameTheory.Extensive.ExtensiveTree.evalBehavior_sub_replaceSubtree: exact difference formula betweenT.evalBehavior βand(T.replaceSubtree v pay).evalBehavior β.Cslib.GameTheory.Extensive.ExtensiveTree.isBehaviorNash_glueSubgameStrategy: Nash gluing across subgame replacement.Cslib.GameTheory.Extensive.ExtensiveTree.isBehaviorSPE_glueSubgameStrategy: SPE gluing across subgame replacement.Cslib.GameTheory.Extensive.ExtensiveTree.isBehaviorSPE_subgamePerfectSolve: correctness of Algorithm 3.9 ([vS07], §3.8, p. 68).Cslib.GameTheory.Extensive.ExtensiveTree.exists_isBehaviorSPE: every finite extensive-form game with perfect recall has a behavioral subgame-perfect equilibrium (Selten 1975; [vS07], §3.8).Cslib.GameTheory.Extensive.PerfectInfoTree.toExtensiveTree_isSubgameRoot,Cslib.GameTheory.Extensive.PerfectInfoTree.isBehaviorSPE_iff_toExtensiveTree_isBehaviorSPE: agreement with perfect-information subgames andPerfectInfoTree.IsBehaviorSPE.
References #
- B. von Stengel, Equilibrium Computation for Two-Player Games in Strategic and Extensive Form, Section 3.8 and Algorithm 3.9 (pp. 68–69).
The subtree of T rooted at node v.
Any subtree of a game tree with perfect recall for player i inherits perfect recall.
Node v : Node T is the root of a subgame of T ([vS07], Section 3.8, p. 68)
iff every information set containing a decision node in v.subtree has all of its decision nodes
inside v.subtree.
A behavioral strategy profile β is a subgame-perfect equilibrium (SPE) of T
([vS07], Section 3.8, p. 68) iff it induces a behavioral Nash equilibrium in every
subgame of T.
Behavioral evaluation depends only on the strategies at information sets occurring in T.
Congruence of IsBehaviorNash for valid behavior profiles agreeing on all occurring
information sets of T.
Replace the subtree rooted at node v of T by a terminal leaf with payoff vector pay
([vS07], Algorithm 3.9, p. 68).
Probability of reaching node v from the root under behavior strategy profile β.
Exact payoff difference under subtree replacement: replacing v.subtree by .leaf pay
shifts player k's expected payoff by
v.reachProbBehavior β * (v.subtree.evalBehavior β k - pay k).
Every information set occurring in T.replaceSubtree v pay also occurs in T.
Information-set disjointness under subgame replacement: if v is a subgame root of T,
no information set occurring in v.subtree occurs in T.replaceSubtree v pay.
Replacing a subtree preserves perfect recall for every player.
Glue a subgame strategy profile β_sub (used at information sets occurring in v.subtree)
with a strategy profile β_top for the replaced tree (used everywhere else).
Nash equilibrium gluing across subgame replacement ([vS07], §3.8, Algorithm 3.9):
if v is a subgame root, β_sub is a behavioral Nash equilibrium of v.subtree with payoff vector
pay := v.subtree.evalBehavior β_sub, and β_top is a behavioral Nash equilibrium of
T.replaceSubtree v pay, then T.glueSubgameStrategy v β_sub β_top is a behavioral Nash
equilibrium of T with the same expected payoff as β_top on T.replaceSubtree v pay.
SPE gluing across subgame replacement ([vS07], §3.8, Algorithm 3.9):
if v is a subgame root of T, β_sub is a behavioral SPE of v.subtree with payoff vector
pay := v.subtree.evalBehavior β_sub, and β_top is a behavioral SPE of T.replaceSubtree v pay,
then T.glueSubgameStrategy v β_sub β_top is a behavioral SPE of T.
Total number of nodes (leaves, chance nodes, and decision nodes) in T.
Algorithm 3.9 ([vS07], Section 3.8, p. 68): given any Nash equilibrium solver for minimal subgames of extensive-form games with perfect recall, bottom-up replacement of minimal subgames by their equilibrium payoffs produces a behavioral subgame-perfect equilibrium.
Correctness of Algorithm 3.9 ([vS07], Section 3.8, p. 68): subgamePerfectSolve
always returns a behavioral subgame-perfect equilibrium of T.
Selten's theorem on existence of subgame-perfect equilibria (Selten 1975; [vS07], Section 3.8, Algorithm 3.9, pp. 68–69): every finite extensive-form game with perfect recall admits a behavioral subgame-perfect equilibrium.
Every node of an embedded perfect-information tree is the root of a subgame ([vS07], Section 3.8, p. 69).
General ExtensiveTree.IsBehaviorSPE coincides with PerfectInfoTree.IsBehaviorSPE on every
embedded two-player finite perfect-information game tree.