Documentation

Complexitylib.Models.RandomAccessMachine.Structured.GateStreamStep.Defs

Structured RAM iterable serialized-gate step — definitions #

Unlike the compact GateStep benchmark, this routine keeps the code cursor and mutable wire memo physically separate. Registers 7 and 8 carry the memo base and current wire count while the parser consumes a gate from a higher code region. Two fixed continuation cells lie between the evaluator's control prefix and the memo, so cursor state survives gate evaluation without aliasing either mutable wires or unread code.

Number of semantic entries currently in the wire memo.

Equations
Instances For

    Address of the current gate's first header bit.

    Equations
    Instances For

      First decoded reference retained across the second unary decode.

      Equations
      Instances For

        Initialize parser scratch and remember the current gate start.

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

          Consume the fixed three-bit gate header without copying it. The header is loaded from its saved code address only after both references are decoded.

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

            Save the first reference and restart the unary accumulator.

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

              Spill the continuation cursor, load the saved header, and marshal the gate and independent memo metadata into GateEval's calling convention.

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

                Recover the next code cursor and rebuild persistent memo metadata after the gate kernel has appended its result.

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

                  Parse and evaluate one gate while retaining an independent code cursor and memo base for the next call.

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

                    Exact transition count on one canonical gate.

                    Equations
                    Instances For

                      Serialized bits beginning at the current gate and continuing with unread code.

                      Equations
                      Instances For

                        Absolute address immediately after all code visible to this invocation.

                        Equations
                        Instances For

                          Unary-decoder input length corresponding to the absolute code region.

                          Equations
                          • One or more equations did not get rendered due to their size.
                          Instances For
                            structure Complexity.RAM.Structured.GateStreamStep.Ready (gateStart base : ) (gate : CircuitCode.RawGate) (tail wires : List Bool) (store : Store) :

                            Calling convention at the beginning of an iterable gate invocation.

                            Instances For
                              structure Complexity.RAM.Structured.GateStreamStep.Parsed (gateStart nextPointer remaining base : ) (gate : CircuitCode.RawGate) (wires : List Bool) (store : Store) :

                              Calling convention immediately before marshalOps, after both references have been decoded successfully.

                              Instances For