AFTD Auto-Formalizing Theoretical Domains

prioritized_borel_eventually_unambiguous_segments_reduction

theoremverified

Mark edges so that every legal play uses only finitely many marked edges and any unmarked segment has its encoded trace determined by its starting and ending positions. Then every universal one-state memory bound b for three priorities is also a bound for this game.

Statement

theorem prioritized_borel_eventually_unambiguous_segments_reduction {Q : Type} [Fintype Q]
    (G : PrioritizedBorelGame Q 3) (cut : TreeGameEdge Q 3 → Prop)
    (huniq : ∀ u p v q a b, Op1385SegmentTrace G cut u p v q a →
      Op1385SegmentTrace G cut u p v q b → a = b)
    (hfin : ∀ π : ℕ → TreeGameEdge Q 3, (∀ n, π n ∈ G.edges) →
      (π 0).source_node = [] ∧ (π 0).source_state = G.init_state →
      (∀ n, (π (n+1)).source_node = (π n).source_node ++ [(π n).dir] ∧
        (π (n+1)).source_state = (π n).target_state) →
      ∃ N, ∀ n ≥ N, ¬cut (π n))
    (b : ℕ) (hone : ∀ H : PrioritizedBorelGame Unit 3, HasWinningStrategyInMem H b) :
    HasWinningStrategyInMem G b
Source
arXiv:2611.10136, Conjecture 19 and Proposition 27. Strategy compression for OP-1385.
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 12
  • prioritized_borel_segment_trace_trackerIf the endpoints of an unmarked segment determine its encoded trace, a memory component storing the last marked boundary and prefix…
  • prioritized_borel_eventually_constant_memory_componentA winning strategy on product memory can discard its second component when along every legal play all sufficiently late edges fix that…
  • 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_phase_strategy_transferGiven an index that decodes and updates the phase branch at every reached original position, a winning phase strategy with memory M…
  • TreeGameEdgeA structure TreeGameEdge (Q : Type*) (k : ℕ) representing an edge in a binary tree game arena with state space Q and k priorities, with…
  • Op1385SegmentTraceEncoded public bits of a finite original segment starting at a specified position and traversing only legal, unmarked edges.
  • 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…
  • enc1385GameGiven a finite-state three-priority tree game, construct a phase-state game that encodes each original direction followed by a one-hot…
  • FiniteMemoryStrategyA structure FiniteMemoryStrategy {Q : Type*} {k : ℕ} (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (M : Type*) representing a…
  • 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.
  • HasWinningStrategyInMemThe proposition HasWinningStrategyInMem G m_bound asserts that for a prioritized Borel game G with state space Q and k priorities, there…
Used by 1

The proof, explained

The proof reduces winning the 3-priority Borel game G to winning its encoded arena enc1385Game G, which by the one-state assumption admits a winning strategy with memory M of size at most b. Using the uniqueness of unmarked segment traces, a tracker with state space I is constructed that remains constant on unmarked edges, and the strategy is transferred to G with product memory M × I. Since every legal play traverses only finitely many marked edges, the tracker update eventually becomes the identity, allowing the auxiliary state I to be eliminated and leaving a winning strategy on G with memory bounded by b.

  1. There exists an auxiliary tracker state space I with initial state start and transition map advance that tracks segment traces and remains constant on unmarked edges.

    Because unmarked segment traces are uniquely determined by their starting and ending positions (hypothesis huniq), prioritized_borel_segment_trace_tracker provides an auxiliary tracker type I, an initial state start, a readout function view, and a transition advance that correctly tracks encoded edge blocks and satisfies advance i e = i whenever cut e does not hold.

    line 12

    uses prioritized_borel_segment_trace_tracker

      obtain ⟨I,start,view,advance,hroot,hadv,hfixed⟩ := prioritized_borel_segment_trace_tracker G cut huniq
  2. The encoded arena enc1385Game G has a winning strategy for some player using a finite memory M of size at most b.

    Applying prioritized_borel_encoded_arena_wins_from_one_state to the universal one-state bound hone, we obtain a player pl, a finite memory type M with |M| ≤ b, and a winning strategy σ for pl in the encoded arena enc1385Game G.

    line 13

    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
  3. The winning strategy σ transfers to a winning strategy τ on G with product memory M × I, whose second component updates via advance.

    By prioritized_borel_phase_strategy_transfer, the winning strategy σ on the encoded game is lifted to a strategy τ on G that tracks the arena phases using the auxiliary memory I. Strategy τ is winning for pl, and its second memory component updates according to advance.

    line 14

    uses prioritized_borel_phase_strategy_transfer

      obtain ⟨τ,_,hupdate,hτ⟩ := prioritized_borel_phase_strategy_transfer G pl σ start view advance hroot hadv hwin
  4. The auxiliary memory component I can be eliminated, yielding a winning strategy τ' for pl on G with memory M alone.

    To drop the auxiliary memory I via prioritized_borel_eventually_constant_memory_component, we show that along any legal play π, the memory update on I is eventually constant. By hypothesis hfin, π crosses only finitely many marked edges, so there is some index N such that ¬cut (π n) for all n ≥ N. For all such edges, advance i (π n) = i, meaning the update on the I component stabilizes to the identity. Hence, the auxiliary component I can be removed without affecting the winning property.

    lines 15–18

    uses prioritized_borel_eventually_constant_memory_component

      obtain ⟨τ',hw'⟩ := prioritized_borel_eventually_constant_memory_component G pl τ hτ (by
        intro π hl hi hn
        obtain ⟨N,hN⟩ := hfin π hl hi hn
        exact ⟨N,fun n h m i => (hupdate (m,i) (π n)).trans (hfixed i (π n) (hN n h))⟩)
  5. Game G has a winning strategy using at most b memory states.

    We assemble the winning player pl, the memory type M with |M| ≤ b, and the winning strategy τ' to satisfy the existential definition HasWinningStrategyInMem G b.

    line 19

      exact ⟨pl,M,inst,hcard,τ',hw'⟩
prioritized_borel_segment_trace_tracker
If unmarked segment traces in G are uniquely determined by their endpoints, there exists a deterministic tracker with state space I and transition map advance that accumulates encoded traces along edges and remains unchanged on unmarked edges.
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 game enc1385Game G also has a winning strategy using at most b memory states.
prioritized_borel_phase_strategy_transfer
Given a winning strategy with memory M on the encoded game and a trace tracker with state space I, there exists a winning strategy on the original game G with product memory M × I whose second component updates via the tracker transition advance.
prioritized_borel_eventually_constant_memory_component
If a winning strategy on G uses product memory M × I and, along every legal play, the second component of the memory update eventually becomes the identity, then the auxiliary memory I can be eliminated to produce a winning strategy using memory M alone.

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_eventually_unambiguous_segments_reduction {Q : Type} [Fintype Q]    (G : PrioritizedBorelGame Q 3) (cut : TreeGameEdge Q 3 → Prop)    (huniq : ∀ u p v q a b, Op1385SegmentTrace G cut u p v q a →      Op1385SegmentTrace G cut u p v q b → a = b)    (hfin : ∀ π : ℕ → TreeGameEdge Q 3, (∀ n, π n ∈ G.edges) →      (π 0).source_node = [] ∧ (π 0).source_state = G.init_state →      (∀ n, (π (n+1)).source_node = (π n).source_node ++ [(π n).dir] ∧        (π (n+1)).source_state = (π n).target_state) →      ∃ N, ∀ n ≥ N, ¬cut (π n))    (b : ℕ) (hone : ∀ H : PrioritizedBorelGame Unit 3, HasWinningStrategyInMem H b) :    HasWinningStrategyInMem G b := by  obtain ⟨I,start,view,advance,hroot,hadv,hfixed⟩ := prioritized_borel_segment_trace_tracker G cut huniq  obtain ⟨pl,M,inst,hcard,σ,hwin⟩ := prioritized_borel_encoded_arena_wins_from_one_state G b hone  obtain ⟨τ,_,hupdate,hτ⟩ := prioritized_borel_phase_strategy_transfer G pl σ start view advance hroot hadv hwin  obtain ⟨τ',hw'⟩ := prioritized_borel_eventually_constant_memory_component G pl τ hτ (by    intro π hl hi hn    obtain ⟨N,hN⟩ := hfin π hl hi hn    exact ⟨N,fun n h m i => (hupdate (m,i) (π n)).trans (hfixed i (π n) (hN n h))⟩)  exact ⟨pl,M,inst,hcard,τ',hw'⟩
See it in the graphDiscuss this resultChallenge it