ExtensiveGame.isTerminal
abbrevimported Lean
A state is terminal.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {N : Type*} {U : Type*} in abbrev ExtensiveGame.isTerminal (G : ExtensiveGame N U) (s : G.State)
- Defined in
- EconCSLib, `ExtensiveGame.isTerminal`
- Lean proof
- By xbei, Lazyfill (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.isTerminal← ExtensiveGame.isTerminal (EconCSLib/GameTheory/ExtensiveGame/Basic.lean:142): 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…
- Arena.IsTerminalA state is terminal if there are no available actions.
- ControlledGameA payoff-free controlled extensive-game skeleton.
ControlledGameadds only a distinguished initial state and a mover label to the pure… - ExtensiveGameA state-payoff extensive game: a payoff-free controlled game together with a convenient endpoint-state payoff. *
mover s= who controls…
- Used by 25
- ExtensiveGame.BehaviorProfile.restrictSubgame_eq_selfExtensiveGame.BehaviorProfile.restrictSubgame_eq_self
- ExtensiveGame.BehaviorStrategy.IsCompletelyMixedA behavior strategy is completely mixed if every available action at every state controlled by the player receives positive probability.…
- ExtensiveGame.BehaviorStrategy.restrictReachableSubgameRestrict a behavior strategy to the subtype subgame consisting only of states reachable from
root. - ExtensiveGame.BehaviorStrategy.liftSubgame_eq_selfExtensiveGame.BehaviorStrategy.liftSubgame_eq_self
- ExtensiveGame.BehaviorStrategy.restrictSubgame_liftSubgameExtensiveGame.BehaviorStrategy.restrictSubgame_liftSubgame
- ExtensiveGame.StrategyA strategy for player
i: at each nonterminal state whereiis the mover, specify which action to take. The nonterminal premise is… - ExtensiveGame.BehaviorProfile.probAtThe probability that a behavior profile assigns to action
aat a state controlled by playeri. - ExtensiveGame.BehaviorStrategy.liftReachableSubgameLift a reachable-subgame behavior strategy to the original game, preserving the baseline strategy outside the reachable subgame.
- ExtensiveGame.BehaviorProfile.actionProbThe action probability induced by a behavior profile at a state. At a player-controlled state this reads the controlling player's behavior…
- ExtensiveGame.BehaviorStrategy.liftSubgameView a behavior strategy for a subgame as a behavior strategy for the original game. This is well-typed because
subgameAtkeeps the same… - ExtensiveGame.extractTerminalGameTreeTerminal states extract to one-leaf
GameTrees. - ExtensiveGame.BehaviorProfile.restrictSubgame_liftSubgameExtensiveGame.BehaviorProfile.restrictSubgame_liftSubgame
- ExtensiveGame.BehaviorProfile.actionProb_nonnegA behavior profile assigns nonnegative probability to every action.
- ExtensiveGame.BehaviorStrategyA behavior strategy for player
i: at every nonterminal state controlled byi, choose a probability distribution over the actions… - ExtensiveGame.extractTerminal_extractsThe certified terminal-state extractor satisfies the relational extraction interface.
- ExtensiveGame.extractTerminal_payoffExtensiveGame.extractTerminal_payoff
- ExtensiveGame.BehaviorProfile.restrictReachableSubgame_liftReachableSubgameExtensiveGame.BehaviorProfile.restrictReachableSubgame_liftReachableSubgame
- ExtensiveGame.ExtractsGameTree.node_head_reachableAt an extracted decision node, the head child is reached by one Arena transition and itself has an extracted subtree.
- ExtensiveGame.BehaviorStrategy.restrictSubgame_eq_selfExtensiveGame.BehaviorStrategy.restrictSubgame_eq_self
- ExtensiveGame.BehaviorStrategy.restrictReachableSubgame_liftReachableSubgameExtensiveGame.BehaviorStrategy.restrictReachableSubgame_liftReachableSubgame
- ExtensiveGame.BehaviorProfile.IsCompletelyMixed.actionProb_posAt player-controlled states, a completely mixed behavior profile gives positive probability to every available action.
- ExtensiveGame.BehaviorStrategy.restrictSubgameRestrict a behavior strategy to the subgame rooted at
root. SincesubgameAtkeeps the same state space, actions, and movers, this is… - ExtensiveGame.ExtractsGameTreeExtensiveGame.ExtractsGameTree
- ExtensiveGame.StrategyProfile.actionAtGiven a strategy profile, extract the action at a nonterminal player-controlled state. Returns
nonewhen the state is… - ExtensiveGame.ExtractsGameTree.leaf_payoffIf an Arena state extracts to a leaf, the leaf payoff is exactly the Arena payoff at that state.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {N : Type*} {U : Type*} in /-- A state is terminal. -/ abbrev ExtensiveGame.isTerminal (G : ExtensiveGame N U) (s : G.State) := G.toArena.IsTerminal s