def
MindFormal.A695LogicPaper.GenericPaper.Description.diagnosticTape
(D : Description)
(memory : BooleanArithmetic.Memory)
(r : ℕ)
:
Start on a literal diagnostic bit, write that bit as the first native act, and continue scanning the same unchanged paper.
Equations
- D.diagnosticTape memory r = (MindFormal.A695LogicPaper.RandomInput.scanConfig (D.inputCells memory fun (x : ℕ) => false) (D.slot r)).pack
Instances For
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.unmarked_cells
(D : Description)
(memory : BooleanArithmetic.Memory)
(z : ℤ)
:
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.diagnostic_mark
(D : Description)
(memory : BooleanArithmetic.Memory)
(r : ℕ)
(hr : r < D.registers)
:
(D.diagnosticTape memory r).view 1 = RandomInput.bitGlyph (memory r) ∧ (D.diagnosticTape memory r).apply (A595Paper.Command.write 1 (RandomInput.bitGlyph (memory r))) = D.diagnosticTape memory r
theorem
MindFormal.A695LogicPaper.GenericPaper.Description.execute_diagnostic_input
(D : Description)
(u : ℕ → Bool)
(offset : ℕ)
(memory : BooleanArithmetic.Memory)
(r : ℕ)
(hr : r < D.registers)
(hcode : 0 < D.instructions)
:
have z := D.slot r;
have count :=
RandomInput.scanCost (D.inputCells memory fun (x : ℕ) => false) z (↑D.begin - z).toNat + 5 * (D.begin - 4) + 15;
RandomInput.execute u offset count (D.diagnosticTape memory r) = (RandomInput.config (fun (z : ℤ) => { atom := D.data (some ∘ memory) z }) 3
(RandomInput.State.compute A595Paper.NorState.findInstruction)).pack
All earlier inputs were literal prepared bits. Skipping their scan changes no memory; forward and return scans still enter ordinary control.