Documentation

Complexitylib.Classes.PPoly.Uniform.Unrolling.Generator.Transition.MovedHead.Defs

Direct-unrolling moved-head generator -- definitions #

The three fixed direction members are emitted in left/right/stay order. The run-time target position is saved while nested effect formulas reuse the position register. Each completed member output is retained in one otherwise unused enclosing register, so the final three-way disjunction needs no dynamic size recomputation.

Clean moved-head entry. Updating position to zero exposes exactly the case-formula scratch convention required by each nested effect formula.

Instances For

    Emit the selected transition effect for one fixed movement direction.

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

      Combine the selected-effect output with the predecessor-head output. The effect output is predecessorSize + 1 wires behind the current frontier.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def Complexity.CircuitUnrolling.Serializer.DirectGenerator.emitMovedHeadMember {k : } (tm : NTM k) (tape : TapeSlot k) (direction : Dir3) (directionCode : ) (save : Fin WorkCount) :

        Emit one direction member, restore the nested case scratch convention, and retain its conjunction output in save.

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

          Emit one disjunction connector from a saved member output and the immediately preceding identity or connector.

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

            Emit the complete left/right/stay moved-head formula and restore the original target position.

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