prioritized_borel_latch_lookahead_prediction_obstruction
For any next-state predictor based on current public node, current state and direction, the four-state example has a legal play on which every prediction fails.
Statement
theorem prioritized_borel_latch_lookahead_prediction_obstruction (owner : List Bool × (Bool × Bool) → BorelGamePlayer) (W : Fin 3 → Set (ℕ → Bool)) (hW : ∀ p, MeasurableSet (W p)) (P : List Bool → (Bool × Bool) → Bool → (Bool × Bool)) : let G := op1385LatchLookaheadGame owner W hW ∃ π : ℕ → TreeGameEdge (Bool × Bool) 3, (∀ 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).target_state ≠ P (π n).source_node (π n).source_state (π n).dir)
- Source
- arXiv:2611.10136, Conjecture 19. A four-state separation example for OP-1385, experiment 44458.
- Verified
- 29 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 6
- op1385LatchLookaheadGameA four-state three-priority game with unrestricted priority labels, arbitrary ownership and branch payoffs, a one-way latch, and a bit…
- TreeGameEdgeA structure TreeGameEdge (Q : Type*) (k : ℕ) representing an edge in a binary tree game arena with state space Q and k priorities, with…
- PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
- BorelGamePlayerThe two players in a prioritized Borel game, Eve and Adam.
- LinearOrder.toTotalPreorderEvery
LinearOrderis aTotalPreorder. - TotalPreorderA total preorder: a preorder where
≤is total (complete). This is weaker thanLinearOrder— it does NOT require antisymmetry or…
The proof, explained
The proof constructs a valid infinite play by a diagonal argument against the next-state predictor P. At each step n, the play maintains a state with first coordinate false, moves in the direction given by its second coordinate bₙ, and chooses the next state's second coordinate bₙ₊₁ to be the negation of P's predicted second coordinate. By construction, every edge obeys the transition relation of the latch game, but every prediction fails because a boolean value cannot equal its own negation.
Construct an infinite play π by recursion on ℕ using a diagonal choice against the predictor P.
Using `Nat.rec`, we recursively define a sequence z(n) = (vₙ, bₙ), where vₙ is the path in the game tree and bₙ is a boolean flag. We start at z(0) = ([], false). At step n + 1, the path is extended by the current direction bₙ to vₙ ++ [bₙ], while the next boolean flag bₙ₊₁ is chosen to be the negation of the second component predicted by P: !(P vₙ (false, bₙ) bₙ).2. We then define the infinite play π whose n-th edge has source node vₙ, source state (false, bₙ), direction bₙ, priority 0, and target state (false, bₙ₊₁).
uses
Nat.reclet z : ℕ → List Bool × Bool := Nat.rec ([],false) (fun _ z => (z.1 ++ [z.2], !(P z.1 (false,z.2) z.2).2)) let π (n : ℕ) : TreeGameEdge (Bool × Bool) 3 := ⟨(z n).1,(false,(z n).2),(z n).2,0,(false,(z (n+1)).2)⟩
The constructed sequence π is a valid play starting from the initial node and initial state, leaving only the prediction failure to be shown.
We supply π as the witness for the existential quantifier. For every n, π(n) is a valid edge of the latch lookahead game G because the first state component satisfies false ≤ false (by reflexivity of ≤, `le_rfl`) and the direction bₙ matches the source state's second component. The starting conditions (source node is [] and source state is (false, false) = G.init_state) and the transition continuity conditions (source node of edge n + 1 is the previous node extended by the direction, and its source state is the previous target state) hold definitionally by the construction of z and π.
uses
le_rflrefine ⟨π,fun _ => ⟨le_rfl,rfl⟩,⟨rfl,rfl⟩,fun _ => ⟨rfl,rfl⟩,?_⟩
If the predictor P correctly predicted the target state at step n, the second component of the target state would equal the predicted second component.
We fix an arbitrary step n and assume for contradiction that the edge's target state equals the prediction P. Applying `congrArg Prod.snd` to this equality extracts the second component: (π n).target_state.2 = (P (π n).source_node (π n).source_state (π n).dir).2. By the recursive definition of z and π, the left-hand side is !(P vₙ (false, bₙ) bₙ).2, so the assumption reduces to !(P vₙ (false, bₙ) bₙ).2 = (P vₙ (false, bₙ) bₙ).2.
uses
congrArg,Prod.sndintro n h have hh := congrArg Prod.snd h change (!(P (z n).1 (false,(z n).2) (z n).2).2) = (P (z n).1 (false,(z n).2) (z n).2).2 at hh
A boolean value cannot equal its own negation, completing the contradiction.
We split into cases on the predicted boolean value (P vₙ (false, bₙ) bₙ).2. Whether it is false or true, the hypothesis asserts that !false = false (i.e. true = false) or !true = true (i.e. false = true), both of which are contradictions.
cases hbit : (P (z n).1 (false,(z n).2) (z n).2).2 <;> simp [hbit] at hh
Nat.rec- the principle of mathematical recursion on natural numbers: given a base value at 0 and a step function from n to n + 1, it defines a sequence on ℕ
le_rfl- reflexivity of a preorder: for any element a, a ≤ a
congrArg- function congruence: if a₁ = a₂, then f(a₁) = f(a₂)
Prod.snd- the second projection of an ordered pair: Prod.snd (x, y) = y
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_latch_lookahead_prediction_obstruction (owner : List Bool × (Bool × Bool) → BorelGamePlayer) (W : Fin 3 → Set (ℕ → Bool)) (hW : ∀ p, MeasurableSet (W p)) (P : List Bool → (Bool × Bool) → Bool → (Bool × Bool)) : let G := op1385LatchLookaheadGame owner W hW ∃ π : ℕ → TreeGameEdge (Bool × Bool) 3, (∀ 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).target_state ≠ P (π n).source_node (π n).source_state (π n).dir) := by let z : ℕ → List Bool × Bool := Nat.rec ([],false) (fun _ z => (z.1 ++ [z.2], !(P z.1 (false,z.2) z.2).2)) let π (n : ℕ) : TreeGameEdge (Bool × Bool) 3 := ⟨(z n).1,(false,(z n).2),(z n).2,0,(false,(z (n+1)).2)⟩ refine ⟨π,fun _ => ⟨le_rfl,rfl⟩,⟨rfl,rfl⟩,fun _ => ⟨rfl,rfl⟩,?_⟩ intro n h have hh := congrArg Prod.snd h change (!(P (z n).1 (false,(z n).2) (z n).2).2) = (P (z n).1 (false,(z n).2) (z n).2).2 at hh cases hbit : (P (z n).1 (false,(z n).2) (z n).2).2 <;> simp [hbit] at hh