MindFormal v1.0.0One Mind

MindFormal.Tools.A595Paper.CodeLayout

Encoding interface for the fixed unary NOR control. Its fields are local data, delimiter, address and span facts. None is an interpreter correctness or successful-run assumption. The interpreter proofs derive execution from these encoding facts; consumers construct their layout.

@[reducible, inline]
Equations
Instances For
    Instances For
      def MindFormal.A595Paper.CodeLayout.memoryAt {R G L : ℕ} (layout : CodeLayout R G L) (initial : Registers) :
      Equations
      • One or more equations did not get rendered due to their size.
      • layout.memoryAt initial 0 = initial
      Instances For
        def MindFormal.A595Paper.CodeLayout.OperandsReady {R G L : ℕ} (layout : CodeLayout R G L) (initial : Registers) :

        Well-formed operands are already populated when an instruction is reached in the ideal register recurrence. Topological code and populated input registers imply this data property. It asserts no tape execution.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.A595Paper.CodeLayout.instruction_run {R G L : ℕ} (layout : CodeLayout R G L) (initial : Registers) (ready : layout.OperandsReady initial) (g : ℕ) (hg : g < G) :
          ∃ n ≤ 60 * (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)) none none (layout.fieldPos g 2 - 1) NorState.clearInstruction)