prioritized_borel_reachable_strategy_tail
A 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.
Statement
theorem prioritized_borel_reachable_strategy_tail {Q M : Type} {k : ℕ} (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy G pl M) (hw : PrioritizedBorelStrategyWins G pl σ) (π : ℕ → TreeGameEdge Q k) (hl : ∀ n, π n ∈ G.edges) (hi : (π 0).source_node = [] ∧ (π 0).source_state = G.init_state) (hn : ∀ n, (π (n+1)).source_node = (π n).source_node ++ [(π n).dir] ∧ (π (n+1)).source_state = (π n).target_state) (K : ℕ) (m : ℕ → M) (hr : ∃ h, PrioritizedBorelStrategyHistory G pl σ h (m K) (π K).source_node (π K).source_state) (hu : ∀ n ≥ K, m (n+1) = σ.update (m n) (π n)) (hc : ∀ n ≥ K, G.owner ((π n).source_node,(π n).source_state) = pl → π n = σ.choice (m n) (π n).source_node (π n).source_state) : match pl with | .Eve => op1385Payoff G π | .Adam => ¬ op1385Payoff G π
- 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_finite_hidden_opponent_choices_positionalFix a winning strategy in a prioritized tree game, with an arbitrary state type. Suppose that on every legal play, all but finitely many…
- prioritized_borel_payoff_tail_congrTwo prioritized-game plays have the same payoff when their directions agree everywhere and their priorities agree 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…
- PrioritizedBorelStrategyHistoryAn encoded finite history follows legal edges from the initial position and agrees with the chosen strategy at its player's positions.…
- 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.
- PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
- Used by 1
- 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,…
The proof, explained
The proof constructs a full play (a 'shadow play' ρ) that follows strategy σ from the root and agrees with the original play π from time K onward. Because σ is a winning strategy, player pl wins ρ. Since ρ and π make identical directional choices at all steps and have identical edge priorities from time K onward, the payoff tail congruence theorem implies that player pl also wins π.
The reachable history h at time K has length K, and its sequence of directions matches the prefix of directions played in π up to time K.
From hypothesis hr, we unpack a history h reaching memory m(K), node (π K).source_node, and state (π K).source_state. Evaluating h under strategy σ reproduces these endpoints (op1385_eval_history). The node component of this evaluation is the list of directions in h (op1385_eval_node), which must equal the node reached by π at time K, namely the sequence of directions played up to time K (op1385_play_nodes). Equating these sequences via congrArg gives hvis, and taking list lengths shows that h has length K.
uses
op1385_eval_history,op1385_eval_node,congrArg,op1385_play_nodes,op1385FnPrefix,List.length,Prod.fstobtain ⟨h,hh⟩ := hr have heval := op1385_eval_history G pl σ _ _ _ _ hh have hvis : h.map Prod.fst = op1385FnPrefix (fun j => (π j).dir) K := (op1385_eval_node G pl σ h).symm.trans ((congrArg (fun z => z.2.1) heval).trans (op1385_play_nodes π hi.1 (fun j => (hn j).1) K)) have hlen : h.length = K := by simpa [op1385FnPrefix] using congrArg List.length hvis
The spliced sequence f of edge signatures agrees with h on the prefix of length K and agrees with π from step K onward.
We define f(j) by taking the j-th entry of h when j < K, and the edge signature of π(j) when j ≥ K. Comparing elements shows that the prefix of f of length K equals h (List.ext_getElem). For any n ≥ K, the condition j < K is false (not_lt.mpr), so f(n) simplifies directly to the edge signature of π(n).
uses
op1385FnPrefix,List.ext_getElem,not_lt.mprlet f (j : ℕ) : op1385Sig Q k := if hj : j < h.length then h[j] else op1385EdgeSig (π j) have hprefix : op1385FnPrefix f K = h := by apply List.ext_getElem · simp [op1385FnPrefix,hlen] · intro n h₁ h₂ simp [op1385FnPrefix,f,h₂] have htail (n : ℕ) (hK : K ≤ n) : f n = op1385EdgeSig (π n) := by simp [f,hlen,not_lt.mpr hK]
For every n ≥ K, the prefix of f of length n is a valid strategy history reaching memory m(n), node (π n).source_node, and state (π n).source_state.
By induction on n ≥ K (Nat.le_induction): the base case n = K holds because the prefix is h, which is a valid strategy history by assumption. For the induction step from n to n + 1, the prefix grows by f(n) (op1385_fn_prefix_succ), which equals the edge signature of π(n). Since π(n) is a legal edge, memory updates according to σ (hu), and π(n) conforms to σ when owned by pl (hc), appending this edge yields a valid strategy history (PrioritizedBorelStrategyHistory.step).
uses
Nat.le_induction,op1385_fn_prefix_succ,PrioritizedBorelStrategyHistory.stephave hp (n : ℕ) (hK : K ≤ n) : PrioritizedBorelStrategyHistory G pl σ (op1385FnPrefix f n) (m n) (π n).source_node (π n).source_state := by induction n, hK using Nat.le_induction with | base => rwa [hprefix] | succ n hK ih => rw [op1385_fn_prefix_succ,htail n hK,hu n hK,(hn n).1,(hn n).2] exact PrioritizedBorelStrategyHistory.step (π n) ih (hl n) rfl rfl (hc n hK)
Every finite prefix of f is a valid strategy history for σ.
For any n, we case-split on whether K ≤ n. If K ≤ n, the claim is already established. If n < K, the length-n prefix of f is a prefix of the length-K prefix (op1385_ofFn_prefix, le_rfl). Since any prefix of a valid strategy history is also a valid strategy history (op1385_history_prefix), the length-n prefix is valid.
uses
op1385_history_prefix,le_rfl,op1385_ofFn_prefixhave hall (n : ℕ) : ∃ mem v q, PrioritizedBorelStrategyHistory G pl σ (op1385FnPrefix f n) mem v q := by by_cases hK : K ≤ n · exact ⟨_,_,_,hp n hK⟩ · exact op1385_history_prefix G pl σ _ _ _ _ (hp K le_rfl) _ (op1385_ofFn_prefix f (by omega))
The sequence f induces a legal shadow play ρ following σ from the start, and ρ is won by player pl.
Because every prefix of f is a valid strategy history, op1385_shadow_play_of_histories constructs a play ρ = op1385ShadowEdge G pl σ f that starts at the initial game state, follows legal game edges, and respects strategy σ on all steps. Since σ is winning for player pl (hw), player pl wins play ρ.
uses
op1385_shadow_play_of_histories,op1385ShadowEdgeobtain ⟨hlegal,hinit,hnext,hcons⟩ := op1385_shadow_play_of_histories G pl σ f hall let ρ := op1385ShadowEdge G pl σ f have win := hw ρ hlegal hinit hnext hcons
The shadow play ρ and the play π choose identical directions at every step.
The direction chosen by ρ(n) is the first component of f(n). If n ≥ K, f(n) is the signature of π(n), so their directions agree. If n < K, f(n) comes from h[n]; extracting the n-th element from hvis (using congrArg and List.getElem?_eq_getElem) shows that this direction equals the direction of π(n).
uses
congrArg,op1385FnPrefix,List.getElem?_eq_getElemhave hdir (n : ℕ) : (ρ n).dir = (π n).dir := by change (f n).1 = (π n).dir by_cases hK : K ≤ n · rw [htail n hK]; rfl · have hnh : n < h.length := by omega have hv := congrArg (fun l => l[n]?) hvis simpa [f,hnh,op1385FnPrefix,List.getElem?_eq_getElem,hlen,show n < K by omega] using hv
Eventually, the edges of ρ and π have the same priorities.
For all n ≥ K, f(n) is defined by the edge π(n), so the priority of ρ(n) matches that of π(n). Since this holds for all n ≥ K, it holds eventually along Filter.atTop (Filter.eventually_atTop.2).
uses
Filter.atTop,Filter.eventually_atTop.2have hprio : ∀ᶠ n in Filter.atTop, (ρ n).prio = (π n).prio := by apply Filter.eventually_atTop.2 refine ⟨K,fun n hn => ?_⟩ change (f n).2.2 = (π n).prio rw [htail n hn]; rfl
The play π is won by player pl.
By prioritized_borel_payoff_tail_congr, any two plays with identical directional choices everywhere and identical priorities eventually have the same winning player. Since ρ and π satisfy both conditions, player pl wins π if and only if pl wins ρ. Since pl wins ρ, pl also wins π.
uses
prioritized_borel_payoff_tail_congrhave eqpay := prioritized_borel_payoff_tail_congr G ρ π hdir hprio cases pl with | Eve => exact eqpay.mp win | Adam => exact fun h => win (eqpay.mpr h)
op1385_eval_history- A valid strategy history evaluates under the strategy to the triple of its final memory, node, and state.
op1385_eval_node- The node reached by evaluating a history under a strategy is the list of direction choices along that history.
congrArg- Applying a function to equal arguments yields equal values.
op1385_play_nodes- In any tree game play from the root, the source node at step n is the sequence of the first n directions played.
op1385FnPrefix- The prefix of length n of a sequence.
List.length- The length of a list.
Prod.fst- The first projection of a pair.
List.ext_getElem- Two lists are equal if they have the same length and their elements agree at every index.
not_lt.mpr- If b ≤ a, then a is not strictly less than b.
Nat.le_induction- Principle of induction for natural numbers n ≥ m starting from base case m.
op1385_fn_prefix_succ- The prefix of length n + 1 of a sequence is obtained by appending the n-th element to the prefix of length n.
PrioritizedBorelStrategyHistory.step- Appending an edge conforming to the strategy extends a strategy history to a new valid history.
op1385_history_prefix- Any prefix of a valid strategy history is itself a valid strategy history.
le_rfl- Every element in a preorder is less than or equal to itself.
op1385_ofFn_prefix- For n ≤ m, the prefix of length n of a sequence is a prefix of the prefix of length m.
op1385_shadow_play_of_histories- If every finite prefix of an edge-signature sequence is a strategy history, the induced shadow play is a valid play following the strategy everywhere.
op1385ShadowEdge- The n-th edge of the shadow play constructed from a strategy and a sequence of edge signatures.
List.getElem?_eq_getElem- If an index is within bounds of a list, the optional lookup returns that element.
Filter.atTop- The filter of neighbourhoods of infinity on a preorder.
Filter.eventually_atTop.2- A property holds eventually at infinity if it holds for all sufficiently large elements.
prioritized_borel_payoff_tail_congr- Two plays with the same directions everywhere and the same priorities eventually have the same payoff.
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_reachable_strategy_tail {Q M : Type} {k : ℕ} (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy G pl M) (hw : PrioritizedBorelStrategyWins G pl σ) (π : ℕ → TreeGameEdge Q k) (hl : ∀ n, π n ∈ G.edges) (hi : (π 0).source_node = [] ∧ (π 0).source_state = G.init_state) (hn : ∀ n, (π (n+1)).source_node = (π n).source_node ++ [(π n).dir] ∧ (π (n+1)).source_state = (π n).target_state) (K : ℕ) (m : ℕ → M) (hr : ∃ h, PrioritizedBorelStrategyHistory G pl σ h (m K) (π K).source_node (π K).source_state) (hu : ∀ n ≥ K, m (n+1) = σ.update (m n) (π n)) (hc : ∀ n ≥ K, G.owner ((π n).source_node,(π n).source_state) = pl → π n = σ.choice (m n) (π n).source_node (π n).source_state) : match pl with | .Eve => op1385Payoff G π | .Adam => ¬ op1385Payoff G π := by obtain ⟨h,hh⟩ := hr have heval := op1385_eval_history G pl σ _ _ _ _ hh have hvis : h.map Prod.fst = op1385FnPrefix (fun j => (π j).dir) K := (op1385_eval_node G pl σ h).symm.trans ((congrArg (fun z => z.2.1) heval).trans (op1385_play_nodes π hi.1 (fun j => (hn j).1) K)) have hlen : h.length = K := by simpa [op1385FnPrefix] using congrArg List.length hvis let f (j : ℕ) : op1385Sig Q k := if hj : j < h.length then h[j] else op1385EdgeSig (π j) have hprefix : op1385FnPrefix f K = h := by apply List.ext_getElem · simp [op1385FnPrefix,hlen] · intro n h₁ h₂ simp [op1385FnPrefix,f,h₂] have htail (n : ℕ) (hK : K ≤ n) : f n = op1385EdgeSig (π n) := by simp [f,hlen,not_lt.mpr hK] have hp (n : ℕ) (hK : K ≤ n) : PrioritizedBorelStrategyHistory G pl σ (op1385FnPrefix f n) (m n) (π n).source_node (π n).source_state := by induction n, hK using Nat.le_induction with | base => rwa [hprefix] | succ n hK ih => rw [op1385_fn_prefix_succ,htail n hK,hu n hK,(hn n).1,(hn n).2] exact PrioritizedBorelStrategyHistory.step (π n) ih (hl n) rfl rfl (hc n hK) have hall (n : ℕ) : ∃ mem v q, PrioritizedBorelStrategyHistory G pl σ (op1385FnPrefix f n) mem v q := by by_cases hK : K ≤ n · exact ⟨_,_,_,hp n hK⟩ · exact op1385_history_prefix G pl σ _ _ _ _ (hp K le_rfl) _ (op1385_ofFn_prefix f (by omega)) obtain ⟨hlegal,hinit,hnext,hcons⟩ := op1385_shadow_play_of_histories G pl σ f hall let ρ := op1385ShadowEdge G pl σ f have win := hw ρ hlegal hinit hnext hcons have hdir (n : ℕ) : (ρ n).dir = (π n).dir := by change (f n).1 = (π n).dir by_cases hK : K ≤ n · rw [htail n hK]; rfl · have hnh : n < h.length := by omega have hv := congrArg (fun l => l[n]?) hvis simpa [f,hnh,op1385FnPrefix,List.getElem?_eq_getElem,hlen,show n < K by omega] using hv have hprio : ∀ᶠ n in Filter.atTop, (ρ n).prio = (π n).prio := by apply Filter.eventually_atTop.2 refine ⟨K,fun n hn => ?_⟩ change (f n).2.2 = (π n).prio rw [htail n hn]; rfl have eqpay := prioritized_borel_payoff_tail_congr G ρ π hdir hprio cases pl with | Eve => exact eqpay.mp win | Adam => exact fun h => win (eqpay.mpr h)