ExtensiveGame.play
defimported Lean
Play the game from init for at most fuel steps. Requires a default action chooser for all states (including chance).
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {N : Type*} {U : Type*} (G : ExtensiveGame N U) in def ExtensiveGame.play (choose : (s : G.State) → G.Action s) (fuel : ℕ) : List G.State
- Defined in
- EconCSLib, `ExtensiveGame.play`
- 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.ExtensiveGame.play← ExtensiveGame.play (EconCSLib/GameTheory/ExtensiveGame/Play.lean:55): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 4
- ArenaA game arena: the pure dynamics of an extensive-form game. States, actions, and transitions are stored without players, payoffs, or…
- ControlledGameA payoff-free controlled extensive-game skeleton.
ControlledGameadds only a distinguished initial state and a mover label to the pure… - Arena.playPlay the game for at most
fuelsteps, usingchooseto pick actions. Returns the sequence of states visited. - ExtensiveGameA state-payoff extensive game: a payoff-free controlled game together with a convenient endpoint-state payoff. *
mover s= who controls…
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {N : Type*} {U : Type*} (G : ExtensiveGame N U) in /-- Play the game from `init` for at most `fuel` steps. Requires a default action chooser for all states (including chance). -/ def ExtensiveGame.play (choose : (s : G.State) → G.Action s) (fuel : ℕ) : List G.State := G.toArena.play choose G.init fuel