AFTD Auto-Formalizing Theoretical Domains

enc1385Replay

def

Replay the bit-and-priority block of an original edge from a phase-game node, state, and strategy memory, returning the resulting memory, node, and phase state.

Statement

noncomputable def enc1385Replay {Q M : Type} [Fintype Q]
    (G : PrioritizedBorelGame Q 3) (pl : BorelGamePlayer)
    (σ : FiniteMemoryStrategy (enc1385Game G) pl M)
    (m : M) (node : List Bool) (s : Enc1385State Q) (e : TreeGameEdge Q 3) :
    M × List Bool × Enc1385State Q
Source
Block replay for arXiv:2611.10136, Conjecture 19.
Verified
17 Nov 2026
Axioms
none listed
Built on 6
  • enc1385GameGiven a finite-state three-priority tree game, construct a phase-state game that encodes each original direction followed by a one-hot…
  • enc1385BlockMovesThe phase-game actions for one original edge, with the original priority on the final bit and priority zero on preceding bits.
  • FiniteMemoryStrategyA structure FiniteMemoryStrategy {Q : Type*} {k : ℕ} (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (M : Type*) representing a…
  • TreeGameEdgeA structure TreeGameEdge (Q : Type*) (k : ℕ) representing an edge in a binary tree game arena with state space Q and k priorities, with…
  • PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
  • BorelGamePlayerThe two players in a prioritized Borel game, Eve and Adam.
Used by 5

Lean source view module on GitHub

noncomputable def enc1385ReplayStep {Q M : Type} [Fintype Q]
    (G : PrioritizedBorelGame Q 3) (pl : BorelGamePlayer)
    (σ : FiniteMemoryStrategy (enc1385Game G) pl M)
    (st : M × List Bool × Enc1385State Q) (a : Bool × Fin 3) :
    M × List Bool × Enc1385State Q :=
  let e : TreeGameEdge (Enc1385State Q) 3 :=
    ⟨st.2.1, st.2.2, a.1, a.2, enc1385Step G st.2.2 a.1⟩
  (σ.update st.1 e, st.2.1 ++ [a.1], e.target_state)

noncomputable def enc1385Replay {Q M : Type} [Fintype Q]
    (G : PrioritizedBorelGame Q 3) (pl : BorelGamePlayer)
    (σ : FiniteMemoryStrategy (enc1385Game G) pl M)
    (m : M) (node : List Bool) (s : Enc1385State Q) (e : TreeGameEdge Q 3) :
    M × List Bool × Enc1385State Q :=
  (enc1385BlockMoves e).foldl (enc1385ReplayStep G pl σ) (m, node, s)
See it in the graphDiscuss this resultChallenge it