AFTD Auto-Formalizing Theoretical Domains

prioritized_borel_eventually_constant_memory_component

theoremverified

A winning strategy on product memory can discard its second component when along every legal play all sufficiently late edges fix that component for all memory values.

Statement

theorem prioritized_borel_eventually_constant_memory_component {Q M I : Type} {k : ℕ}
    (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy G pl (M × I))
    (hw : PrioritizedBorelStrategyWins G pl σ)
    (hevent : ∀ π : ℕ → TreeGameEdge Q k, (∀ 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, ∀ m i, (σ.update (m,i) (π n)).2 = i) :
    ∃ τ : FiniteMemoryStrategy G pl M, PrioritizedBorelStrategyWins G pl τ
Source
arXiv:2611.10136, Conjecture 19 and Proposition 27. Strategy compression for OP-1385.
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 8
  • prioritized_borel_eventually_nonincreasing_memory_componentA well-ordered auxiliary memory component can be erased if eventually every update along each legal play weakly decreases that component,…
  • 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…
  • LinearOrder.toTotalPreorderEvery LinearOrder is a TotalPreorder.
  • 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…
  • 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.
  • TotalPreorderA total preorder: a preorder where ≤ is total (complete). This is weaker than LinearOrder — it does NOT require antisymmetry or…
Used by 2

The proof, explained

By the well-ordering theorem, the index type I admits a well-founded linear order. The result then reduces to the known fact that an eventually nonincreasing memory component over a well-founded linear order can be eliminated (`prioritized_borel_eventually_nonincreasing_memory_component`). Since the hypothesis ensures the second component is eventually constant along every legal play, it is in particular eventually nonincreasing, completing the proof.

  1. The memory component type I is equipped with a well-founded linear order.

    By the well-ordering theorem (`exists_wellFoundedLT`), every type admits a well-founded linear order. We obtain such an order and register it as the linear order and well-founded relation on I.

    lines 10–12

    uses exists_wellFoundedLT

      obtain ⟨ord,wf⟩ := exists_wellFoundedLT I
      letI : LinearOrder I := ord
      letI : WellFoundedLT I := wf
  2. It suffices to show that along every legal play, the second memory component is eventually nonincreasing.

    By `prioritized_borel_eventually_nonincreasing_memory_component`, a winning strategy whose I-component eventually never increases in a well-founded linear order can discard that component to yield a winning strategy with memory M.

    line 13

    uses prioritized_borel_eventually_nonincreasing_memory_component

      apply prioritized_borel_eventually_nonincreasing_memory_component G pl σ hw
  3. Along any legal play, the second memory component is eventually nonincreasing.

    Given any legal play π, the hypothesis `hevent` provides a stage N after which updating any memory state (m, i) along the edges of π leaves the second component unchanged (= i). Because equality implies inequality (≤), the second component is in particular nonincreasing from step N onwards.

    lines 14–16

      intro π hl hi hn
      obtain ⟨N,hN⟩ := hevent π hl hi hn
      exact ⟨N,fun n hn m i => (hN n hn m i).le⟩
exists_wellFoundedLT
Every type can be endowed with a well-founded linear order.
prioritized_borel_eventually_nonincreasing_memory_component
If a winning finite-memory strategy on product memory M × I has its second component eventually nonincreasing along every legal play, where I is well-founded and linearly ordered, then there exists a winning finite-memory strategy using only memory M.

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_constant_memory_component {Q M I : Type} {k : ℕ}    (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy G pl (M × I))    (hw : PrioritizedBorelStrategyWins G pl σ)    (hevent : ∀ π : ℕ → TreeGameEdge Q k, (∀ 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, ∀ m i, (σ.update (m,i) (π n)).2 = i) :    ∃ τ : FiniteMemoryStrategy G pl M, PrioritizedBorelStrategyWins G pl τ := by  obtain ⟨ord,wf⟩ := exists_wellFoundedLT I  letI : LinearOrder I := ord  letI : WellFoundedLT I := wf  apply prioritized_borel_eventually_nonincreasing_memory_component G pl σ hw  intro π hl hi hn  obtain ⟨N,hN⟩ := hevent π hl hi hn  exact ⟨N,fun n hn m i => (hN n hn m i).le⟩
See it in the graphDiscuss this resultChallenge it