MindFormal v1.0.0One Mind

MindFormal.Tools.A595Paper.ProgramPrefix

theorem MindFormal.A595Paper.CodeLayout.instruction_lower {R G L : ℕ} (layout : CodeLayout R G L) (g : ℕ) (hg : g ≤ G) :
3 ≤ layout.instruction g
theorem MindFormal.A595Paper.CodeLayout.next_instruction {R G L : ℕ} (layout : CodeLayout R G L) (initial : Registers) (ready : layout.OperandsReady initial) (g : ℕ) (hg : g + 1 < G) :
∃ n ≤ 70 * (L + 1) ^ 3, MachineRun norTable (norConfig (layout.data (layout.memoryAt initial g)) (some (layout.instruction g)) none none (layout.fieldPos g 0) NorState.activateFirst) n (norConfig (layout.data (layout.memoryAt initial (g + 1))) (some (layout.instruction (g + 1))) none none (layout.fieldPos (g + 1) 0) NorState.activateFirst)
theorem MindFormal.A595Paper.CodeLayout.program_prefix {R G L : ℕ} (layout : CodeLayout R G L) (initial : Registers) (ready : layout.OperandsReady initial) (g : ℕ) (hg : g < G) :
∃ n ≤ L + 1 + g * (70 * (L + 1) ^ 3), MachineRun norTable (norConfig (layout.data initial) none none none 3 NorState.findInstruction) n (norConfig (layout.data (layout.memoryAt initial g)) (some (layout.instruction g)) none none (layout.fieldPos g 0) NorState.activateFirst)