AFTD Auto-Formalizing Theoretical Domains

prioritized_borel_linear_depth_history_memory_equivalence

theoremverifiedoriginal

Every 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 total at each fixed public node v, combining all terminal states as in op1385PublicStateHistories H v. For every natural b, the proposition HasWinningStrategyInMem H b is equivalent to HasWinningStrategyInMem G b. In each game this proposition means that at least one player has a winning strategy with at most b memory states.

Statement

theorem prioritized_borel_linear_depth_history_memory_equivalence {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) :
    ∃ H : PrioritizedBorelGame Q 3, (∀ v, (op1385PublicStateHistories H v).ncard ≤ v.length+1) ∧
      ∀ b, HasWinningStrategyInMem H b ↔ HasWinningStrategyInMem G b
Related work
arXiv:2611.10136, Conjecture 19. Sparse public clock for OP-1385.
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 14

Read back from the Lean

The theorem prioritized_borel_linear_depth_history_memory_equivalence asserts that for any finite type Q and any 3-priority prioritized Borel game G on Q, there exists another 3-priority prioritized Borel game H on the same state space Q such that: 1. For every binary sequence v : List Bool, the set op1385PublicStateHistories H v has set cardinality (via Set.ncard) at most v.length + 1. 2. For every natural number b : ℕ, some player (Eve or Adam) has a winning strategy in H with a memory type of cardinality at most b if and only if some player has a winning strategy in G with a memory type of cardinality at most b.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The proof constructs the sparse clock arena H from G with clock parameter B = |Q| + 2, in which steps are partitioned into slots of idle wait steps followed by an active step. Linear depth on public state histories for H follows from the previously proved bound `prioritized_borel_sparse_clock_total_history_bound`. The equivalence of winning strategies with memory bound b is established in both directions: any winning strategy in H pulls back to G using `prioritized_borel_sparse_clock_strategy_pullback`, while any winning strategy in G is lifted to H by inserting wait steps on inactive clock cycles via `insertWaits`, proved winning by `forward`.

  1. Definition of edge rewriting `writeEdge` and lemma `read_write` establishing that decoding a written edge recovers the original edge.

    Given a tree edge e and binary path w, `writeEdge w e` replaces the source node of e with w. The lemma `read_write` proves that if e has source node `decode B w`, then reading `writeEdge w e` via `readEdge B` replaces w back with `decode B w`, which equals e's original source node, recovering e identically.

    lines 1–13

    namespace Op1385Clock
    
    private def writeEdge {Q : Type} (w : List Bool) (e : TreeGameEdge Q 3) : TreeGameEdge Q 3 :=
      ⟨w,e.source_state,e.dir,e.prio,e.target_state⟩
    
    private theorem read_write {Q : Type} (B : ℕ) (w : List Bool) (e : TreeGameEdge Q 3)
        (h : e.source_node = decode B w) : readEdge B (writeEdge w e) = e := by
      cases e with
      | mk v q b p r =>
        change v = decode B w at h
        subst v
        rfl
    
  2. Construction of the lifted finite-memory strategy `insertWaits` in the clock arena.

    For a finite-memory strategy σ in G, `insertWaits` defines a strategy in the clock arena with the same initial memory. At active time steps (the end of each slot), the strategy executes σ's choice using the decoded path and updates memory with the decoded edge; at inactive steps, it performs an idle loop (direction `false`, priority 0, same state) without updating memory. The proof of `choice_edge` verifies by case analysis on whether the current step is active that these choices are valid edges in the arena, using `read_write` to verify the active case.

    lines 14–34

    uses if_pos, read_write, if_neg

    noncomputable def insertWaits {Q M : Type} (G : PrioritizedBorelGame Q 3) (B : ℕ)
        (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy G pl M) : FiniteMemoryStrategy (arena G B) pl M where
      init_mem := σ.init_mem
      update m e := if active B e.source_node.length then σ.update m (readEdge B e) else m
      choice m w q := if active B w.length then writeEdge w (σ.choice m (decode B w) q) else ⟨w,q,false,0,q⟩
      choice_edge m w q ho := by
        change G.owner (decode B w,q) = pl at ho
        by_cases ha : active B w.length
        · rw [if_pos ha]
          obtain ⟨he,hv,hq⟩ := σ.choice_edge m (decode B w) q ho
          refine ⟨?_,rfl,hq⟩
          change if active B w.length then readEdge B (writeEdge w _) ∈ _ else _
          rw [if_pos ha]
          rw [read_write B w _ hv]
          exact he
        · rw [if_neg ha]
          refine ⟨?_,rfl,rfl⟩
          change if active B w.length then _ else _
          rw [if_neg ha]
          exact ⟨rfl,rfl,rfl⟩
    
  3. Lemma `constant_inside`: any quantity that remains invariant across inactive steps is constant throughout the entire slot, from its start to its last step.

    By induction on the offset i ≤ gap B n from the start of slot n, each intermediate step start B n + i belongs to slot n and is not active by linear arithmetic (`omega`). The hypothesis `hstep` guarantees f(t + 1) = f(t) on inactive steps, so f(start B n + i) = f(start B n) for all i. Setting i = gap B n and using `timings` equates f(last B n) with f(start B n).

    lines 35–48

    uses timings, slot_iff, Nat.add_assoc, le_rfl

    theorem constant_inside {A : Type} {B : ℕ} (hB : 1 < B) (f : ℕ → A)
        (hstep : ∀ t, ¬active B t → f (t+1) = f t) (n : ℕ) :
        f (last B n) = f (start B n) := by
      have aux (i : ℕ) (hi : i ≤ gap B n) : f (start B n+i) = f (start B n) := by
        induction i with
        | zero => simp
        | succ i ih =>
          have ht := timings hB n
          have hs : slot B (start B n+i) = n := (slot_iff hB _ _).mpr (by omega)
          have ha : ¬active B (start B n+i) := by unfold active; rw [hs]; omega
          rw [← Nat.add_assoc,hstep _ ha,ih (by omega)]
      rw [← (timings hB n).1]
      exact aux _ le_rfl
    
  4. In `forward`, setting up the projected play π and establishing that the arena play ρ and strategy memory remain constant across inactive steps in each slot.

    Given a valid arena play ρ consistent with `insertWaits G B pl σ`, the length of the node at time t equals t via `op1385_play_nodes`. Thus, time step last B n is an active step. On inactive steps, ρ is forced by the arena rules to be an idle step (priority 0, unchanged state), and the memory update does nothing. Applying `constant_inside` shows that both the state and the memory state at last B n equal those at start B n.

    lines 49–68

    uses op1385_play_nodes, List.length_ofFn, slot_last, if_neg, constant_inside

    theorem forward {Q M : Type} (G : PrioritizedBorelGame Q 3) {B : ℕ} (hB : 1 < B) (pl : BorelGamePlayer)
        (σ : FiniteMemoryStrategy G pl M) (hw : PrioritizedBorelStrategyWins G pl σ) :
        PrioritizedBorelStrategyWins (arena G B) pl (insertWaits G B pl σ) := by
      intro ρ hleg hinit hnext hcons
      obtain ⟨m,hm,hu,hc⟩ := hcons
      let π (n : ℕ) := readEdge B (ρ (last B n))
      have nodes := op1385_play_nodes ρ hinit.1 (fun j => (hnext j).1)
      have hl (t : ℕ) : (ρ t).source_node.length = t := by rw [nodes,op1385FnPrefix,List.length_ofFn]
      have act (n : ℕ) : active B (ρ (last B n)).source_node.length := by rw [hl]; exact (congrArg (last B) (slot_last hB n)).symm
      have idle (t : ℕ) (ha : ¬active B t) : (ρ t).dir = false ∧ (ρ t).prio = 0 ∧ (ρ t).target_state = (ρ t).source_state := by
        have h := hleg t
        change (if active B (ρ t).source_node.length then _ else _) at h
        rwa [hl,if_neg ha] at h
      have hst (n : ℕ) : (ρ (last B n)).source_state = (ρ (start B n)).source_state :=
        constant_inside hB (fun t => (ρ t).source_state) (fun t ht => (hnext t).2.trans (idle t ht).2.2) n
      have hmem (n : ℕ) : m (last B n) = m (start B n) := constant_inside hB m (by
        intro t ht
        rw [hu]
        change (if active B (ρ t).source_node.length then _ else _) = _
        rw [hl,if_neg ht]) n
  5. In `forward`, showing that the projected edges π(n) are valid in G and their source nodes match the prefix of played directions.

    Because step last B n is active, the definition of edges in the arena implies that π(n) = readEdge B (ρ(last B n)) is a valid edge of G. The source node of π(n) is decode B (ρ(last B n).source_node). Comparing elements index by index via `List.ext_getElem` and using the strict monotonicity of `last` shows that this decoded path is exactly the prefix of directions played at the active steps up to step n.

    lines 69–82

    uses if_pos, List.ext_getElem, slot_last, last_strict, List.getElem_ofFn

      have hπ (n : ℕ) : π n ∈ G.edges := by
        have h := hleg (last B n)
        change (if active B (ρ (last B n)).source_node.length then π n ∈ G.edges else _) at h
        rwa [if_pos (act n)] at h
      have hver (n : ℕ) : (π n).source_node = op1385FnPrefix (fun j => (ρ (last B j)).dir) n := by
        change decode B (ρ (last B n)).source_node = _
        apply List.ext_getElem
        · simp [decode,hl,slot_last hB,op1385FnPrefix]
        · intro i h₁ h₂
          have hlt : i < n := by simpa [op1385FnPrefix] using h₂
          have hlt' := last_strict hB hlt
          simp only [decode,List.getElem_ofFn,op1385FnPrefix]
          rw [nodes]
          simp [op1385FnPrefix,hlt']
  6. In `forward`, verifying that π satisfies the initial condition, step-by-step edge connectivity, and consistency with σ.

    The initial node of π(0) is empty and its initial state is G's initial state, using start B 0 = 0. Successive nodes extend by direction via `op1385_fn_prefix_succ`, and successive states match because the state is constant within each slot and advances across consecutive slots via `timings`. The memory sequence m(last B n) starts at σ's initial memory, updates according to σ on each active transition, and on pl-owned nodes matches σ's choice by applying `read_write` to the arena choice condition.

    lines 83–102

    uses start_zero, op1385_fn_prefix_succ, timings, if_pos, read_write

      have hπinit : (π 0).source_node = [] ∧ (π 0).source_state = G.init_state :=
        ⟨(hver 0).trans (by simp [op1385FnPrefix]),(hst 0).trans (by simpa [start_zero,arena] using hinit.2)⟩
      have hπnext (n : ℕ) : (π (n+1)).source_node = (π n).source_node ++ [(π n).dir] ∧
          (π (n+1)).source_state = (π n).target_state := by
        refine ⟨by rw [hver,hver,op1385_fn_prefix_succ]; rfl,?_⟩
        exact (hst (n+1)).trans ((timings hB n).2 ▸ (hnext (last B n)).2)
      have hπcons : ∃ mem : ℕ → M, mem 0 = σ.init_mem ∧ (∀ n, mem (n+1) = σ.update (mem n) (π n)) ∧
          (∀ n, G.owner ((π n).source_node,(π n).source_state) = pl → π n = σ.choice (mem n) (π n).source_node (π n).source_state) := by
        refine ⟨fun n => m (last B n),(hmem 0).trans (by simpa [start_zero,insertWaits] using hm),?_,?_⟩
        · intro n
          change m (last B (n+1)) = σ.update (m (last B n)) (π n)
          rw [hmem (n+1),← (timings hB n).2,hu]
          exact if_pos (act n)
        · intro n ho
          have h := hc (last B n) ho
          have hh := congrArg (readEdge B) h
          change π n = readEdge B (if active B _ then writeEdge _ _ else _) at hh
          rw [if_pos (act n)] at hh
          have hv := (σ.choice_edge (m (last B n)) _ _ ho).2.1
          exact hh.trans (read_write B _ _ hv)
  7. In `forward`, concluding that ρ satisfies the winning payoff condition in the arena if and only if π wins in G, proving the lifted strategy wins.

    Because π is a valid play consistent with σ, σ winning implies π satisfies the winning condition. The lemma `max_on_clock` shows that the maximum priority visited infinitely often in ρ coincides with that in π, since all inactive steps have priority 0. Therefore, the payoff condition in the arena is equivalent to the payoff condition in G, ensuring that pl wins in the arena whether pl is Eve or Adam.

    lines 103–116

    uses max_on_clock

      have win := hw π hπ hπinit hπnext hπcons
      have hmax := max_on_clock hB (fun n => (π n).prio) (fun t => (ρ t).prio) (fun _ => rfl) (fun t ht => (idle t ht).2.1)
      have eqpay : op1385Payoff (arena G B) ρ ↔ op1385Payoff G π := by
        constructor
        · rintro ⟨p,hf,hh,hw⟩
          have h := (hmax p).mp ⟨hf,hh⟩
          exact ⟨p,h.1,h.2,hw⟩
        · rintro ⟨p,hf,hh,hw⟩
          have h := (hmax p).mpr ⟨hf,hh⟩
          exact ⟨p,h.1,h.2,hw⟩
      cases pl with
      | Eve => exact eqpay.mpr win
      | Adam => exact fun h => win (eqpay.mp h)
    
  8. Proof of the main equivalence theorem `prioritized_borel_linear_depth_history_memory_equivalence`.

    Setting B = |Q| + 2 ensures 1 < B and |Q| ≤ B. The witness game H is `op1385SparseClockArena G B`, which satisfies the linear history bound by `prioritized_borel_sparse_clock_total_history_bound`. For any memory bound b, if H has a winning strategy with ≤ b states, `prioritized_borel_sparse_clock_strategy_pullback` produces a winning strategy for G with the same memory size. Conversely, if G has a winning strategy σ with ≤ b states, `Op1385Clock.insertWaits` provides a strategy for H with the same memory size, which is winning by `Op1385Clock.forward`.

    lines 117–131

    uses prioritized_borel_sparse_clock_total_history_bound, prioritized_borel_sparse_clock_strategy_pullback, Op1385Clock.insertWaits, Op1385Clock.forward

    end Op1385Clock
    
    theorem prioritized_borel_linear_depth_history_memory_equivalence {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) :
        ∃ H : PrioritizedBorelGame Q 3, (∀ v, (op1385PublicStateHistories H v).ncard ≤ v.length+1) ∧
          ∀ b, HasWinningStrategyInMem H b ↔ HasWinningStrategyInMem G b := by
      let B := Fintype.card Q + 2
      have hB : 1 < B := by dsimp [B]; omega
      refine ⟨op1385SparseClockArena G B,prioritized_borel_sparse_clock_total_history_bound G hB (by dsimp [B]; omega),?_⟩
      intro b
      constructor
      · rintro ⟨pl,M,inst,hcard,σ,hwin⟩
        obtain ⟨τ,hτ⟩ := prioritized_borel_sparse_clock_strategy_pullback G hB pl σ hwin
        exact ⟨pl,M,inst,hcard,τ,hτ⟩
      · rintro ⟨pl,M,inst,hcard,σ,hwin⟩
        exact ⟨pl,M,inst,hcard,Op1385Clock.insertWaits G B pl σ,Op1385Clock.forward G hB pl σ hwin⟩
read_write
If the source node of an edge e equals decode B w, then reading the edge produced by writeEdge w e recovers e.
if_pos
If condition c holds, then (if c then t else e) equals t.
if_neg
If condition c does not hold, then (if c then t else e) equals e.
timings
For clock parameter B > 1 and slot index n, start B n + gap B n = last B n and last B n + 1 = start B (n + 1).
slot_iff
For B > 1, time step t belongs to slot n if and only if start B n ≤ t < start B (n + 1).
Nat.add_assoc
Addition of natural numbers is associative: (n + m) + k = n + (m + k).
le_rfl
Inequality on preorders is reflexive: a ≤ a.
op1385_play_nodes
In any valid play starting at the empty path with node extensions, the source node at step n is the prefix of length n formed by the directions played.
List.length_ofFn
The length of List.ofFn f equals the dimension of the domain of f.
slot_last
For B > 1, the slot containing the last step of slot n is n.
constant_inside
If a function is invariant under transitions from inactive steps, its value at last B n equals its value at start B n.
List.ext_getElem
Two lists of equal length whose elements agree at every index are equal.
last_strict
For B > 1, the mapping n ↦ last B n is strictly monotone.
List.getElem_ofFn
Accessing the i-th element of List.ofFn f yields f(i).
start_zero
The start of slot 0 is 0.
op1385_fn_prefix_succ
The prefix of length n + 1 of a sequence f is the prefix of length n followed by f(n).
max_on_clock
If g agrees with f at the last step of each slot and is 0 on inactive steps, then the maximal priority occurring infinitely often is identical in f and g.
prioritized_borel_sparse_clock_total_history_bound
In the sparse clock arena with parameter B ≥ |Q|, the number of public state histories at any node v is at most length(v) + 1.
prioritized_borel_sparse_clock_strategy_pullback
A winning finite-memory strategy in the sparse clock arena can be pulled back to a winning finite-memory strategy in the original game with the same memory size.
Op1385Clock.insertWaits
Lifts a finite-memory strategy from the original game to the clock arena by playing original moves on active clock steps and idling on inactive steps.
Op1385Clock.forward
If a finite-memory strategy is winning in the original game, its lifted strategy via insertWaits is winning in the clock arena.

Written by a model (gemini-3.8-flash) from the Lean source alone (no goal states were available). Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

namespace Op1385Clockprivate def writeEdge {Q : Type} (w : List Bool) (e : TreeGameEdge Q 3) : TreeGameEdge Q 3 :=  ⟨w,e.source_state,e.dir,e.prio,e.target_state⟩private theorem read_write {Q : Type} (B : ℕ) (w : List Bool) (e : TreeGameEdge Q 3)    (h : e.source_node = decode B w) : readEdge B (writeEdge w e) = e := by  cases e with  | mk v q b p r =>    change v = decode B w at h    subst v    rflnoncomputable def insertWaits {Q M : Type} (G : PrioritizedBorelGame Q 3) (B : ℕ)    (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy G pl M) : FiniteMemoryStrategy (arena G B) pl M where  init_mem := σ.init_mem  update m e := if active B e.source_node.length then σ.update m (readEdge B e) else m  choice m w q := if active B w.length then writeEdge w (σ.choice m (decode B w) q) else ⟨w,q,false,0,q⟩  choice_edge m w q ho := by    change G.owner (decode B w,q) = pl at ho    by_cases ha : active B w.length    · rw [if_pos ha]      obtain ⟨he,hv,hq⟩ := σ.choice_edge m (decode B w) q ho      refine ⟨?_,rfl,hq⟩      change if active B w.length then readEdge B (writeEdge w _) ∈ _ else _      rw [if_pos ha]      rw [read_write B w _ hv]      exact he    · rw [if_neg ha]      refine ⟨?_,rfl,rfl⟩      change if active B w.length then _ else _      rw [if_neg ha]      exact ⟨rfl,rfl,rfl⟩theorem constant_inside {A : Type} {B : ℕ} (hB : 1 < B) (f : ℕ → A)    (hstep : ∀ t, ¬active B t → f (t+1) = f t) (n : ℕ) :    f (last B n) = f (start B n) := by  have aux (i : ℕ) (hi : i ≤ gap B n) : f (start B n+i) = f (start B n) := by    induction i with    | zero => simp    | succ i ih =>      have ht := timings hB n      have hs : slot B (start B n+i) = n := (slot_iff hB _ _).mpr (by omega)      have ha : ¬active B (start B n+i) := by unfold active; rw [hs]; omega      rw [← Nat.add_assoc,hstep _ ha,ih (by omega)]  rw [← (timings hB n).1]  exact aux _ le_rfltheorem forward {Q M : Type} (G : PrioritizedBorelGame Q 3) {B : ℕ} (hB : 1 < B) (pl : BorelGamePlayer)    (σ : FiniteMemoryStrategy G pl M) (hw : PrioritizedBorelStrategyWins G pl σ) :    PrioritizedBorelStrategyWins (arena G B) pl (insertWaits G B pl σ) := by  intro ρ hleg hinit hnext hcons  obtain ⟨m,hm,hu,hc⟩ := hcons  let π (n : ℕ) := readEdge B (ρ (last B n))  have nodes := op1385_play_nodes ρ hinit.1 (fun j => (hnext j).1)  have hl (t : ℕ) : (ρ t).source_node.length = t := by rw [nodes,op1385FnPrefix,List.length_ofFn]  have act (n : ℕ) : active B (ρ (last B n)).source_node.length := by rw [hl]; exact (congrArg (last B) (slot_last hB n)).symm  have idle (t : ℕ) (ha : ¬active B t) : (ρ t).dir = false ∧ (ρ t).prio = 0 ∧ (ρ t).target_state = (ρ t).source_state := by    have h := hleg t    change (if active B (ρ t).source_node.length then _ else _) at h    rwa [hl,if_neg ha] at h  have hst (n : ℕ) : (ρ (last B n)).source_state = (ρ (start B n)).source_state :=    constant_inside hB (fun t => (ρ t).source_state) (fun t ht => (hnext t).2.trans (idle t ht).2.2) n  have hmem (n : ℕ) : m (last B n) = m (start B n) := constant_inside hB m (by    intro t ht    rw [hu]    change (if active B (ρ t).source_node.length then _ else _) = _    rw [hl,if_neg ht]) n  have hπ (n : ℕ) : π n ∈ G.edges := by    have h := hleg (last B n)    change (if active B (ρ (last B n)).source_node.length then π n ∈ G.edges else _) at h    rwa [if_pos (act n)] at h  have hver (n : ℕ) : (π n).source_node = op1385FnPrefix (fun j => (ρ (last B j)).dir) n := by    change decode B (ρ (last B n)).source_node = _    apply List.ext_getElem    · simp [decode,hl,slot_last hB,op1385FnPrefix]    · intro i h₁ h₂      have hlt : i < n := by simpa [op1385FnPrefix] using h₂      have hlt' := last_strict hB hlt      simp only [decode,List.getElem_ofFn,op1385FnPrefix]      rw [nodes]      simp [op1385FnPrefix,hlt']  have hπinit : (π 0).source_node = [] ∧ (π 0).source_state = G.init_state :=    ⟨(hver 0).trans (by simp [op1385FnPrefix]),(hst 0).trans (by simpa [start_zero,arena] using hinit.2)⟩  have hπnext (n : ℕ) : (π (n+1)).source_node = (π n).source_node ++ [(π n).dir] ∧      (π (n+1)).source_state = (π n).target_state := by    refine ⟨by rw [hver,hver,op1385_fn_prefix_succ]; rfl,?_⟩    exact (hst (n+1)).trans ((timings hB n).2 ▸ (hnext (last B n)).2)  have hπcons : ∃ mem : ℕ → M, mem 0 = σ.init_mem ∧ (∀ n, mem (n+1) = σ.update (mem n) (π n)) ∧      (∀ n, G.owner ((π n).source_node,(π n).source_state) = pl → π n = σ.choice (mem n) (π n).source_node (π n).source_state) := by    refine ⟨fun n => m (last B n),(hmem 0).trans (by simpa [start_zero,insertWaits] using hm),?_,?_⟩    · intro n      change m (last B (n+1)) = σ.update (m (last B n)) (π n)      rw [hmem (n+1),← (timings hB n).2,hu]      exact if_pos (act n)    · intro n ho      have h := hc (last B n) ho      have hh := congrArg (readEdge B) h      change π n = readEdge B (if active B _ then writeEdge _ _ else _) at hh      rw [if_pos (act n)] at hh      have hv := (σ.choice_edge (m (last B n)) _ _ ho).2.1      exact hh.trans (read_write B _ _ hv)  have win := hw π hπ hπinit hπnext hπcons  have hmax := max_on_clock hB (fun n => (π n).prio) (fun t => (ρ t).prio) (fun _ => rfl) (fun t ht => (idle t ht).2.1)  have eqpay : op1385Payoff (arena G B) ρ ↔ op1385Payoff G π := by    constructor    · rintro ⟨p,hf,hh,hw⟩      have h := (hmax p).mp ⟨hf,hh⟩      exact ⟨p,h.1,h.2,hw⟩    · rintro ⟨p,hf,hh,hw⟩      have h := (hmax p).mpr ⟨hf,hh⟩      exact ⟨p,h.1,h.2,hw⟩  cases pl with  | Eve => exact eqpay.mpr win  | Adam => exact fun h => win (eqpay.mp h)end Op1385Clocktheorem prioritized_borel_linear_depth_history_memory_equivalence {Q : Type} [Fintype Q] (G : PrioritizedBorelGame Q 3) :    ∃ H : PrioritizedBorelGame Q 3, (∀ v, (op1385PublicStateHistories H v).ncard ≤ v.length+1) ∧      ∀ b, HasWinningStrategyInMem H b ↔ HasWinningStrategyInMem G b := by  let B := Fintype.card Q + 2  have hB : 1 < B := by dsimp [B]; omega  refine ⟨op1385SparseClockArena G B,prioritized_borel_sparse_clock_total_history_bound G hB (by dsimp [B]; omega),?_⟩  intro b  constructor  · rintro ⟨pl,M,inst,hcard,σ,hwin⟩    obtain ⟨τ,hτ⟩ := prioritized_borel_sparse_clock_strategy_pullback G hB pl σ hwin    exact ⟨pl,M,inst,hcard,τ,hτ⟩  · rintro ⟨pl,M,inst,hcard,σ,hwin⟩    exact ⟨pl,M,inst,hcard,Op1385Clock.insertWaits G B pl σ,Op1385Clock.forward G hB pl σ hwin⟩
See it in the graphDiscuss this resultChallenge it