GameTree.toStrategicGame
defimported Lean
The strategic-form extraction of a finite perfect-information tree.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open GameTree in variable {N U : Type*} in variable [DecidableEq N] in noncomputable def GameTree.toStrategicGame (g : GameTree N U) : EconCSLib.StrategicGame N U
- Defined in
- EconCSLib, `GameTree.toStrategicGame`
- Lean proof
- By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at
1a88f809b538(Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.GameTree.toStrategicGame← GameTree.toStrategicGame (EconCSLib/GameTheory/ExtensiveGame/GameTreeStrategicForm.lean:48): adapted
What was changed in
GameTree.toStrategicGame--- EconCSLib/GameTheory/ExtensiveGame/GameTreeStrategicForm.lean:48 (GameTree.toStrategicGame) +++ as compiled here @@ -1,3 +1,7 @@ -/-- The strategic-form extraction of a finite perfect-information tree. -/ -noncomputable def toStrategicGame (g : GameTree N U) : StrategicGame N U where +set_option autoImplicit true in +set_option relaxedAutoImplicit true in +open GameTree in +variable {N U : Type*} in +variable [DecidableEq N] in +noncomputable def GameTree.toStrategicGame (g : GameTree N U) : EconCSLib.StrategicGame N U where strategy := fun _ => PlayerStrategy N U - Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 12
- GameTree.outcome_LeafGameTree.outcome_Leaf
- GameTree.profileStrategyCombine a normal-form profile into the global
GameTree.Strategyused by the game-tree evaluator. At each node, the mover's contingent… - GameTree.outcome_NodeGameTree.outcome_Node
- GameTree.outcomeThe outcome (terminal payoff vector) of playing strategy
σstarting from game treeg. Walks down the tree, usingσto pick a child… - GameTreeA finite extensive-form game of perfect information, without chance. *
Leaf payoff— a terminal state with a payoff vectorN → U. *… - EconCSLib.StrategicGameA strategic game (normal-form game) with players
Nand utilities inU. The structure records only the bare data: strategy spaces and a… - GameTree.PlayerStrategyA single player's pure strategy in the normal form of a
GameTree: a complete contingent plan choosing a child at every possible node. - GameTree.childrenThe full child list at a
Node, as a guaranteed non-empty list. - GameTree.value_LeafGameTree.value_Leaf
- GameTree.value_NodeGameTree.value_Node
- GameTree.valueList_nilGameTree.valueList_nil
- GameTree.valueList_consGameTree.valueList_cons
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open GameTree in variable {N U : Type*} in variable [DecidableEq N] in /-- The strategic-form extraction of a finite perfect-information tree. -/ noncomputable def GameTree.toStrategicGame (g : GameTree N U) : EconCSLib.StrategicGame N U where strategy := fun _ => PlayerStrategy N U payoff σ i := outcome (profileStrategy σ) g i