op869_macro_step_strategy_simulation
A strategy in one finite game transfers to another if each source move can be simulated by at most B target moves, preserving a state relation or reaching the target goal early.
Statement
theorem op869_macro_step_strategy_simulation {S₁ S₂ M₁ M₂ R₁ R₂ : Type} (g₁ : S₁ → Prop) (g₂ : S₂ → Prop) (legal₁ : S₁ → M₁ → Prop) (legal₂ : S₂ → M₂ → Prop) (valid₁ : S₁ → M₁ → R₁ → Prop) (valid₂ : S₂ → M₂ → R₂ → Prop) (next₁ : S₁ → M₁ → R₁ → S₁) (next₂ : S₂ → M₂ → R₂ → S₂) (rel : S₁ → S₂ → Prop) (B : ℕ) (hgoal : ∀ s₁ s₂, rel s₁ s₂ → g₁ s₁ → g₂ s₂) (hstep : ∀ s₁ s₂, rel s₁ s₂ → ∀ a₁, legal₁ s₁ a₁ → op869_sequential_goal_game (fun s₂' => g₂ s₂' ∨ ∃ r₁, valid₁ s₁ a₁ r₁ ∧ rel (next₁ s₁ a₁ r₁) s₂') legal₂ valid₂ next₂ B s₂) : ∀ fuel s₁ s₂, rel s₁ s₂ → op869_sequential_goal_game g₁ legal₁ valid₁ next₁ fuel s₁ → op869_sequential_goal_game g₂ legal₂ valid₂ next₂ (B*fuel) s₂
- Source
- AFTD formalization of arXiv:2610.41516, Lemma 2.5
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- op869_bounded_game_sequential_composeIf an adversary can force a chosen intermediate state property within fuel₁ moves, and can then force K colors within fuel₂ further moves…
- Used by 2
- op869_one_sided_bipartite_gadgetA t-fold adversary can build a bipartite graph in at most 2^(j+1)-1 vertices with one side containing at least t+j ceil(t/2) colors.
- op869_fold_macro_step_implies_forcingA bounded q-fold coloring strategy transfers to a bounded t-fold strategy whenever a related target state can simulate each source move in…
The proof, explained
The simulation transfers a winning strategy from a source game to a target game by induction on fuel. Each source move is simulated by at most B target moves to reach an intermediate condition, and the early bind theorem chains this with the inductive hypothesis for the remaining rounds.
Base case m = 0 of op869_game_early_bind holds vacuously. automation
With 0 fuel, the assumption hfirst is False by definition of op869_sequential_goal_game.
uses
op869_sequential_goal_gameinduction m generalizing s with | zero => simp [op869_sequential_goal_game] at hfirst
In inductive step of early bind, unpack the first move.
Unpack the winning move a and its legality from hfirst.
uses
op869_sequential_goal_game,Nat.succ_addsimp only [op869_sequential_goal_game] at hfirst simp only [Nat.succ_add, op869_sequential_goal_game] obtain ⟨a, ha, hnext⟩ := hfirst refine ⟨a, ha, ?_⟩
Handle responses for early bind. automation
For each response, case analysis on intermediate goal and inductive hypothesis.
uses
Or.inl,Or.inr,op869_sequential_fuel_mono_internalintro r hr rcases hnext r hr with hmid | hrest · rcases hcont _ hmid with hgoal | hfuture · exact Or.inl hgoal · right exact op869_sequential_fuel_mono_internal goal legal valid next n (m+n) _ (by omega) hfuture · exact Or.inr (ih _ hrest)
Base case fuel = 0 of simulation holds vacuously. automation
With 0 fuel, the source game assumption is False.
uses
op869_sequential_goal_gameintro fuel induction fuel with | zero => intro s₁ s₂ hrel hsource simp [op869_sequential_goal_game] at hsource
In inductive step, extract the source move and define continuation.
Extract the source move a1, simulate B steps to an intermediate state, and show any intermediate state either satisfies g2 or can continue for B*fuel steps.
uses
op869_sequential_goal_game,Or.inl,Or.inrintro s₁ s₂ hrel hsource simp only [op869_sequential_goal_game] at hsource obtain ⟨a₁, ha₁, hnext⟩ := hsource have hfirst := hstep s₁ s₂ hrel a₁ ha₁ have hcont : ∀ s₂', (g₂ s₂' ∨ ∃ r₁, valid₁ s₁ a₁ r₁ ∧ rel (next₁ s₁ a₁ r₁) s₂') → g₂ s₂' ∨ op869_sequential_goal_game g₂ legal₂ valid₂ next₂ (B*fuel) s₂' := by intro s₂' h rcases h with hgoal₂ | ⟨r₁, hr₁, hrel'⟩ · exact Or.inl hgoal₂ · rcases hnext r₁ hr₁ with hgoal₁ | hgame · exact Or.inl (hgoal _ _ hrel' hgoal₁) · exact Or.inr (ih _ _ hrel' hgame)
Chain the games and conclude. automation
Apply op869_game_early_bind to compose the B-step simulation with the remaining fuel.
uses
op869_game_early_bindhave hout := op869_game_early_bind g₂ (fun s₂' => g₂ s₂' ∨ ∃ r₁, valid₁ s₁ a₁ r₁ ∧ rel (next₁ s₁ a₁ r₁) s₂') legal₂ valid₂ next₂ B (B*fuel) s₂ hfirst hcont have heq : B + B*fuel = B*(fuel+1) := by ring rwa [heq] at hout
op869_sequential_goal_game- 0 fuel in sequential goal game is contradictory
Nat.succ_add- successor addition formula
Or.inl- left disjunction injection
op869_sequential_fuel_mono_internal- fuel monotonicity
Or.inr- right disjunction injection
op869_game_early_bind- early bind theorem
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 op869_game_early_bind {S M R : Type} (goal intermediate : S → Prop) (legal : S → M → Prop) (valid : S → M → R → Prop) (next : S → M → R → S) (m n : ℕ) (s : S) (hfirst : op869_sequential_goal_game intermediate legal valid next m s) (hcont : ∀ s, intermediate s → goal s ∨ op869_sequential_goal_game goal legal valid next n s) : op869_sequential_goal_game goal legal valid next (m+n) s := by induction m generalizing s with | zero => simp [op869_sequential_goal_game] at hfirst | succ m ih => simp only [op869_sequential_goal_game] at hfirst simp only [Nat.succ_add, op869_sequential_goal_game] obtain ⟨a, ha, hnext⟩ := hfirst refine ⟨a, ha, ?_⟩ intro r hr rcases hnext r hr with hmid | hrest · rcases hcont _ hmid with hgoal | hfuture · exact Or.inl hgoal · right exact op869_sequential_fuel_mono_internal goal legal valid next n (m+n) _ (by omega) hfuture · exact Or.inr (ih _ hrest)/-- A many-move strategy-simulation principle for the online-coloring construction. -/theorem op869_macro_step_strategy_simulation {S₁ S₂ M₁ M₂ R₁ R₂ : Type} (g₁ : S₁ → Prop) (g₂ : S₂ → Prop) (legal₁ : S₁ → M₁ → Prop) (legal₂ : S₂ → M₂ → Prop) (valid₁ : S₁ → M₁ → R₁ → Prop) (valid₂ : S₂ → M₂ → R₂ → Prop) (next₁ : S₁ → M₁ → R₁ → S₁) (next₂ : S₂ → M₂ → R₂ → S₂) (rel : S₁ → S₂ → Prop) (B : ℕ) (hgoal : ∀ s₁ s₂, rel s₁ s₂ → g₁ s₁ → g₂ s₂) (hstep : ∀ s₁ s₂, rel s₁ s₂ → ∀ a₁, legal₁ s₁ a₁ → op869_sequential_goal_game (fun s₂' => g₂ s₂' ∨ ∃ r₁, valid₁ s₁ a₁ r₁ ∧ rel (next₁ s₁ a₁ r₁) s₂') legal₂ valid₂ next₂ B s₂) : ∀ fuel s₁ s₂, rel s₁ s₂ → op869_sequential_goal_game g₁ legal₁ valid₁ next₁ fuel s₁ → op869_sequential_goal_game g₂ legal₂ valid₂ next₂ (B*fuel) s₂ := by intro fuel induction fuel with | zero => intro s₁ s₂ hrel hsource simp [op869_sequential_goal_game] at hsource | succ fuel ih => intro s₁ s₂ hrel hsource simp only [op869_sequential_goal_game] at hsource obtain ⟨a₁, ha₁, hnext⟩ := hsource have hfirst := hstep s₁ s₂ hrel a₁ ha₁ have hcont : ∀ s₂', (g₂ s₂' ∨ ∃ r₁, valid₁ s₁ a₁ r₁ ∧ rel (next₁ s₁ a₁ r₁) s₂') → g₂ s₂' ∨ op869_sequential_goal_game g₂ legal₂ valid₂ next₂ (B*fuel) s₂' := by intro s₂' h rcases h with hgoal₂ | ⟨r₁, hr₁, hrel'⟩ · exact Or.inl hgoal₂ · rcases hnext r₁ hr₁ with hgoal₁ | hgame · exact Or.inl (hgoal _ _ hrel' hgoal₁) · exact Or.inr (ih _ _ hrel' hgame) have hout := op869_game_early_bind g₂ (fun s₂' => g₂ s₂' ∨ ∃ r₁, valid₁ s₁ a₁ r₁ ∧ rel (next₁ s₁ a₁ r₁) s₂') legal₂ valid₂ next₂ B (B*fuel) s₂ hfirst hcont have heq : B + B*fuel = B*(fuel+1) := by ring rwa [heq] at hout