AFTD Auto-Formalizing Theoretical Domains

prioritized_borel_bounded_state_history_one_state_reduction

theoremverified

Consider a finite-state three-priority tree game. Suppose that for every tree node and current state, at most d distinct state sequences of legal finite plays reach that node and state; priority histories are not counted. If every one-state three-priority game has a winning strategy using at most b memory states, then the given game has a winning strategy using at most b times d memory states.

Statement

theorem prioritized_borel_bounded_state_history_one_state_reduction {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (d b : ℕ) (hfinite : ∀ (v : List Bool) (q : Q), Set.ncard {h : Fin (v.length + 1) → Q | h 0 = G.init_state ∧ h (Fin.last v.length) = q ∧ ∀ i : Fin v.length, ∃ e ∈ G.edges, e.source_node = v.take i.val ∧ e.source_state = h i.castSucc ∧ e.dir = v.get i ∧ e.target_state = h i.succ} ≤ d) (hone : ∀ H : PrioritizedBorelGame Unit 3, HasWinningStrategyInMem H b) : HasWinningStrategyInMem G (b * d)
Source
arXiv:2611.10136, Section 5.2.4, Proposition 27; bounded state-history ambiguity reduction
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 10
  • PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
  • HasWinningStrategyInMemThe proposition HasWinningStrategyInMem G m_bound asserts that for a prioritized Borel game G with state space Q and k priorities, there…
  • prioritized_borel_encoded_arena_wins_from_one_stateIf every one-state three-priority game has a winner using at most b memory states, then the phase-state encoded game has a winner using at…
  • prioritized_borel_bounded_history_trace_trackerIf at most d legal state histories reach each position, an index in Fin d recovers the accumulated encoded branch from the visible…
  • prioritized_borel_phase_strategy_transferGiven an index that decodes and updates the phase branch at every reached original position, a winning phase strategy with memory M…
  • 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…
  • enc1385GameGiven a finite-state three-priority tree game, construct a phase-state game that encodes each original direction followed by a one-hot…
  • PrioritizedBorelStrategyWinsA strategy wins for its player if every legal play from the initial position consistent with its memory update and choices is won by that…
  • BorelGamePlayerThe two players in a prioritized Borel game, Eve and Adam.

The proof, explained

The proof reduces winning the game G to solving an encoded arena that has only one state. Because the number of state histories reaching any node and state is bounded by d, a tracker with d states can simulate the game along branches in the tree. By hypothesis, one-state games have winning strategies with at most b memory states, which yields a winning strategy with at most b memory states in the encoded arena. Transferring this strategy back to G via the tracker produces a winning strategy whose memory space is the product of the encoded strategy's memory and the tracker's states, requiring at most b * d memory states.

  1. There exists a finite tracker with state space Fin d that tracks legal state histories and maps game transitions into encoded blocks.

    Because at most d distinct state sequences reach any given node and state (by hypothesis hfinite), prioritized_borel_bounded_history_trace_tracker produces a tracker with state space Fin d, an initial state start, an advance function, and a view function that encodes steps of G into block transitions of the encoded game.

    line 2

    uses prioritized_borel_bounded_history_trace_tracker

      obtain ⟨start,view,advance,hstart,hadv⟩ := prioritized_borel_bounded_history_trace_tracker G d hfinite
  2. Some player pl has a winning finite-memory strategy σ in the encoded arena enc1385Game G using at most b memory states.

    By hypothesis hone, every one-state three-priority game has a winning strategy using at most b memory states. By prioritized_borel_encoded_arena_wins_from_one_state, this property applies to the encoded arena enc1385Game G, yielding a winning strategy σ on a finite memory set M of cardinality at most b. We retain the finiteness instance for M.

    lines 3–4

    uses prioritized_borel_encoded_arena_wins_from_one_state

      obtain ⟨pl,M,inst,hcard,σ,hwin⟩ := prioritized_borel_encoded_arena_wins_from_one_state G b hone
      let _ := inst
  3. The winning strategy on the encoded arena transfers to a winning strategy τ for player pl in G using memory M × Fin d.

    Using prioritized_borel_phase_strategy_transfer, the winning strategy σ is transferred back to the original game G as a strategy τ. Its memory space is M × Fin d, coupling the memory of σ with the tracker state.

    line 5

    uses prioritized_borel_phase_strategy_transfer

      obtain ⟨τ,_,_,hτ⟩ := prioritized_borel_phase_strategy_transfer G pl σ start view advance hstart hadv hwin
  4. The original game G has a winning strategy using at most b * d memory states.

    The strategy τ witnesses that player pl wins G using memory M × Fin d. The cardinality of M × Fin d is |M| * d. Since |M| ≤ b, Nat.mul_le_mul_right implies |M| * d ≤ b * d, and simpa completes the goal HasWinningStrategyInMem G (b * d).

    line 6

    uses inferInstance, Nat.mul_le_mul_right

      exact ⟨pl,M × Fin d,inferInstance,by simpa using Nat.mul_le_mul_right d hcard,τ,hτ⟩
prioritized_borel_bounded_history_trace_tracker
Given a bound d on the number of legal state histories reaching any node and state, there exists a deterministic tracker with state space Fin d that traces paths and maps transitions to encoded blocks.
prioritized_borel_encoded_arena_wins_from_one_state
If every one-state 3-priority game has a winning strategy using at most b memory states, then the encoded arena enc1385Game G has a winning strategy using at most b memory states.
prioritized_borel_phase_strategy_transfer
Transfers a winning strategy from the encoded arena back to the original game by pairing its memory with the state of a history tracker.
Nat.mul_le_mul_right
Multiplying both sides of an inequality of natural numbers on the right by a constant preserves the inequality: if n ≤ m, then n * k ≤ m * k.
inferInstance
Synthesizes an instance of a typeclass from the available context.

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_bounded_state_history_one_state_reduction {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (d b : ℕ) (hfinite : ∀ (v : List Bool) (q : Q), Set.ncard {h : Fin (v.length + 1) → Q | h 0 = G.init_state ∧ h (Fin.last v.length) = q ∧ ∀ i : Fin v.length, ∃ e ∈ G.edges, e.source_node = v.take i.val ∧ e.source_state = h i.castSucc ∧ e.dir = v.get i ∧ e.target_state = h i.succ} ≤ d) (hone : ∀ H : PrioritizedBorelGame Unit 3, HasWinningStrategyInMem H b) : HasWinningStrategyInMem G (b * d) := by  obtain ⟨start,view,advance,hstart,hadv⟩ := prioritized_borel_bounded_history_trace_tracker G d hfinite  obtain ⟨pl,M,inst,hcard,σ,hwin⟩ := prioritized_borel_encoded_arena_wins_from_one_state G b hone  let _ := inst  obtain ⟨τ,_,_,hτ⟩ := prioritized_borel_phase_strategy_transfer G pl σ start view advance hstart hadv hwin  exact ⟨pl,M × Fin d,inferInstance,by simpa using Nat.mul_le_mul_right d hcard,τ,hτ⟩
See it in the graphDiscuss this resultChallenge it