theorem
MindFormal.A695LogicPaper.RandomInput.readonly_run
(f : ℤ → A595Paper.Cell)
(z : ℤ)
(q q' : State)
(right : Bool)
(ho : (config f z q).pack.view ≠ drawView)
(ht : transition q (f z) = some (q', f z, right))
:
OrdinaryRun (config f z q).pack 5 (config f (z + A595Paper.direction right) q').pack
theorem
MindFormal.A695LogicPaper.RandomInput.back_run
(f : ℤ → A595Paper.Cell)
(bank : ℤ)
(n : ℕ)
(hb : ∀ (z : ℤ), (f z).atom = A595Paper.Atom.bank ↔ z = bank)
:
OrdinaryRun (config f (bank + ↑n) State.back).pack (5 * n) (config f bank State.back).pack
theorem
MindFormal.A695LogicPaper.RandomInput.return_run
(f : ℤ → A595Paper.Cell)
(n : ℕ)
(hb : ∀ (z : ℤ), (f z).atom = A595Paper.Atom.bank ↔ z = 3)
(hi : (f (4 + ↑n)).atom = A595Paper.Atom.instruction)
:
OrdinaryRun (scanConfig f (4 + ↑n)).pack (5 * n + 15)
(config f 3 (State.compute A595Paper.NorState.findInstruction)).pack
No Draw is hidden in the return scan, bank turn, or entry command.
theorem
MindFormal.A695LogicPaper.RandomInput.drawVisits_return
(u : ℕ → Bool)
(offset : ℕ)
(f : ℤ → A595Paper.Cell)
(n : ℕ)
(hb : ∀ (z : ℤ), (f z).atom = A595Paper.Atom.bank ↔ z = 3)
(hi : (f (4 + ↑n)).atom = A595Paper.Atom.instruction)
: