AFTD Auto-Formalizing Theoretical Domains

prioritized_borel_encoding_controlled_choices_legal

theoremverified

At a controlled original position, every strategy choice within one encoded block is a legal phase-game edge from the selected phase-game position.

Statement

theorem prioritized_borel_encoding_controlled_choices_legal {Q M : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3)
    (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy (enc1385Game G) pl M)
    (m : M) (node v : List Bool) (q : Q) (hown : G.owner (v,q) = pl) :
    ∀ i < Fintype.card Q + 1,
      let st := enc1385Follow G pl σ m node ⟨v,q,[]⟩ i
      let e := σ.choice st.1 st.2.1 st.2.2
      e ∈ (enc1385Game G).edges ∧ e.source_node = st.2.1 ∧ e.source_state = st.2.2
Source
Controlled block simulation for arXiv:2611.10136, Conjecture 19.
Verified
17 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 7
  • enc1385GameGiven a finite-state three-priority tree game, construct a phase-state game that encodes each original direction followed by a one-hot…
  • enc1385FollowStarting with a phase-game memory and position, follow a fixed strategy for a specified number of phase steps, returning the resulting…
  • FiniteMemoryStrategyA structure FiniteMemoryStrategy {Q : Type*} {k : ℕ} (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (M : Type*) representing a…
  • prioritized_borel_encoding_follow_proper_prefixAt an original position controlled by the given player, after any number of phase-game strategy steps up to the number of states, the…
  • TreeGameEdgeA structure TreeGameEdge (Q : Type*) (k : ℕ) representing an edge in a binary tree game arena with state space Q and k priorities, with…
  • BorelGamePlayerThe two players in a prioritized Borel game, Eve and Adam.
  • PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
Used by 2

The proof, explained

To show that every choice made by strategy σ within a block is a legal edge in the encoded game, it suffices by strategy validity (choice_edge) to show that player pl owns the current encoded position. Since the step index satisfies i < |Q| + 1, we have i ≤ |Q|, meaning the simulation remains within the first encoding block. A prefix lemma (prioritized_borel_encoding_follow_proper_prefix) guarantees that the encoded state retains the original node and state (v, q). Because ownership in the encoded game is determined by this original position, which is owned by pl by hypothesis, the encoded position is also owned by pl, ensuring that σ's choice is legal.

  1. For any step index i < |Q| + 1 in the block, we have i ≤ |Q|.

    We introduce the step index i and the assumption i < |Q| + 1. By linear integer arithmetic, this implies i ≤ |Q|, ensuring that the step falls within the length of a single block.

    lines 8–9

      intro i hi
      have hi' : i ≤ Fintype.card Q := by omega
  2. At step i, the encoded state component of the simulation state st retains original node v and original state q.

    Because i ≤ |Q|, the prefix lemma prioritized_borel_encoding_follow_proper_prefix applies, showing that after i steps following strategy σ, the encoded game state is ⟨v, q, bits⟩ for some bit sequence bits. We abbreviate the overall state at step i as st.

    lines 10–12

    uses prioritized_borel_encoding_follow_proper_prefix

      obtain ⟨bits, _, _, hstate, _⟩ :=
        prioritized_borel_encoding_follow_proper_prefix G pl σ m node v q hown i hi'
      let st := enc1385Follow G pl σ m node ⟨v,q,[]⟩ i
  3. The encoded position (st.2.1, st.2.2) is owned by player pl in the encoded game.

    By definition of enc1385Game, ownership of an encoded position is determined by the original position stored in its state, G.owner (st.2.2.origNode, st.2.2.origState). Since the original node is v and the original state is q, this evaluates to G.owner (v, q), which equals pl by the assumption hown.

    lines 13–15

      have ho : (enc1385Game G).owner (st.2.1,st.2.2) = pl := by
        change G.owner (st.2.2.origNode,st.2.2.origState) = pl
        simpa [st, hstate] using hown
  4. The edge chosen by strategy σ at step i is a valid outgoing edge in the encoded game from (st.2.1, st.2.2).

    Since player pl owns the encoded position (st.2.1, st.2.2), the strategy legality axiom σ.choice_edge guarantees that the chosen edge belongs to the encoded game and originates from that node and state.

    line 16

    uses σ.choice_edge

      exact σ.choice_edge st.1 st.2.1 st.2.2 ho
prioritized_borel_encoding_follow_proper_prefix
During the first |Q| steps of following a strategy from an original position (v, q) owned by pl, the encoded game state has original node v, original state q, and a pending bit sequence that forms a prefix of an encoding of some valid original edge.
σ.choice_edge
A strategy for player pl must select an outgoing edge of the game originating from the current node and state whenever the current position is owned by pl.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

theorem prioritized_borel_encoding_controlled_choices_legal {Q M : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3)    (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy (enc1385Game G) pl M)    (m : M) (node v : List Bool) (q : Q) (hown : G.owner (v,q) = pl) :    ∀ i < Fintype.card Q + 1,      let st := enc1385Follow G pl σ m node ⟨v,q,[]⟩ i      let e := σ.choice st.1 st.2.1 st.2.2      e ∈ (enc1385Game G).edges ∧ e.source_node = st.2.1 ∧ e.source_state = st.2.2 := by  intro i hi  have hi' : i ≤ Fintype.card Q := by omega  obtain ⟨bits, _, _, hstate, _⟩ :=    prioritized_borel_encoding_follow_proper_prefix G pl σ m node v q hown i hi'  let st := enc1385Follow G pl σ m node ⟨v,q,[]⟩ i  have ho : (enc1385Game G).owner (st.2.1,st.2.2) = pl := by    change G.owner (st.2.2.origNode,st.2.2.origState) = pl    simpa [st, hstate] using hown  exact σ.choice_edge st.1 st.2.1 st.2.2 ho
See it in the graphDiscuss this resultChallenge it