prioritized_borel_expanded_block_strategy_simulation
theoremverified
For an expanded sequence with matching consecutive positions and the phase strategy memory updates, full-block replay gives its memory and position at the next boundary. In a controlled block whose direction-priority transcript matches the strategy, every individual expanded edge is the strategy choice.
Statement
theorem prioritized_borel_expanded_block_strategy_simulation {Q M : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy (enc1385Game G) pl M) (π : ℕ → TreeGameEdge Q 3) (n : ℕ) (μ : ℕ → M) (hμ : ∀ t, μ (t+1) = σ.update (μ t) (enc1385ExpandedPlay G π t)) (hadj : ∀ t, let E := enc1385ExpandedPlay G π (E (t+1)).source_node = (E t).source_node ++ [(E t).dir] ∧ (E (t+1)).source_state = (E t).target_state) : let L := Fintype.card Q + 1 let off := n*L let E := enc1385ExpandedPlay G π let s : Enc1385State Q := ⟨(π n).source_node,(π n).source_state,[]⟩ let node := (E off).source_node let R := enc1385Replay G pl σ (μ off) node s (π n) (μ ((n+1)*L),(E ((n+1)*L)).source_node,(E ((n+1)*L)).source_state) = R ∧ (G.owner ((π n).source_node,(π n).source_state) = pl → enc1385FollowActions G pl σ (μ off) node s L = enc1385BlockMoves (π n) → ∀ i < L, E (off+i) = σ.choice (μ (off+i)) (E (off+i)).source_node (E (off+i)).source_state)
- Source
- arXiv:2611.10136, Conjecture 19 and Proposition 27. Block-encoding reduction for OP-1385.
- Verified
- 28 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 14
- prioritized_borel_expanded_play_legalThe encoded sequence of any legal original play is a legal play of the phase-state arena, with the correct initial position and…
- prioritized_borel_encoding_replay_boundaryReplaying an edge block from a block boundary appends its encoded bits to the phase-game node and ends at the original child node and…
- prioritized_borel_encoding_controlled_choices_legalAt a controlled original position, every strategy choice within one encoded block is a legal phase-game edge from the selected phase-game…
- prioritized_borel_follow_actions_replayIf each of the first n selected phase-game moves is legal at its selected position, replaying their direction and priority actions…
- FiniteMemoryStrategyA structure FiniteMemoryStrategy {Q : Type*} {k : ℕ} (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (M : Type*) representing a…
- enc1385GameGiven a finite-state three-priority tree game, construct a phase-state game that encodes each original direction followed by a one-hot…
- enc1385ExpandedPlayExpand an arbitrary sequence of original edges into phase-game edges by indexing its fixed-length direction-and-state blocks. This…
- TreeGameEdgeA structure TreeGameEdge (Q : Type*) (k : ℕ) representing an edge in a binary tree game arena with state space Q and k priorities, with…
- enc1385FollowActionsThe sequence of public bits and priorities selected by a phase-game strategy in its first n steps from a specified memory and position.
- 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…
- enc1385BlockMovesThe phase-game actions for one original edge, with the original priority on the final bit and priority zero on preceding bits.
- enc1385FollowStarting with a phase-game memory and position, follow a fixed strategy for a specified number of phase steps, returning the resulting…
- enc1385ReplayReplay the bit-and-priority block of an original edge from a phase-game node, state, and strategy memory, returning the resulting memory,…
- Used by 1
- 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…
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.
set_option maxHeartbeats 900000private theorem s3ActionAt {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (π : ℕ → TreeGameEdge Q 3) (n i : ℕ) (hi : i < Fintype.card Q+1) : let t := n*(Fintype.card Q+1)+i ((enc1385ExpandedPlay G π t).dir, (enc1385ExpandedPlay G π t).prio) = (enc1385BlockMoves (π n))[i]'(by simpa [enc1385BlockMoves] using hi) := by let L := Fintype.card Q + 1 have pos : 0 < L := Nat.succ_pos _ have hd : (n*L+i)/L = n := by rw [Nat.add_comm, Nat.add_mul_div_right _ _ pos, Nat.div_eq_of_lt hi, Nat.zero_add] have hm : (n*L+i)%L = i := by rw [Nat.add_comm, Nat.add_mul_mod_self_right, Nat.mod_eq_of_lt hi] simp only [enc1385ExpandedPlay, enc1385BlockMoves, List.getElem_map, List.getElem_range] change ((enc1385Block (π ((n*L+i)/L))).getD ((n*L+i)%L) false, _) = _ simp only [hd,hm,L] at *private theorem s3PrefixFold {A S : Type} (step : S → A → S) (T : ℕ → S) (xs : List A) (hstep : ∀ i (hi : i < xs.length), T (i+1) = step (T i) xs[i]) : ∀ i ≤ xs.length, (xs.take i).foldl step (T 0) = T i := by intro i induction i with | zero => simp | succ i ih => intro hi have hl : i < xs.length := hi rw [← List.take_concat_get' xs i hl, List.foldl_append, ih (by omega)] exact (hstep i hl).symmprivate theorem s3FollowRange {Q M : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy (enc1385Game G) pl M) (m : M) (node : List Bool) (s : Enc1385State Q) (n : ℕ) : enc1385FollowActions G pl σ m node s n = (List.range n).map (fun i => let st := enc1385Follow G pl σ m node s i let a := σ.choice st.1 st.2.1 st.2.2 (a.dir,a.prio)) := by induction n with | zero => rfl | succ i ih => simp [enc1385FollowActions,List.range_succ,ih]theorem prioritized_borel_expanded_block_strategy_simulation {Q M : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy (enc1385Game G) pl M) (π : ℕ → TreeGameEdge Q 3) (n : ℕ) (μ : ℕ → M) (hμ : ∀ t, μ (t+1) = σ.update (μ t) (enc1385ExpandedPlay G π t)) (hadj : ∀ t, let E := enc1385ExpandedPlay G π (E (t+1)).source_node = (E t).source_node ++ [(E t).dir] ∧ (E (t+1)).source_state = (E t).target_state) : let L := Fintype.card Q + 1 let off := n*L let E := enc1385ExpandedPlay G π let s : Enc1385State Q := ⟨(π n).source_node,(π n).source_state,[]⟩ let node := (E off).source_node let R := enc1385Replay G pl σ (μ off) node s (π n) (μ ((n+1)*L),(E ((n+1)*L)).source_node,(E ((n+1)*L)).source_state) = R ∧ (G.owner ((π n).source_node,(π n).source_state) = pl → enc1385FollowActions G pl σ (μ off) node s L = enc1385BlockMoves (π n) → ∀ i < L, E (off+i) = σ.choice (μ (off+i)) (E (off+i)).source_node (E (off+i)).source_state) := by let L := Fintype.card Q + 1 let off := n*L let E := enc1385ExpandedPlay G π let s : Enc1385State Q := ⟨(π n).source_node,(π n).source_state,[]⟩ let node := (E off).source_node let T (i : ℕ) := (μ (off+i),(E (off+i)).source_node,(E (off+i)).source_state) let xs := enc1385BlockMoves (π n) let step := enc1385ReplayStep G pl σ have hlen : xs.length = L := by simp [xs,enc1385BlockMoves,L] have hs : (E off).source_state = s := by simp [E,off,L,enc1385ExpandedPlay,s] have hzero : T 0 = (μ off,node,s) := by simp [T,node,hs] have hstep (i : ℕ) (hi : i < xs.length) : T (i+1) = step (T i) xs[i] := by have ha := s3ActionAt G π n i (by simpa only [hlen] using hi) change ((E (off+i)).dir,(E (off+i)).prio) = xs[i] at ha rw [← ha] have ht : enc1385Step G (E (off+i)).source_state (E (off+i)).dir = (E (off+i)).target_state := rfl dsimp only [step,T,enc1385ReplayStep] rw [← Nat.add_assoc, hμ, (hadj (off+i)).1, (hadj (off+i)).2] rfl have hp (i : ℕ) (hi : i ≤ xs.length) : (xs.take i).foldl step (μ off,node,s) = T i := by rw [← hzero] exact s3PrefixFold step T xs hstep i hi constructor · have hfull := hp xs.length le_rfl rw [List.take_length,hlen] at hfull have heq : (n+1)*L = off+L := Nat.succ_mul n L change (μ ((n+1)*L),(E ((n+1)*L)).source_node,(E ((n+1)*L)).source_state) = _ rw [heq] exact hfull.symm · intro ho htrace i hi change enc1385FollowActions G pl σ (μ off) node s L = xs at htrace let F := enc1385Follow G pl σ (μ off) node s let A (j : ℕ) := σ.choice (F j).1 (F j).2.1 (F j).2.2 let a (j : ℕ) := ((A j).dir,(A j).prio) have hrep (j : ℕ) : enc1385FollowActions G pl σ (μ off) node s j = (List.range j).map a := s3FollowRange G pl σ _ _ _ j have hxs : xs = (List.range L).map a := htrace.symm.trans (hrep L) have hip : i < xs.length := by rwa [hlen] have hget : xs[i] = a i := by simp [hxs] have htake : xs.take i = enc1385FollowActions G pl σ (μ off) node s i := by rw [hxs,hrep,← List.map_take,List.take_range,min_eq_left (Nat.le_of_lt hi)] have hlegal := prioritized_borel_encoding_controlled_choices_legal G pl σ (μ off) node _ _ ho have hF : T i = F i := by rw [← hp i (Nat.le_of_lt hip), htake] exact prioritized_borel_follow_actions_replay G pl σ _ _ _ i (fun j hj => hlegal j (by omega)) have ha := (s3ActionAt G π n i hi).trans hget change ((E (off+i)).dir,(E (off+i)).prio) = ((A i).dir,(A i).prio) at ha have hsrc := hlegal i hi change A i ∈ (enc1385Game G).edges ∧ (A i).source_node = (F i).2.1 ∧ (A i).source_state = (F i).2.2 at hsrc have hn : (A i).source_node = (E (off+i)).source_node := hsrc.2.1.trans (congrArg (fun t => t.2.1) hF.symm) have hq : (A i).source_state = (E (off+i)).source_state := hsrc.2.2.trans (congrArg (fun t => t.2.2) hF.symm) have hd := congrArg Prod.fst ha have hprio := congrArg Prod.snd ha change (E (off+i)).dir = (A i).dir at hd change (E (off+i)).prio = (A i).prio at hprio have hend : (A i).target_state = (E (off+i)).target_state := by rw [show (A i).target_state = enc1385Step G (A i).source_state (A i).dir from hsrc.1.1,hq,← hd] rfl change E (off+i) = σ.choice (T i).1 (T i).2.1 (T i).2.2 rw [hF] change E (off+i) = A i calc E (off+i) = ⟨(E (off+i)).source_node,(E (off+i)).source_state, (E (off+i)).dir,(E (off+i)).prio,(E (off+i)).target_state⟩ := rfl _ = A i := by rw [← hn,← hq,hd,hprio,← hend]