AFTD Auto-Formalizing Theoretical Domains

prioritized_borel_state_reindex_pullback

theoremverified

Transport the state of each edge along an equivalence of state types. A finite-memory winning strategy in the renamed game gives one with the same bound in the original game.

Statement

theorem prioritized_borel_state_reindex_pullback.{u,v} {Q : Type u} {R : Type v} {k : ℕ}
    (G : PrioritizedBorelGame Q k) (F : Q ≃ R) (b : ℕ) :
    HasWinningStrategyInMem (op1385ReindexGame G F) b → HasWinningStrategyInMem G b
Source
arXiv:2611.10136, Conjecture 19. Sparse public clock for OP-1385.
Verified
29 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 5
  • PrioritizedBorelGameA structure PrioritizedBorelGame (Q : Type*) (k : ℕ) representing a prioritized Borel game with state space Q and k priorities, with…
  • FiniteMemoryStrategyA structure FiniteMemoryStrategy {Q : Type*} {k : ℕ} (G : PrioritizedBorelGame Q k) (pl : BorelGamePlayer) (M : Type*) representing a…
  • HasWinningStrategyInMemThe proposition HasWinningStrategyInMem G m_bound asserts that for a prioritized Borel game G with state space Q and k priorities, there…
  • 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.
Used by 1

Lean source view module on GitHub

def op1385MapStateEdge.{u,v} {Q : Type u} {R : Type v} {k : ℕ} (f : Q → R) (e : TreeGameEdge Q k) :    TreeGameEdge R k := ⟨e.source_node,f e.source_state,e.dir,e.prio,f e.target_state⟩private theorem op1385_map_round.{u,v} {Q : Type u} {R : Type v} {k : ℕ} (F : Q ≃ R) (e : TreeGameEdge Q k) :    op1385MapStateEdge F.symm (op1385MapStateEdge F e) = e := by cases e; simp [op1385MapStateEdge]def op1385ReindexGame.{u,v} {Q : Type u} {R : Type v} {k : ℕ} (G : PrioritizedBorelGame Q k) (F : Q ≃ R) :    PrioritizedBorelGame R k where  owner z := G.owner (z.1,F.symm z.2)  init_state := F G.init_state  edges := {e | op1385MapStateEdge F.symm e ∈ G.edges}  edges_outgoing v r := by    obtain ⟨e,he,hv,hq⟩ := G.edges_outgoing v (F.symm r)    refine ⟨op1385MapStateEdge F e,?_,hv,?_⟩    · change op1385MapStateEdge F.symm (op1385MapStateEdge F e) ∈ G.edges      rwa [op1385_map_round]    · exact (congrArg F hq).trans (F.apply_symm_apply r)  winning_sets := G.winning_sets  winning_measurable := G.winning_measurabletheorem prioritized_borel_state_reindex_pullback.{u,v} {Q : Type u} {R : Type v} {k : ℕ}    (G : PrioritizedBorelGame Q k) (F : Q ≃ R) (b : ℕ) :    HasWinningStrategyInMem (op1385ReindexGame G F) b → HasWinningStrategyInMem G b := by  let H := op1385ReindexGame G F  rintro ⟨pl,M,inst,hcard,σ,hw⟩  let τ : FiniteMemoryStrategy G pl M := {    init_mem := σ.init_mem    update := fun m e => σ.update m (op1385MapStateEdge F e)    choice := fun m v q => op1385MapStateEdge F.symm (σ.choice m v (F q))    choice_edge := by      intro m v q ho      have hh : H.owner (v,F q) = pl := by simpa [H,op1385ReindexGame] using ho      obtain ⟨he,hv,hq⟩ := σ.choice_edge m v (F q) hh      exact ⟨he,hv,by simp [op1385MapStateEdge,hq]⟩ }  refine ⟨pl,M,inst,hcard,τ,?_⟩  intro π hl hi hn hcons  obtain ⟨m,hm,hu,hc⟩ := hcons  let ρ (n : ℕ) := op1385MapStateEdge F (π n)  have hleg (n : ℕ) : ρ n ∈ H.edges := by    change op1385MapStateEdge F.symm (op1385MapStateEdge F (π n)) ∈ G.edges    rw [op1385_map_round]    exact hl n  have hinit : (ρ 0).source_node = [] ∧ (ρ 0).source_state = H.init_state := ⟨hi.1,congrArg F hi.2⟩  have hnext (n : ℕ) : (ρ (n+1)).source_node = (ρ n).source_node ++ [(ρ n).dir] ∧      (ρ (n+1)).source_state = (ρ n).target_state := ⟨(hn n).1,congrArg F (hn n).2⟩  have hchoice (n : ℕ) (ho : H.owner ((ρ n).source_node,(ρ n).source_state) = pl) :      ρ n = σ.choice (m n) (ρ n).source_node (ρ n).source_state := by    have horig : G.owner ((π n).source_node,(π n).source_state) = pl := by simpa [ρ,H,op1385ReindexGame,op1385MapStateEdge] using ho    have hp := hc n horig    change π n = op1385MapStateEdge F.symm (σ.choice (m n) _ _) at hp    exact (congrArg (op1385MapStateEdge F) hp).trans (op1385_map_round F.symm _)  have win := hw ρ hleg hinit hnext ⟨m,hm,hu,hchoice⟩  cases pl <;> exact win
See it in the graphDiscuss this resultChallenge it