theorem
MindFormal.A595Paper.advance_instruction
(data : ℤ → Atom)
(h next : ℤ)
(hh : h ≤ next)
(hi : data next = Atom.instruction)
(hgap : ∀ (z : ℤ), h ≤ z → z < next → data z ≠ Atom.instruction ∧ data z ≠ Atom.finish)
:
theorem
MindFormal.A595Paper.find_first_instruction
(data : ℤ → Atom)
(first : ℤ)
(hh : 3 ≤ first)
(hi : data first = Atom.instruction)
(hgap : ∀ (z : ℤ), 3 ≤ z → z < first → data z ≠ Atom.instruction)
:
theorem
MindFormal.A595Paper.advance_to_end
(data : ℤ → Atom)
(h ending : ℤ)
(hh : h ≤ ending)
(hi : data ending = Atom.finish)
(hgap : ∀ (z : ℤ), h ≤ z → z < ending → data z ≠ Atom.instruction ∧ data z ≠ Atom.finish)
:
theorem
MindFormal.A595Paper.locate_last_field
(data : ℤ → Atom)
(h a : ℤ)
(hh : a ≤ h)
(ha : data a = Atom.field)
(hgap : ∀ (z : ℤ), a < z → z ≤ h → data z ≠ Atom.field)
:
MachineRun norTable (norConfig data none none none h NorState.lastField) ((h - a).toNat + 1)
(norConfig data none (some a) none (a - 1) (NorState.toBank Access.answer))