prioritized_borel_sparse_clock_total_history_bound
Fix a finite state type Q, a three-priority game G, a clock base B greater than one and at least the cardinality of Q, and a finite binary node v. In the padded game, the total number of distinct legal state sequences along v, over all terminal states together, is at most length(v)+1.
Statement
theorem prioritized_borel_sparse_clock_total_history_bound {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) {B : ℕ} (hB : 1 < B) (hcard : Fintype.card Q ≤ B) (v : List Bool) : (op1385PublicStateHistories (op1385SparseClockArena G B) v).ncard ≤ v.length+1
- Source
- arXiv:2611.10136, Conjecture 19. Sparse public clock for OP-1385.
- Verified
- 29 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 7
- prioritized_borel_sparse_clock_history_boundIf the clock base is at least the state count and exceeds one, at most n+1 original-state histories reach each padded public position at…
- prioritized_borel_reverse_state_histories_uniqueIf a tree-game edge is reverse-deterministic in the state at each fixed parent node and child direction, then at most one state history…
- PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
- op1385SparseClockArenaThe original game with a public exponential clock. Each block consists of forced zero-priority waiting moves followed by one original…
- TreeGameEdgeA structure TreeGameEdge (Q : Type*) (k : ℕ) representing an edge in a binary tree game arena with state space Q and k priorities, with…
- strictStrict preference derived from a weak preference relation.
- g$g(S,M) = \dim_{\mathbb{F}_p}(S^{\perp}_M) - \dim_{\mathbb{F}_p}(S_M)$.
- Used by 2
- prioritized_borel_three_priority_linear_depth_test_iffFix a universe u. The following two existence assertions are equivalent. First, there exists a computable function f from natural numbers…
- prioritized_borel_linear_depth_history_memory_equivalenceEvery three-priority game on a finite state type has a game on the same type with at most length(v)+1 distinct legal state sequences in…
The proof, explained
In the sparse clock arena, state transitions can occur only at active clock steps, which mark the boundaries between exponentially spaced time slots; at all other steps, legal transitions must leave the state unchanged. Consequently, any public state history along a binary path v is uniquely determined by its values at the start of each of the slot B (|v|) = ⌊log_B(|v|+1)⌋ slots. Recording these values defines an injective map into sequences of length slot B (|v|) in Q, so the total number of public state histories is bounded by |Q|^(slot B (|v|)) ≤ B^(⌊log_B(|v|+1)⌋) ≤ |v|+1.
The recording map from public state histories along v to state sequences at the slot start times is well-defined.
Let S be the set of public state histories along v. The slot assignment map t ↦ ⌊log_B(t+1)⌋ is monotone. For each slot index i < slot B (|v|), the time start B (i+1) is strictly less than |v|+1 by monotonicity of start B and the slot bounds. We define the map 'time' sending each slot index i to start B (i+1), and the recording map 'record' evaluating any history h ∈ S at these sampling times.
uses
Nat.log_mono_right,Nat.succ_le_succ,insideclassical let S := op1385PublicStateHistories (arena G B) v have smono : Monotone (slot B) := fun _ _ h => Nat.log_mono_right (Nat.succ_le_succ h) let time (i : Fin (slot B v.length)) : Fin (v.length+1) := ⟨start B (i.val+1),by have hs := (strict hB).monotone (show i.val+1 ≤ slot B v.length from i.isLt) have hh := (inside hB v.length).1 omega⟩ let record (h : S) (i : Fin (slot B v.length)) := h.val (time i)
Along any public state history, the state does not change during inactive clock steps: h(j+1) = h(j) whenever step j is inactive.
Every transition from step j to j+1 in a legal history corresponds to an arena edge whose source node has length j. In the clock arena, whenever the source node length is not active, all legal edges must satisfy target_state = source_state. Thus the state remains unchanged across step j.
uses
Nat.min_eq_left,if_neghave idle (h : S) (j : Fin v.length) (ha : ¬active B j.val) : h.val j.succ = h.val j.castSucc := by obtain ⟨_,hh⟩ := h.property obtain ⟨e,he,hv,hq,_,ht⟩ := hh.2.2 j have hl : e.source_node.length = j.val := by simp [hv,Nat.min_eq_left j.isLt.le] change (if active B e.source_node.length then _ else e.dir = false ∧ e.prio = 0 ∧ e.target_state = e.source_state) at he rw [hl,if_neg ha] at he exact ht.symm.trans (he.2.2.trans hq)
The recording map is injective: any two public state histories that agree at all slot start times are identical everywhere.
Suppose f and g have identical records. We prove f(t) = g(t) for all t ≤ |v| by induction on t. At t = 0, both histories agree on the initial game state. For step t to t+1, if t is active, then t = last B (slot B t), so t+1 = start B (slot B t + 1) is exactly the start of a slot; since t+1 ≤ |v|, this slot index is within range and its recorded state matches, giving f(t+1) = g(t+1). If t is inactive, both histories remain idle at step t, so f(t+1) = f(t) = g(t) = g(t+1) by the induction hypothesis. By extensionality, f = g.
uses
Subtype.ext,congrArg,timings,slot_start,congrFun,Fin.exthave hinj : Function.Injective record := by intro f g he apply Subtype.ext funext j have agree (t : ℕ) (ht : t < v.length+1) : f.val ⟨t,ht⟩ = g.val ⟨t,ht⟩ := by induction t with | zero => obtain ⟨_,hf⟩ := f.property obtain ⟨_,hg⟩ := g.property exact hf.1.trans hg.1.symm | succ t ih => have htv : t < v.length := by omega by_cases ha : active B t · have hstart : t+1 = start B (slot B t+1) := by change t = last B (slot B t) at ha exact (congrArg (· + 1) ha).trans (timings hB _).2 have hs : slot B t < slot B v.length := by have hm := smono (show t+1 ≤ v.length by omega) rw [hstart,slot_start hB] at hm omega have hh := congrFun he (⟨slot B t,hs⟩ : Fin (slot B v.length)) change f.val (time ⟨slot B t,hs⟩) = g.val (time ⟨slot B t,hs⟩) at hh have heq : time ⟨slot B t,hs⟩ = ⟨t+1,ht⟩ := Fin.ext hstart.symm rwa [heq] at hh · exact (idle f ⟨t,htv⟩ ha).trans ((ih (by omega)).trans (idle g ⟨t,htv⟩ ha).symm) exact agree j.val j.isLt
The number of public state histories along v in the arena is at most |v| + 1.
Because the recording map is injective, the cardinality of S is bounded by the cardinality of the function space from Fin(slot B (|v|)) to Q, which is |Q|^(slot B (|v|)). Since |Q| ≤ B, this is at most B^(slot B (|v|)) = B^(⌊log_B(|v|+1)⌋). Since |v|+1 > 0, the elementary bound B^(⌊log_B x⌋) ≤ x gives at most |v|+1.
uses
Fintype.card_le_of_injective,Fintype.card_fun,Set.fintypeCard_eq_ncard,Nat.pow_le_pow_left,Nat.pow_log_le_self,Nat.succ_ne_zerolet _ := Fintype.ofFinite S have hi := Fintype.card_le_of_injective record hinj have hf : S.ncard ≤ (Fintype.card Q)^(slot B v.length) := by simpa [Fintype.card_fun,Set.fintypeCard_eq_ncard] using hi exact hf.trans ((Nat.pow_le_pow_left hcard _).trans (Nat.pow_log_le_self B (Nat.succ_ne_zero v.length)))
In the padded game op1385SparseClockArena G B, the total number of public state histories along v is at most |v| + 1.
By definition, op1385SparseClockArena G B is Op1385Clock.arena G B, so the theorem follows immediately from Op1385Clock.sparse_total_histories.
uses
Op1385Clock.sparse_total_historiesexact Op1385Clock.sparse_total_histories G hB hcard v
Nat.log_mono_right- The base-b logarithm is monotone: if n ≤ m, then ⌊log_b n⌋ ≤ ⌊log_b m⌋.
Nat.succ_le_succ- If n ≤ m, then n + 1 ≤ m + 1.
inside- In base B > 1, any time t lies within its assigned slot: start B (slot B t) ≤ t ≤ last B (slot B t).
Nat.min_eq_left- If a ≤ b, then min(a, b) = a.
if_neg- If a condition c is false, then (if c then t else e) evaluates to e.
Subtype.ext- Two elements of a subtype are equal if their underlying values are equal.
congrArg- Applying a function to equal inputs yields equal outputs.
timings- In base B > 1, the step immediately following the end of slot n is the start of slot n + 1.
slot_start- In base B > 1, the slot index containing start B n is n.
congrFun- Equal functions yield equal outputs when evaluated at the same argument.
Fin.ext- Two elements of Fin n are equal if their underlying natural numbers are equal.
Fintype.card_le_of_injective- An injective map between finite types implies that the cardinality of the domain is at most that of the codomain.
Fintype.card_fun- The number of functions between finite types α and β is |β|^|α|.
Set.fintypeCard_eq_ncard- The Fintype cardinality of a set equals its noncomputable cardinality ncard.
Nat.pow_le_pow_left- If n ≤ m, then n^i ≤ m^i for any exponent i.
Nat.pow_log_le_self- For any base b and positive integer x, b^(⌊log_b x⌋) ≤ x.
Nat.succ_ne_zero- The successor of any natural number is nonzero (n + 1 ≠ 0).
Op1385Clock.sparse_total_histories- In the sparse clock arena with base B > 1 and |Q| ≤ B, the number of public state histories along any binary path v is at most length(v) + 1.
- The definition `op1385SparseClockArena G B` is definitionally identical to `Op1385Clock.arena G B`, making the top-level theorem a direct corollary of the inner namespace theorem.
- The finite type instance on the set of public histories S is derived noncomputably from the finiteness of the function type.
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.
def op1385PublicStateHistories {Q : Type} (G : PrioritizedBorelGame Q 3) (v : List Bool) : Set (Fin (v.length+1) → Q) := {h | ∃ q, h ∈ op1385StateHistories G v q}namespace Op1385Clocktheorem sparse_total_histories {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) {B : ℕ} (hB : 1 < B) (hcard : Fintype.card Q ≤ B) (v : List Bool) : (op1385PublicStateHistories (arena G B) v).ncard ≤ v.length+1 := by classical let S := op1385PublicStateHistories (arena G B) v have smono : Monotone (slot B) := fun _ _ h => Nat.log_mono_right (Nat.succ_le_succ h) let time (i : Fin (slot B v.length)) : Fin (v.length+1) := ⟨start B (i.val+1),by have hs := (strict hB).monotone (show i.val+1 ≤ slot B v.length from i.isLt) have hh := (inside hB v.length).1 omega⟩ let record (h : S) (i : Fin (slot B v.length)) := h.val (time i) have idle (h : S) (j : Fin v.length) (ha : ¬active B j.val) : h.val j.succ = h.val j.castSucc := by obtain ⟨_,hh⟩ := h.property obtain ⟨e,he,hv,hq,_,ht⟩ := hh.2.2 j have hl : e.source_node.length = j.val := by simp [hv,Nat.min_eq_left j.isLt.le] change (if active B e.source_node.length then _ else e.dir = false ∧ e.prio = 0 ∧ e.target_state = e.source_state) at he rw [hl,if_neg ha] at he exact ht.symm.trans (he.2.2.trans hq) have hinj : Function.Injective record := by intro f g he apply Subtype.ext funext j have agree (t : ℕ) (ht : t < v.length+1) : f.val ⟨t,ht⟩ = g.val ⟨t,ht⟩ := by induction t with | zero => obtain ⟨_,hf⟩ := f.property obtain ⟨_,hg⟩ := g.property exact hf.1.trans hg.1.symm | succ t ih => have htv : t < v.length := by omega by_cases ha : active B t · have hstart : t+1 = start B (slot B t+1) := by change t = last B (slot B t) at ha exact (congrArg (· + 1) ha).trans (timings hB _).2 have hs : slot B t < slot B v.length := by have hm := smono (show t+1 ≤ v.length by omega) rw [hstart,slot_start hB] at hm omega have hh := congrFun he (⟨slot B t,hs⟩ : Fin (slot B v.length)) change f.val (time ⟨slot B t,hs⟩) = g.val (time ⟨slot B t,hs⟩) at hh have heq : time ⟨slot B t,hs⟩ = ⟨t+1,ht⟩ := Fin.ext hstart.symm rwa [heq] at hh · exact (idle f ⟨t,htv⟩ ha).trans ((ih (by omega)).trans (idle g ⟨t,htv⟩ ha).symm) exact agree j.val j.isLt let _ := Fintype.ofFinite S have hi := Fintype.card_le_of_injective record hinj have hf : S.ncard ≤ (Fintype.card Q)^(slot B v.length) := by simpa [Fintype.card_fun,Set.fintypeCard_eq_ncard] using hi exact hf.trans ((Nat.pow_le_pow_left hcard _).trans (Nat.pow_log_le_self B (Nat.succ_ne_zero v.length)))end Op1385Clocktheorem prioritized_borel_sparse_clock_total_history_bound {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) {B : ℕ} (hB : 1 < B) (hcard : Fintype.card Q ≤ B) (v : List Bool) : (op1385PublicStateHistories (op1385SparseClockArena G B) v).ncard ≤ v.length+1 := by exact Op1385Clock.sparse_total_histories G hB hcard v