MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.CodeExecution

A represented program carries addresses and their finite bounds only. Its result and execution are proved rather than supplied.

Instances For
    Equations
    Instances For
      Equations
      Instances For

        The interpreter's register recurrence is the actual sequential NOR execution, with every initially represented register populated.

        theorem MindFormal.A695LogicPaper.GenericPaper.Program.complete_layout {R G L : ℕ} (layout : A595Paper.CodeLayout R G L) (initial : A595Paper.Registers) (ready : layout.OperandsReady initial) (hG : 0 < G) :
        ∃ (n : ℕ) (bit : Bool), n ≤ 99 * (G + 2) * (L + 1) ^ 3 ∧ layout.memoryAt initial G (layout.address (G - 1) 2) = some bit ∧ A595Paper.MachineRun A595Paper.norTable (A595Paper.norConfig (layout.data initial) none none none 3 A595Paper.NorState.findInstruction) n (A595Paper.norConfig (A595Paper.reportData (layout.data (layout.memoryAt initial G)) bit) none none none 1 A595Paper.NorState.halt)

        Literal native-control execution for any nonempty finite NOR program. This includes the operand/destination scans and canonical output report.