AFTD Auto-Formalizing Theoretical Domains

ExtensiveGame.BehaviorProfile.actionProb

defimported Lean

The action probability induced by a behavior profile at a state. At a player-controlled state this reads the controlling player's behavior strategy. At a chance state it returns 0; this placeholder is compatible with the NoChance layer and can be replaced by explicit chance probabilities in a later stochastic layer.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {iota U : Type*} in
def ExtensiveGame.BehaviorProfile.actionProb {G : ExtensiveGame iota U} [(s : G.State) -> Fintype (G.Action s)]
    (beta : G.BehaviorProfile) (s : G.State) (a : G.Action s) : Real
Defined in
EconCSLib, `ExtensiveGame.BehaviorProfile.actionProb`
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.
Verified
08 Oct 2026
Axioms
none listed
Built on 9
Used by 5

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
variable {iota U : Type*} in
/-- The action probability induced by a behavior profile at a state. At a player-controlled state this reads the controlling player's behavior strategy. At a chance state it returns `0`; this placeholder is compatible with the `NoChance` layer and can be replaced by explicit chance probabilities in a later stochastic layer. -/
def ExtensiveGame.BehaviorProfile.actionProb {G : ExtensiveGame iota U} [(s : G.State) -> Fintype (G.Action s)]
    (beta : G.BehaviorProfile) (s : G.State) (a : G.Action s) : Real :=
  match h : G.mover s with
  | some i =>
      (beta i s h (fun hterminal => hterminal.false a)).val a
  | none => 0
See it in the graphDiscuss this resultChallenge it