AFTD Auto-Formalizing Theoretical Domains

enc1385ExpandedPlay

def

Expand an arbitrary sequence of original edges into phase-game edges by indexing its fixed-length direction-and-state blocks. This definition alone does not assert that the expanded sequence is a legal play.

Statement

noncomputable def enc1385ExpandedPlay {Q : Type} [Fintype Q]
    (G : PrioritizedBorelGame Q 3) (π : ℕ → TreeGameEdge Q 3) (n : ℕ) :
    TreeGameEdge (Enc1385State Q) 3
Source
Infinite-sequence encoding for arXiv:2611.10136, Conjecture 19.
Verified
17 Nov 2026
Axioms
none listed
Built on 3
  • enc1385GameGiven a finite-state three-priority tree game, construct a phase-state game that encodes each original direction followed by a one-hot…
  • 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…
Used by 7

Lean source view module on GitHub

noncomputable def enc1385ExpandedPlay {Q : Type} [Fintype Q]
    (G : PrioritizedBorelGame Q 3) (π : ℕ → TreeGameEdge Q 3) (n : ℕ) :
    TreeGameEdge (Enc1385State Q) 3 :=
  let L := Fintype.card Q + 1
  let e := π (n / L)
  let i := n % L
  let bit := (enc1385Block e).getD i false
  let prio := if i = Fintype.card Q then e.prio else 0
  let node := List.ofFn (fun j : Fin n =>
    (enc1385Block (π (j.val / L))).getD (j.val % L) false)
  let phase : Enc1385State Q := ⟨e.source_node,e.source_state,(enc1385Block e).take i⟩
  ⟨node, phase, bit, prio, enc1385Step G phase bit⟩
See it in the graphDiscuss this resultChallenge it