AFTD Auto-Formalizing Theoretical Domains

ExtensiveGame

structureimported Lean

A state-payoff extensive game: a payoff-free controlled game together with a convenient endpoint-state payoff. * mover s = who controls state s (none = non-player-controlled) * payoff s i = payoff for player i at state s (meaningful at terminal states) General terminal-history, complete-path, and winning-condition semantics are separate objective layers; this field is not their authoritative definition. No isTerminal field — terminal states are detected by IsEmpty (Action s). No proof terms to carry around.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
structure ExtensiveGame (N : Type*) (U : Type*) extends ControlledGame N
Defined in
EconCSLib, `ExtensiveGame`
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 2
  • 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. ControlledGame adds only a distinguished initial state and a mover label to the pure…
Used by 89

Lean source view module on GitHub

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
/-- A state-payoff extensive game: a payoff-free controlled game together with a convenient endpoint-state payoff. * `mover s` = who controls state `s` (`none` = non-player-controlled) * `payoff s i` = payoff for player `i` at state `s` (meaningful at terminal states) General terminal-history, complete-path, and winning-condition semantics are separate objective layers; this field is not their authoritative definition. No `isTerminal` field — terminal states are detected by `IsEmpty (Action s)`. No proof terms to carry around. -/
structure ExtensiveGame (N : Type*) (U : Type*) extends ControlledGame N where
  /-- Payoff at each state for each player.
      Meaningful at terminal states; may be arbitrary elsewhere. -/
  payoff : State → N → U
See it in the graphDiscuss this resultChallenge it