AFTD Auto-Formalizing Theoretical Domains

prioritized_borel_sparse_clock_strategy_pullback

theoremverified

Any winning strategy in the padded game pulls back to a winning strategy for the same player using the very same memory type in the original game.

Statement

theorem prioritized_borel_sparse_clock_strategy_pullback {Q M : Type} (G : PrioritizedBorelGame Q 3)
    {B : ℕ} (hB : 1 < B) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy (op1385SparseClockArena G B) pl M)
    (hw : PrioritizedBorelStrategyWins (op1385SparseClockArena G B) pl σ) :
    ∃ τ : FiniteMemoryStrategy G pl M, PrioritizedBorelStrategyWins G pl τ
Source
arXiv:2611.10136, Conjecture 19. Exponential public padding of three-priority Borel games in OP-1385, experiment 44462.
Verified
28 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 9
  • prioritized_borel_sparse_clock_preserves_payoffThe maximal recurring priority and the corresponding original branch payoff agree between an original edge sequence and its…
  • prioritized_borel_finite_hidden_opponent_choices_positionalFix a winning strategy in a prioritized tree game, with an arbitrary state type. Suppose that on every legal play, all but finitely many…
  • PrioritizedBorelStrategyWinsA strategy wins for its player if every legal play from the initial position consistent with its memory update and choices is won by that…
  • FiniteMemoryStrategyA structure FiniteMemoryStrategy {Q : Type*} {k : ℕ} (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (M : Type*) representing a…
  • TreeGameEdgeA structure TreeGameEdge (Q : Type*) (k : ℕ) representing an edge in a binary tree game arena with state space Q and k priorities, with…
  • 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…
  • prioritized_borel_payoff_tail_congrTwo prioritized-game plays have the same payoff when their directions agree everywhere and their priorities agree eventually.
  • op1385SparseClockArenaThe original game with a public exponential clock. Each block consists of forced zero-priority waiting moves followed by one original…
Used by 3

The proof, explained

To pull back a winning finite-memory strategy from the padded clock arena to the original prioritized Borel game, we define a strategy on the original game that fast-forwards the arena strategy through deterministic idle steps before making decisions and updating memory. For any play consistent with this pulled strategy, its expansion into the clock arena is a valid arena play consistent with the original arena strategy, which therefore wins. Because the winning conditions on the original play and its expansion coincide, the pulled strategy is also winning.

  1. The choice function for the pulled-back strategy is well-defined and selects a legal outgoing edge in the original game.

    By decode_phase, the owner of the arena decision node matches the owner in the original game. Applying the hypothesis that the arena strategy selects legal edges, the chosen edge in the arena is outgoing from the padded node, and real_outgoing decodes it into a legal outgoing edge in the original game.

    lines 20–25

    uses decode_phase, real_outgoing

        have hown : (arena G B).owner (node B v (gap B v.length),q) = pl := by
          change G.owner (decode B (encode B v ++ List.replicate _ false),q) = pl
          rwa [decode_phase hB _ _ le_rfl]
        have hs := σ.choice_edge (decisionMem G B pl σ m v q) _ _ hown
        have hh := real_outgoing G hB v q _ hs.1 hs.2.1 hs.2.2
        exact ⟨hh.1,hh.2.1,hh.2.2.1⟩
  2. The expanded play in the arena has the expected source node and state at all times.

    We split into cases depending on whether time t is active or idle. When active, t is the final tick of the slot, so the time offset matches the gap and the edge is a real edge; when idle, the edge is an idle edge.

    lines 31–36

    uses timings, if_pos, and_self

      by_cases ha : active B t
      · have he := timings hB (slot B t)
        have hs : gap B (π (slot B t)).source_node.length = t - start B (slot B t) := by
          rw [hl]; change t = last B (slot B t) at ha; omega
        simp only [expand,if_pos ha,realEdge,hs,and_self]
      · simp [expand,ha,idleEdge]
  3. The expanded play in the arena is legal and follows the rules of the arena game.

    We verify each condition: every edge is legal in the arena using real_legal on active steps and idle_legal on idle steps; the initial configuration matches arena.init_state; and each step correctly transitions to the next source node and state using encode_snoc for real moves and idle_succ for idle moves.

    lines 47–86

    uses op1385_play_nodes, List.length_ofFn, slot_start, real_legal, idle_legal, inside, timings, Nat.sub_self, encode_snoc, idle_succ, List.replicate_succ', List.append_assoc

      have hl (n : ℕ) : (π n).source_node.length = n := by
        rw [op1385_play_nodes π hi.1 (fun j => (hn j).1),op1385FnPrefix,List.length_ofFn]
      have hs := expand_source hB π hl
      have h0 : slot B 0 = 0 := by simpa [start_zero] using slot_start hB 0
      refine ⟨?_,?_,?_⟩
      · intro t
        by_cases ha : active B t
        · simp only [expand,if_pos ha]
          exact real_legal G hB _ (hleg _)
        · simp only [expand,if_neg ha]
          apply idle_legal G hB
          rw [hl]
          have ht := inside hB t
          have he := timings hB (slot B t)
          change t ≠ last B (slot B t) at ha
          omega
      · rw [(hs 0).1,(hs 0).2,h0,hi.1,hi.2]
        exact ⟨rfl,rfl⟩
      · intro t
        let n := slot B t
        have ht := inside hB t
        have he := timings hB n
        rw [(hs (t+1)).1,(hs (t+1)).2]
        by_cases ha : active B t
        · have hend : t = last B n := ha
          have hts : t+1 = start B (n+1) := (congrArg (·+1) hend).trans he.2
          rw [hts,slot_start hB]
          simp only [Nat.sub_self,expand,if_pos ha]
          change node B (π (n+1)).source_node 0 = (realEdge B (π n)).source_node ++ [(π n).dir] ∧
            (π (n+1)).source_state = (π n).target_state
          refine ⟨?_,(hn n).2⟩
          rw [(hn n).1]
          simp [node,realEdge,encode_snoc]
        · rw [idle_succ hB t ha]
          simp only [expand,if_neg ha,idleEdge]
          change node B (π n).source_node (t+1-start B n) =
            node B (π n).source_node (t-start B n) ++ [false] ∧ _
          have heq : t+1-start B n = (t-start B n)+1 := by change start B n ≤ t ∧ _ at ht; omega
          exact ⟨by rw [heq]; simp [node,List.replicate_succ',List.append_assoc],trivial⟩
    
  4. A winning strategy in the arena transfers to a winning strategy in the original game.

    Given a play consistent with the pulled strategy in the original game, we construct a memory trajectory in the arena that tracks the strategy through the idle steps and real steps. This shows the expanded play is consistent with the arena strategy, so the arena strategy wins. By expand_payoff, winning the expanded play in the arena is equivalent to winning the play in the original game.

    lines 90–158

    uses op1385_play_nodes, List.length_ofFn, slot_start, timings, inside, idle_succ, decode_phase, real_outgoing, idle_unique, expand_payoff

      intro π hleg hi hn hcons
      obtain ⟨m,hm0,hup,hchoice⟩ := hcons
      have hl (n : ℕ) : (π n).source_node.length = n := by
        rw [op1385_play_nodes π hi.1 (fun j => (hn j).1),op1385FnPrefix,List.length_ofFn]
      let μ (t : ℕ) := let n := slot B t
        idleMem G B pl σ (m n) (π n).source_node (π n).source_state (t - start B n)
      have h0 : slot B 0 = 0 := by simpa [start_zero] using slot_start hB 0
      obtain ⟨hE,hinit,hnext⟩ := expand_legal G hB π hleg hi hn
      have hconsistent : ∃ mem : ℕ → M, mem 0 = σ.init_mem ∧
          (∀ t, mem (t+1) = σ.update (mem t) (expand B π t)) ∧
          (∀ t, (arena G B).owner ((expand B π t).source_node,(expand B π t).source_state) = pl →
            expand B π t = σ.choice (mem t) (expand B π t).source_node (expand B π t).source_state) := by
        refine ⟨μ,by simpa [μ,h0,idleMem,pull] using hm0,?_,?_⟩
        · intro t
          let n := slot B t
          have he := timings hB n
          have hs : start B n ≤ t := (inside hB t).1
          by_cases ha : active B t
          · have hend : t = last B n := ha
            have hts : t+1 = start B (n+1) := (congrArg (·+1) hend).trans he.2
            have hgap : t-start B n = gap B (π n).source_node.length := by rw [hl]; omega
            have hmu : μ t = decisionMem G B pl σ (m n) (π n).source_node (π n).source_state := by
              change idleMem _ _ _ _ _ _ _ (t-start B n) = _
              rw [hgap]; rfl
            have hsucc : μ (t+1) = m (n+1) := by simp [μ,hts,slot_start hB,idleMem]
            rw [hsucc,hmu]
            simp only [expand,if_pos ha]
            exact hup n
          · have hslot := idle_succ hB t ha
            have hz : t+1-start B n = t-start B n+1 := by omega
            change idleMem _ _ _ _ _ _ _ _ = _
            rw [hslot]
            change idleMem _ _ _ _ _ _ _ (t+1-start B n) = _
            rw [hz]
            simp only [idleMem,expand,if_neg ha]
            rfl
        · intro t ho
          let n := slot B t
          have he := timings hB n
          obtain ⟨hle,hv,hq⟩ := σ.choice_edge (μ t) _ _ ho
          by_cases ha : active B t
          · have hend : t = last B n := ha
            have hgap : t-start B n = gap B (π n).source_node.length := by rw [hl]; omega
            have hh : expand B π t = realEdge B (π n) := by simp only [expand,if_pos ha,n]
            rw [hh] at ho hle hv hq ⊢
            have horig : G.owner ((π n).source_node,(π n).source_state) = pl := by
              change G.owner (decode B (encode B _ ++ List.replicate _ false),_) = pl at ho
              rwa [decode_phase hB _ _ le_rfl] at ho
            have hmu : μ t = decisionMem G B pl σ (m n) (π n).source_node (π n).source_state := by
              change idleMem _ _ _ _ _ _ _ (t-start B n) = _
              rw [hgap]; rfl
            have hch := hchoice n horig
            change π n = readEdge B (σ.choice (decisionMem G B pl σ (m n) _ _) _ _) at hch
            rw [← hmu] at hch
            have hout := real_outgoing G hB _ _ _ hle hv hq
            exact (congrArg (realEdge B) hch).trans hout.2.2.2
          · have hh : expand B π t = idleEdge B (π n).source_node (π n).source_state (t-start B n) := by simp only [expand,if_neg ha,n]
            rw [hh] at hle hv hq ⊢
            apply (idle_unique G hB _ _ _ _ _ hle hv hq).symm
            rw [hl]
            have hpos := inside hB t
            change start B n ≤ t ∧ t ≤ last B n at hpos
            change t ≠ last B n at ha
            omega
      have hwin := hw (expand B π) hE hinit hnext hconsistent
      have heq := expand_payoff G hB π
      cases pl with
      | Eve => exact heq.mp hwin
      | Adam => exact fun h => hwin (heq.mpr h)
  5. The pulled strategy witnesses the theorem.

    We provide the pulled strategy and its winning transfer proof as the existential witness.

    lines 162–165

    theorem prioritized_borel_sparse_clock_strategy_pullback {Q M : Type} (G : PrioritizedBorelGame Q 3)
        {B : ℕ} (hB : 1 < B) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy (op1385SparseClockArena G B) pl M)
        (hw : PrioritizedBorelStrategyWins (op1385SparseClockArena G B) pl σ) :
        ∃ τ : FiniteMemoryStrategy G pl M, PrioritizedBorelStrategyWins G pl τ := ⟨Op1385Clock.pull G hB pl σ,Op1385Clock.transfer G hB pl σ hw⟩

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

set_option maxHeartbeats 600000namespace Op1385Clockdef idleMem {Q M : Type} (G : PrioritizedBorelGame Q 3) (B : ℕ) (pl : BorelGamePlayer)    (σ : FiniteMemoryStrategy (arena G B) pl M) (m : M) (v : List Bool) (q : Q) : ℕ → M  | 0 => m  | i+1 => σ.update (idleMem G B pl σ m v q i) (idleEdge B v q i)def decisionMem {Q M : Type} (G : PrioritizedBorelGame Q 3) (B : ℕ) (pl : BorelGamePlayer)    (σ : FiniteMemoryStrategy (arena G B) pl M) (m : M) (v : List Bool) (q : Q) :=  idleMem G B pl σ m v q (gap B v.length)noncomputable def pull {Q M : Type} (G : PrioritizedBorelGame Q 3) {B : ℕ} (hB : 1 < B) (pl : BorelGamePlayer)    (σ : FiniteMemoryStrategy (arena G B) pl M) : FiniteMemoryStrategy G pl M where  init_mem := σ.init_mem  update m e := σ.update (decisionMem G B pl σ m e.source_node e.source_state) (realEdge B e)  choice m v q := readEdge B (σ.choice (decisionMem G B pl σ m v q) (node B v (gap B v.length)) q)  choice_edge m v q ho := by    have hown : (arena G B).owner (node B v (gap B v.length),q) = pl := by      change G.owner (decode B (encode B v ++ List.replicate _ false),q) = pl      rwa [decode_phase hB _ _ le_rfl]    have hs := σ.choice_edge (decisionMem G B pl σ m v q) _ _ hown    have hh := real_outgoing G hB v q _ hs.1 hs.2.1 hs.2.2    exact ⟨hh.1,hh.2.1,hh.2.2.1⟩theorem expand_source {Q : Type} {B : ℕ} (hB : 1 < B) (π : ℕ → TreeGameEdge Q 3)    (hl : ∀ n, (π n).source_node.length = n) (t : ℕ) :    (expand B π t).source_node = node B (π (slot B t)).source_node (t - start B (slot B t)) ∧    (expand B π t).source_state = (π (slot B t)).source_state := by  by_cases ha : active B t  · have he := timings hB (slot B t)    have hs : gap B (π (slot B t)).source_node.length = t - start B (slot B t) := by      rw [hl]; change t = last B (slot B t) at ha; omega    simp only [expand,if_pos ha,realEdge,hs,and_self]  · simp [expand,ha,idleEdge]theorem expand_legal {Q : Type} (G : PrioritizedBorelGame Q 3) {B : ℕ} (hB : 1 < B)    (π : ℕ → TreeGameEdge Q 3) (hleg : ∀ n, π n ∈ G.edges)    (hi : (π 0).source_node = [] ∧ (π 0).source_state = G.init_state)    (hn : ∀ n, (π (n+1)).source_node = (π n).source_node ++ [(π n).dir] ∧      (π (n+1)).source_state = (π n).target_state) :    (∀ t, expand B π t ∈ (arena G B).edges) ∧    ((expand B π 0).source_node = [] ∧ (expand B π 0).source_state = (arena G B).init_state) ∧    ∀ t, (expand B π (t+1)).source_node = (expand B π t).source_node ++ [(expand B π t).dir] ∧      (expand B π (t+1)).source_state = (expand B π t).target_state := by  have hl (n : ℕ) : (π n).source_node.length = n := by    rw [op1385_play_nodes π hi.1 (fun j => (hn j).1),op1385FnPrefix,List.length_ofFn]  have hs := expand_source hB π hl  have h0 : slot B 0 = 0 := by simpa [start_zero] using slot_start hB 0  refine ⟨?_,?_,?_⟩  · intro t    by_cases ha : active B t    · simp only [expand,if_pos ha]      exact real_legal G hB _ (hleg _)    · simp only [expand,if_neg ha]      apply idle_legal G hB      rw [hl]      have ht := inside hB t      have he := timings hB (slot B t)      change t ≠ last B (slot B t) at ha      omega  · rw [(hs 0).1,(hs 0).2,h0,hi.1,hi.2]    exact ⟨rfl,rfl⟩  · intro t    let n := slot B t    have ht := inside hB t    have he := timings hB n    rw [(hs (t+1)).1,(hs (t+1)).2]    by_cases ha : active B t    · have hend : t = last B n := ha      have hts : t+1 = start B (n+1) := (congrArg (·+1) hend).trans he.2      rw [hts,slot_start hB]      simp only [Nat.sub_self,expand,if_pos ha]      change node B (π (n+1)).source_node 0 = (realEdge B (π n)).source_node ++ [(π n).dir] ∧        (π (n+1)).source_state = (π n).target_state      refine ⟨?_,(hn n).2⟩      rw [(hn n).1]      simp [node,realEdge,encode_snoc]    · rw [idle_succ hB t ha]      simp only [expand,if_neg ha,idleEdge]      change node B (π n).source_node (t+1-start B n) =        node B (π n).source_node (t-start B n) ++ [false] ∧ _      have heq : t+1-start B n = (t-start B n)+1 := by change start B n ≤ t ∧ _ at ht; omega      exact ⟨by rw [heq]; simp [node,List.replicate_succ',List.append_assoc],trivial⟩theorem transfer {Q M : Type} (G : PrioritizedBorelGame Q 3) {B : ℕ} (hB : 1 < B) (pl : BorelGamePlayer)    (σ : FiniteMemoryStrategy (arena G B) pl M) (hw : PrioritizedBorelStrategyWins (arena G B) pl σ) :    PrioritizedBorelStrategyWins G pl (pull G hB pl σ) := by  intro π hleg hi hn hcons  obtain ⟨m,hm0,hup,hchoice⟩ := hcons  have hl (n : ℕ) : (π n).source_node.length = n := by    rw [op1385_play_nodes π hi.1 (fun j => (hn j).1),op1385FnPrefix,List.length_ofFn]  let μ (t : ℕ) := let n := slot B t    idleMem G B pl σ (m n) (π n).source_node (π n).source_state (t - start B n)  have h0 : slot B 0 = 0 := by simpa [start_zero] using slot_start hB 0  obtain ⟨hE,hinit,hnext⟩ := expand_legal G hB π hleg hi hn  have hconsistent : ∃ mem : ℕ → M, mem 0 = σ.init_mem ∧      (∀ t, mem (t+1) = σ.update (mem t) (expand B π t)) ∧      (∀ t, (arena G B).owner ((expand B π t).source_node,(expand B π t).source_state) = pl →        expand B π t = σ.choice (mem t) (expand B π t).source_node (expand B π t).source_state) := by    refine ⟨μ,by simpa [μ,h0,idleMem,pull] using hm0,?_,?_⟩    · intro t      let n := slot B t      have he := timings hB n      have hs : start B n ≤ t := (inside hB t).1      by_cases ha : active B t      · have hend : t = last B n := ha        have hts : t+1 = start B (n+1) := (congrArg (·+1) hend).trans he.2        have hgap : t-start B n = gap B (π n).source_node.length := by rw [hl]; omega        have hmu : μ t = decisionMem G B pl σ (m n) (π n).source_node (π n).source_state := by          change idleMem _ _ _ _ _ _ _ (t-start B n) = _          rw [hgap]; rfl        have hsucc : μ (t+1) = m (n+1) := by simp [μ,hts,slot_start hB,idleMem]        rw [hsucc,hmu]        simp only [expand,if_pos ha]        exact hup n      · have hslot := idle_succ hB t ha        have hz : t+1-start B n = t-start B n+1 := by omega        change idleMem _ _ _ _ _ _ _ _ = _        rw [hslot]        change idleMem _ _ _ _ _ _ _ (t+1-start B n) = _        rw [hz]        simp only [idleMem,expand,if_neg ha]        rfl    · intro t ho      let n := slot B t      have he := timings hB n      obtain ⟨hle,hv,hq⟩ := σ.choice_edge (μ t) _ _ ho      by_cases ha : active B t      · have hend : t = last B n := ha        have hgap : t-start B n = gap B (π n).source_node.length := by rw [hl]; omega        have hh : expand B π t = realEdge B (π n) := by simp only [expand,if_pos ha,n]        rw [hh] at ho hle hv hq ⊢        have horig : G.owner ((π n).source_node,(π n).source_state) = pl := by          change G.owner (decode B (encode B _ ++ List.replicate _ false),_) = pl at ho          rwa [decode_phase hB _ _ le_rfl] at ho        have hmu : μ t = decisionMem G B pl σ (m n) (π n).source_node (π n).source_state := by          change idleMem _ _ _ _ _ _ _ (t-start B n) = _          rw [hgap]; rfl        have hch := hchoice n horig        change π n = readEdge B (σ.choice (decisionMem G B pl σ (m n) _ _) _ _) at hch        rw [← hmu] at hch        have hout := real_outgoing G hB _ _ _ hle hv hq        exact (congrArg (realEdge B) hch).trans hout.2.2.2      · have hh : expand B π t = idleEdge B (π n).source_node (π n).source_state (t-start B n) := by simp only [expand,if_neg ha,n]        rw [hh] at hle hv hq ⊢        apply (idle_unique G hB _ _ _ _ _ hle hv hq).symm        rw [hl]        have hpos := inside hB t        change start B n ≤ t ∧ t ≤ last B n at hpos        change t ≠ last B n at ha        omega  have hwin := hw (expand B π) hE hinit hnext hconsistent  have heq := expand_payoff G hB π  cases pl with  | Eve => exact heq.mp hwin  | Adam => exact fun h => hwin (heq.mpr h)end Op1385Clocktheorem prioritized_borel_sparse_clock_strategy_pullback {Q M : Type} (G : PrioritizedBorelGame Q 3)    {B : ℕ} (hB : 1 < B) (pl : BorelGamePlayer) (σ : FiniteMemoryStrategy (op1385SparseClockArena G B) pl M)    (hw : PrioritizedBorelStrategyWins (op1385SparseClockArena G B) pl σ) :    ∃ τ : FiniteMemoryStrategy G pl M, PrioritizedBorelStrategyWins G pl τ := ⟨Op1385Clock.pull G hB pl σ,Op1385Clock.transfer G hB pl σ hw⟩
See it in the graphDiscuss this resultChallenge it