prioritized_borel_expanded_play_branch_bit
The first bit of each encoded block is the direction of the corresponding original edge.
Statement
theorem prioritized_borel_expanded_play_branch_bit {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (π : ℕ → TreeGameEdge Q 3) (n : ℕ) : (enc1385ExpandedPlay G π (n * (Fintype.card Q + 1))).dir = (π n).dir
- Source
- Infinite-sequence encoding for arXiv:2611.10136, Conjecture 19.
- Verified
- 17 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 4
- 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…
- PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
- TreeGameEdgeA structure TreeGameEdge (Q : Type*) (k : ℕ) representing an edge in a binary tree game arena with state space Q and k priorities, with…
- Used by 1
- prioritized_borel_expanded_play_payoffFor every original edge sequence, the phase-game prioritized payoff of its encoded sequence is equivalent to the original prioritized…
The proof, explained
In the game expansion scheme, each original edge $\pi(n)$ is represented by a block of $L = |Q| + 1$ consecutive moves in the expanded game. At step $n \cdot L$, the expanded play is at the very beginning of the $n$-th block (offset $0$). Since the first bit of the encoded block for $\pi(n)$ is defined to be the edge's direction $(\pi(n)).\mathrm{dir}$, the direction at step $n \cdot L$ is exactly $(\pi(n)).\mathrm{dir}$. The single `simp` step unfolds the definitions and simplifies the arithmetic using $(n \cdot L) / L = n$.
The direction of the expanded play edge at step $n \cdot (|Q| + 1)$ equals $(\pi(n)).\mathrm{dir}$. automation
Unfolding the definition of `enc1385ExpandedPlay` at step $n \cdot L$ (with block length $L = |Q| + 1$), the corresponding edge index is $(n \cdot L) / L$ and the offset within the block is $(n \cdot L) \pmod L$. Because $L > 0$ by `Nat.zero_lt_succ`, `Nat.mul_div_cancel` reduces the edge index to $n$, while the offset is $0$. By definition of `enc1385Block`, the $0$-th bit of the block is the direction $(\pi(n)).\mathrm{dir}$. The `simp` tactic unfolds both definitions and applies the arithmetic cancellation to close the goal.
uses
enc1385ExpandedPlay,enc1385Block,Nat.mul_div_cancel,Nat.zero_lt_succsimp [enc1385ExpandedPlay, enc1385Block, Nat.mul_div_cancel n (Nat.zero_lt_succ (Fintype.card Q))]
enc1385ExpandedPlay- Expands a play in the original game into a sequence of edges in the encoded game, where each original edge is simulated by a block of $|Q| + 1$ moves.
enc1385Block- Encodes an edge of the game as a list of booleans consisting of the edge's direction bit followed by the encoding of its target state.
Nat.mul_div_cancel- Multiplication followed by division by a strictly positive number cancels: $(m \cdot n) / n = m$ for $n > 0$.
Nat.zero_lt_succ- The successor of any natural number is strictly positive: $0 < n + 1$.
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_expanded_play_branch_bit {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) (π : ℕ → TreeGameEdge Q 3) (n : ℕ) : (enc1385ExpandedPlay G π (n * (Fintype.card Q + 1))).dir = (π n).dir := by simp [enc1385ExpandedPlay, enc1385Block, Nat.mul_div_cancel n (Nat.zero_lt_succ (Fintype.card Q))]