ExtensiveGame.reachProbFrom
defimported Lean
Finite-fuel probability of reaching target from start under a behavior profile. The definition records the probability of hitting target within the remaining fuel. It is intentionally fuel-indexed, matching ExtensiveGame.Play, because the Arena framework also supports infinite games.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {iota U : Type*} in noncomputable def ExtensiveGame.reachProbFrom {G : ExtensiveGame iota U} [DecidableEq G.State] [(s : G.State) -> Fintype (G.Action s)] (beta : G.BehaviorProfile) (start target : G.State) : Nat -> Real
- Defined in
- EconCSLib, `ExtensiveGame.reachProbFrom`
- 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.reachProbFrom← ExtensiveGame.reachProbFrom (EconCSLib/GameTheory/ExtensiveGame/BehaviorStrategy.lean:433): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 9
- ExtensiveGame.reachableSubgameAt_action_fintypeExtensiveGame.reachableSubgameAt_action_fintype
- ArenaA game arena: the pure dynamics of an extensive-form game. States, actions, and transitions are stored without players, payoffs, or…
- ExtensiveGame.subgameAt_isEmpty_decidableExtensiveGame.subgameAt_isEmpty_decidable
- 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.subgameAt_action_fintypeExtensiveGame.subgameAt_action_fintype
- ExtensiveGame.BehaviorProfileA behavior-strategy profile: one behavior strategy for every player.
- ControlledGameA payoff-free controlled extensive-game skeleton.
ControlledGameadds only a distinguished initial state and a mover label to the pure… - ExtensiveGame.reachableSubgameAt_isEmpty_decidableExtensiveGame.reachableSubgameAt_isEmpty_decidable
- ExtensiveGameA state-payoff extensive game: a payoff-free controlled game together with a convenient endpoint-state payoff. *
mover s= who controls…
- Used by 1
- ExtensiveGame.reachProbFinite-fuel probability of reaching
targetfrom the initial state.
- ExtensiveGame.reachProbFinite-fuel probability of reaching
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in variable {iota U : Type*} in /-- Finite-fuel probability of reaching `target` from `start` under a behavior profile. The definition records the probability of hitting `target` within the remaining fuel. It is intentionally fuel-indexed, matching `ExtensiveGame.Play`, because the Arena framework also supports infinite games. -/ noncomputable def ExtensiveGame.reachProbFrom {G : ExtensiveGame iota U} [DecidableEq G.State] [(s : G.State) -> Fintype (G.Action s)] (beta : G.BehaviorProfile) (start target : G.State) : Nat -> Real | 0 => if start = target then 1 else 0 | fuel + 1 => if start = target then 1 else Finset.univ.sum fun a : G.Action start => beta.actionProb start a * reachProbFrom beta (G.next start a) target fuel