MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.DiagnosticCompletion

theorem MindFormal.A695LogicPaper.GenericPaper.Program.complete_diagnostic (P : Program) (u : ℕ → Bool) (offset : ℕ) (memory : BooleanArithmetic.Memory) (r : ℕ) (hr : r < P.registers) (hcode : 0 < P.code.length) :
∃ (bit : Bool), RandomInput.execute u offset (P.commandCap 0 - 1) (P.description.diagnosticTape memory r) = P.completedTape (BooleanArithmetic.run P.code memory) bit

The native diagnostic write leaves the same tape in place. Its subsequent arithmetic, scans and completion execute without a reset.