prioritized_borel_eventually_nonincreasing_memory_component
A well-ordered auxiliary memory component can be erased if eventually every update along each legal play weakly decreases that component, for every possible memory value. The remaining memory type is preserved.
Statement
theorem prioritized_borel_eventually_nonincreasing_memory_component {Q M I : Type} {k : ℕ} [LinearOrder I] [WellFoundedLT I] (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 11
- prioritized_borel_reachable_strategy_tailA legal play that from time K follows a winning strategy from one of its reachable memory-position pairs is won by that strategy’s player.
- prioritized_borel_eventual_hidden_shadowCompatible finite histories whose hidden-choice records eventually do not increase and whose extensions add no hidden choices eventually…
- 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…
- 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…
- BorelGamePlayerThe two players in a prioritized Borel game, Eve and Adam.
- PrioritizedBorelStrategyHistoryAn encoded finite history follows legal edges from the initial position and agrees with the chosen strategy at its player's positions.…
- LinearOrder.toTotalPreorderEvery
LinearOrderis aTotalPreorder. - PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
- prioritized_borel_payoff_tail_congrTwo prioritized-game plays have the same payoff when their directions agree everywhere and their priorities agree eventually.
- TotalPreorderA total preorder: a preorder where
≤is total (complete). This is weaker thanLinearOrder— it does NOT require antisymmetry or…
- Used by 1
- 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…
The proof, explained
To eliminate the auxiliary memory component I, we construct a reduced strategy τ on M that greedily chooses the minimal reachable I-value at each position. Along any play consistent with τ, reachable configurations remain reachable by induction, and the minimality of the chosen values forces the auxiliary sequence to become non-increasing. Because I is well-founded, this sequence eventually stabilizes, after which the simulated memory evolves identically to the original winning strategy σ. The theorem then follows from a tail-reachability lemma showing that reproducing the winning strategy from a reachable state suffices to win.
For any memory state m, node v, and game state q, the set R(m, v, q) of reachable auxiliary memory values has a well-defined minimal element when nonempty.
We define R(m, v, q) ⊆ I as the set of auxiliary values i such that the configuration ((m, i), v, q) is reachable under σ by some strategy history. Because I is a linear well-order, any nonempty subset has a least element; the helper function pick chooses this minimum (defaulting to the initial memory value when empty). The lemma best confirms that whenever R(m, v, q) is nonempty, pick(m, v, q) belongs to R(m, v, q) and is ≤ every element of R(m, v, q).
uses
wellFounded_lt.has_min,le_of_not_gtclassical let R (m : M) (v : List Bool) (q : Q) : Set I := { i | ∃ h, PrioritizedBorelStrategyHistory G pl σ h (m,i) v q } let pick (m : M) (v : List Bool) (q : Q) : I := if h : (R m v q).Nonempty then (wellFounded_lt.has_min _ h).choose else σ.init_mem.2 have best (m v q) (h : (R m v q).Nonempty) : pick m v q ∈ R m v q ∧ ∀ i ∈ R m v q, pick m v q ≤ i := by rw [show pick m v q = (wellFounded_lt.has_min _ h).choose by simp [pick,h]] have hh := (wellFounded_lt.has_min _ h).choose_spec exact ⟨hh.1,fun i hi => le_of_not_gt (hh.2 i hi)⟩
A candidate strategy τ with memory type M is constructed, reducing the goal to showing that τ wins.
The strategy τ retains σ's initial memory on M, and at any step evaluates σ by plugging in the minimal reachable auxiliary component pick(m, v, q). The updated auxiliary component is discarded in τ.update, and moves are chosen according to σ on this reconstructed memory pair. We provide τ as the existential witness.
let τ : FiniteMemoryStrategy G pl M := { init_mem := σ.init_mem.1 update := fun m e => (σ.update (m,pick m e.source_node e.source_state) e).1 choice := fun m v q => σ.choice (m,pick m v q) v q choice_edge := fun m v q ho => σ.choice_edge _ v q ho } refine ⟨τ,?_⟩
Fix an arbitrary play π consistent with τ, and define the auxiliary sequences r_n and U_n.
Let π be a legal play consistent with τ, and let m be its memory trajectory in M. At each turn n, we let r_n = pick(m_n, (π_n).source_node, (π_n).source_state) be the chosen auxiliary memory value, and U_n = σ.update(m_n, r_n)(π_n) be the full update under σ. By definition of τ's update rule, the first component of U_n matches m_{n+1}.
intro π hl hi hn hcons obtain ⟨m,hm0,hmu,hmc⟩ := hcons let r (n : ℕ) := pick (m n) (π n).source_node (π n).source_state let U (n : ℕ) := σ.update (m n,r n) (π n) have hfirst (n : ℕ) : m (n+1) = (U n).1 := hmu n
At every step n, the reachable set R(m_n, (π_n).source_node, (π_n).source_state) is nonempty.
Lemma nxt shows that if r_n is in the reachable set at step n, then extending the history by edge π_n using PrioritizedBorelStrategyHistory.step puts the second component of U_n into the reachable set at step n + 1. Lemma reach then proceeds by induction on n: the base case n = 0 holds by PrioritizedBorelStrategyHistory.root at the initial state, and the inductive step applies nxt to the witness guaranteed by best.
uses
PrioritizedBorelStrategyHistory.step,PrioritizedBorelStrategyHistory.roothave nxt (n : ℕ) (hr : r n ∈ R (m n) (π n).source_node (π n).source_state) : (U n).2 ∈ R (m (n+1)) (π (n+1)).source_node (π (n+1)).source_state := by obtain ⟨h,hh⟩ := hr rw [hfirst,(hn n).1,(hn n).2] exact ⟨_,PrioritizedBorelStrategyHistory.step (π n) hh (hl n) rfl rfl (hmc n)⟩ have reach (n : ℕ) : (R (m n) (π n).source_node (π n).source_state).Nonempty := by induction n with | zero => rw [hm0,hi.1,hi.2] exact ⟨σ.init_mem.2,[],PrioritizedBorelStrategyHistory.root⟩ | succ n ih => exact ⟨_,nxt n (best _ _ _ ih).1⟩
The sequence r_n is eventually weakly decreasing (r_{n+1} ≤ r_n for all n ≥ N).
Since r_{n+1} is the minimum of the reachable set at step n + 1 and the second component (U_n)_2 is reachable, we have r_{n+1} ≤ (U_n)_2. By the hypothesis hevent, there is a threshold N after which updates along π weakly decrease the I-component on all memory inputs, so (U_n)_2 ≤ r_n for all n ≥ N. Combining these two inequalities gives r_{n+1} ≤ r_n for all n ≥ N.
have hle (n : ℕ) : r (n+1) ≤ (U n).2 := (best _ _ _ (reach (n+1))).2 _ (nxt n (best _ _ _ (reach n)).1) obtain ⟨N,hN⟩ := hevent π hl hi hn have hdec (n : ℕ) (ha : N ≤ n) : r (n+1) ≤ r n := by exact (hle n).trans (hN n ha _ _)
The auxiliary sequence r_n stabilizes at some stage K, after which (m_n, r_n) exactly tracks the updates of σ.
Since I is well-founded, op1385_eventually_antitone_well_order_stabilizes implies that the eventually non-increasing sequence r_n becomes constant from some K ≥ N onward (r_n = r_K for n ≥ K). For n ≥ K, we have r_n = r_{n+1}, which sandwiches (U_n)_2 between r_{n+1} and r_n. By antisymmetry (le_antisymm), (U_n)_2 = r_{n+1}. Since the first component of U_n is already m_{n+1}, Prod.ext establishes that (m_{n+1}, r_{n+1}) = σ.update(m_n, r_n)(π_n).
uses
op1385_eventually_antitone_well_order_stabilizes,Prod.ext,le_antisymm,le_transobtain ⟨K,hK,hstable⟩ := op1385_eventually_antitone_well_order_stabilizes r N hdec have hu' (n : ℕ) (hn : K ≤ n) : (m (n+1),r (n+1)) = σ.update (m n,r n) (π n) := by apply Prod.ext · exact hfirst n · change r (n+1) = (U n).2 apply le_antisymm (hle n) have eqr : r n = r (n+1) := (hstable n hn).trans (hstable (n+1) (by omega)).symm exact le_trans (hN n (by omega) _ _) eqr.le
The play π satisfies player pl's winning condition, completing the proof that τ wins.
At stage K, the configuration ((m_K, r_K), (π_K).source_node, (π_K).source_state) is reachable under σ, and for all n ≥ K, the sequence (m_n, r_n) evolves under σ and matches σ's move choices. Applying prioritized_borel_reachable_strategy_tail shows that π satisfies the winning condition for player pl, which finishes the proof after a case split on pl.
uses
prioritized_borel_reachable_strategy_tailhave hwin := prioritized_borel_reachable_strategy_tail G pl σ hw π hl hi hn K (fun n => (m n,r n)) (best _ _ _ (reach K)).1 hu' (fun n _ ho => hmc n ho) cases pl <;> exact hwin
wellFounded_lt.has_min- In a well-founded order, every nonempty set has a minimal element with respect to <.
le_of_not_gt- In a linear order, if b is not strictly less than a, then a ≤ b.
PrioritizedBorelStrategyHistory.step- Extending a valid strategy history by a legal edge that respects the strategy's choice on the player's turn produces a valid history reaching the target node and state with the updated memory.
PrioritizedBorelStrategyHistory.root- The empty history at the initial game state with the strategy's initial memory is a valid strategy history.
op1385_eventually_antitone_well_order_stabilizes- Any sequence in a well-founded partially ordered set that is eventually non-increasing is eventually constant.
Prod.ext- Two ordered pairs are equal if and only if their first components are equal and their second components are equal.
le_antisymm- In a partial order, if a ≤ b and b ≤ a, then a = b.
le_trans- In a preorder, if a ≤ b and b ≤ c, then a ≤ c.
prioritized_borel_reachable_strategy_tail- If a legal play has a tail from stage K onward that follows a winning strategy σ from a reachable memory configuration, the play satisfies the player's winning condition.
- In the final step (line 56), the payoff condition obtained from prioritized_borel_reachable_strategy_tail definitionally matches the goal PrioritizedBorelStrategyWins G pl τ for both BorelGamePlayer.Eve and BorelGamePlayer.Adam, allowing cases pl to close the goal immediately.
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem prioritized_borel_eventually_nonincreasing_memory_component {Q M I : Type} {k : ℕ} [LinearOrder I] [WellFoundedLT I] (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 classical let R (m : M) (v : List Bool) (q : Q) : Set I := { i | ∃ h, PrioritizedBorelStrategyHistory G pl σ h (m,i) v q } let pick (m : M) (v : List Bool) (q : Q) : I := if h : (R m v q).Nonempty then (wellFounded_lt.has_min _ h).choose else σ.init_mem.2 have best (m v q) (h : (R m v q).Nonempty) : pick m v q ∈ R m v q ∧ ∀ i ∈ R m v q, pick m v q ≤ i := by rw [show pick m v q = (wellFounded_lt.has_min _ h).choose by simp [pick,h]] have hh := (wellFounded_lt.has_min _ h).choose_spec exact ⟨hh.1,fun i hi => le_of_not_gt (hh.2 i hi)⟩ let τ : FiniteMemoryStrategy G pl M := { init_mem := σ.init_mem.1 update := fun m e => (σ.update (m,pick m e.source_node e.source_state) e).1 choice := fun m v q => σ.choice (m,pick m v q) v q choice_edge := fun m v q ho => σ.choice_edge _ v q ho } refine ⟨τ,?_⟩ intro π hl hi hn hcons obtain ⟨m,hm0,hmu,hmc⟩ := hcons let r (n : ℕ) := pick (m n) (π n).source_node (π n).source_state let U (n : ℕ) := σ.update (m n,r n) (π n) have hfirst (n : ℕ) : m (n+1) = (U n).1 := hmu n have nxt (n : ℕ) (hr : r n ∈ R (m n) (π n).source_node (π n).source_state) : (U n).2 ∈ R (m (n+1)) (π (n+1)).source_node (π (n+1)).source_state := by obtain ⟨h,hh⟩ := hr rw [hfirst,(hn n).1,(hn n).2] exact ⟨_,PrioritizedBorelStrategyHistory.step (π n) hh (hl n) rfl rfl (hmc n)⟩ have reach (n : ℕ) : (R (m n) (π n).source_node (π n).source_state).Nonempty := by induction n with | zero => rw [hm0,hi.1,hi.2] exact ⟨σ.init_mem.2,[],PrioritizedBorelStrategyHistory.root⟩ | succ n ih => exact ⟨_,nxt n (best _ _ _ ih).1⟩ have hle (n : ℕ) : r (n+1) ≤ (U n).2 := (best _ _ _ (reach (n+1))).2 _ (nxt n (best _ _ _ (reach n)).1) obtain ⟨N,hN⟩ := hevent π hl hi hn have hdec (n : ℕ) (ha : N ≤ n) : r (n+1) ≤ r n := by exact (hle n).trans (hN n ha _ _) obtain ⟨K,hK,hstable⟩ := op1385_eventually_antitone_well_order_stabilizes r N hdec have hu' (n : ℕ) (hn : K ≤ n) : (m (n+1),r (n+1)) = σ.update (m n,r n) (π n) := by apply Prod.ext · exact hfirst n · change r (n+1) = (U n).2 apply le_antisymm (hle n) have eqr : r n = r (n+1) := (hstable n hn).trans (hstable (n+1) (by omega)).symm exact le_trans (hN n (by omega) _ _) eqr.le have hwin := prioritized_borel_reachable_strategy_tail G pl σ hw π hl hi hn K (fun n => (m n,r n)) (best _ _ _ (reach K)).1 hu' (fun n _ ho => hmc n ho) cases pl <;> exact hwin