Documentation

Complexitylib.Models.RandomAccessMachine.Structured.GateStep.Defs

Structured RAM serialized-gate step — definitions #

This program composes the terminated-unary cursor routine with the decoded-gate kernel. Its input is one canonical gate encoding followed immediately by the current Boolean wire memo. The fixed three-bit header is consumed directly, the two references are decoded by two calls to the same loop, and the resulting gate is evaluated and appended without specializing the program to the input.

Canonical gate code followed by its current wire memo.

Equations
Instances For

    Machine input for one serialized gate and the current wire memo.

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

      Consume and retain the fixed operation and negation header bits.

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

        Save the first reference and restart the cursor accumulator for the second.

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

          Marshal the parsed cursor state into the decoded-gate evaluator ABI.

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

            Parse and evaluate one serialized gate, appending its result to the memo.

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

              Exact transition count for a canonical serialized gate.

              Equations
              Instances For

                Explicit logarithmic-cost budget for one serialized-gate step.

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

                  Explicit peak-space budget including the appended memo cell.

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