Documentation

Complexitylib.Models.RandomAccessMachine.Simulation.RegisterStore.Machine.Program.Defs

Sparse RAM program controller -- definitions #

This layer adds the fixed-program halt test needed to iterate the checked single-instruction simulator. The test copies the canonical program counter, walks the same decrementing finite branch tree as instruction dispatch, and writes 1 exactly for a selected halt; every continuing branch writes blank.

Two-state leaf that writes one halt verdict at the current output head.

Instances For
    @[implicit_reducible]
    Equations
    • One or more equations did not get rendered due to their size.

    Output symbol used by the fixed-program halt test. Continuing instructions write blank so the instruction body regains its blank-output ABI.

    Equations
    Instances For

      Canonical output tape produced by one halt-verdict leaf.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Write the selected instruction's halt verdict in one transition while preserving input and work tapes.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For

          Decrementing fixed-program branch tree for the halt verdict.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For

            Copy the canonical PC and emit whether its fixed-program instruction is halt.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Branch-tree bound for a selector represented by selector.

              Equations
              Instances For

                Complete fixed-program halt-test bound.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  Repeated pure sparse-snapshot stepping without an explicit halt check. Because the selected halt instruction is a no-op, this agrees with Snapshot.run.

                  Equations
                  Instances For

                    Exact clean work-tape image of one sparse RAM snapshot. The store stream, runtime count, preserved count, and program counter occupy their established instruction-ABI roles; every other tape is the standard parked blank tape.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For

                      Boolean output symbol obtained from the RAM verdict convention.

                      Equations
                      Instances For

                        Exact output tape emitted from one RAM register value.

                        Equations
                        • One or more equations did not get rendered due to their size.
                        Instances For

                          Read a canonical register-value tape and emit zero exactly for value zero, or one for any nonzero value.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For

                            Recover register R₀ through the reusable sparse lookup and emit its Boolean verdict on the real output tape.

                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For

                              Fixed halt-aware loop for one concrete RAM program.

                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For

                                Bound for one loop body, body/test seams, halt test, and the three-step rewind/check tail.

                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For

                                  Sum of the first fuel loop-iteration bounds.

                                  Equations
                                  Instances For