Markers describe blank input locations and their literal neighboring syntax. They contain no sampled bit or selected strategy.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- MindFormal.A695LogicPaper.RandomInput.writeBit f z b = Function.update f z { atom := MindFormal.A595Paper.Atom.bit b }
Instances For
theorem
MindFormal.A695LogicPaper.RandomInput.writeBit_at
(f : ℤ → A595Paper.Cell)
(z : ℤ)
(b : Bool)
:
theorem
MindFormal.A695LogicPaper.RandomInput.writeBit_other
(f : ℤ → A595Paper.Cell)
(z : ℤ)
(b : Bool)
(w : ℤ)
(h : w ≠ z)
:
Equations
- MindFormal.A695LogicPaper.RandomInput.scanConfig f z = { tape := { cells := f, head := z }, control := MindFormal.A695LogicPaper.RandomInput.State.scan }
Instances For
theorem
MindFormal.A695LogicPaper.RandomInput.unmarked_not_draw
(f : ℤ → A595Paper.Cell)
(z : ℤ)
(h : (f z).candidate = false)
:
theorem
MindFormal.A695LogicPaper.RandomInput.execute_marked
(u : ℕ → Bool)
(offset : ℕ)
(f : ℤ → A595Paper.Cell)
(z : ℤ)
(hm : Markers f)
(hz : (f z).candidate = true)
:
A marked register costs one actual Draw and five subsequent ordinary commands. Both the written bit and its return to the scanning state are proved on the same literal tape.
Equations
- MindFormal.A695LogicPaper.RandomInput.scanCost f x✝ 0 = 0
- MindFormal.A695LogicPaper.RandomInput.scanCost f x✝ n.succ = (if (f x✝).candidate = true then 6 else 5) + MindFormal.A695LogicPaper.RandomInput.scanCost f (x✝ + 1) n
Instances For
def
MindFormal.A695LogicPaper.RandomInput.scanData
(u : ℕ → Bool)
:
ℕ → ℕ → (ℤ → A595Paper.Cell) → ℤ → ℤ → A595Paper.Cell
Equations
- One or more equations did not get rendered due to their size.
- MindFormal.A695LogicPaper.RandomInput.scanData u x✝² 0 x✝¹ x✝ = x✝¹
Instances For
theorem
MindFormal.A695LogicPaper.RandomInput.execute_forward
(u : ℕ → Bool)
(offset n : ℕ)
(f : ℤ → A595Paper.Cell)
(z : ℤ)
(hm : Markers f)
(hi : ∀ k < n, (f (z + ↑k)).atom ≠ A595Paper.Atom.instruction)
:
execute u offset (scanCost f z n) (scanConfig f z).pack = (scanConfig (scanData u offset n f z) (z + ↑n)).pack
The complete forward scan consumes its own time-indexed Draw bits. Every position costs five ordinary commands, with one extra command exactly at each marker; the cost is independent of the resulting bit values.