Documentation

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

Direct-unrolling transition-case generator -- definitions #

A fixed transition case has a choice literal, a state literal, and one read formula for every named tape. Machine-dependent state and symbol data are unrolled when the generator is defined. The variable-width conjunction suffix keeps one rolling member-output reference: it steps backward by the common read-formula size, then by the final one-gate state member. No formula stack is materialized on a work tape.

Clean entry state for one fixed transition-case formula.

Instances For

    Emit the fixed choice literal on deterministic choice wire zero. A false literal is compiled as a copy followed by a negated copy of that fresh wire.

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

      Set the numeric tape and symbol selectors, then emit their complete read formula.

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

        Emit a consecutive fixed block of tape-read formulas. Machine-specific symbol data stays in the defining function and is never stored on tape.

        Equations
        Instances For
          def Complexity.CircuitUnrolling.Serializer.DirectGenerator.emitCaseMembers (stateCount workCount stateIndex inputSymbolIndex outputSymbolIndex : ) (choiceValue : Bool) (workSymbolIndexAt : ) :

          Fixed forward member stream in choice/state/input/work/output order.

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

            Store the common read-formula gate count 4 * (T + 1) + 1 in temporary₃, clearing the arithmetic coefficient temporary on exit.

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

              Emit one conjunction connector from the retained member reference and the immediately preceding identity or connector gate.

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

                Move the rolling output reference back by one read-formula block and emit the next conjunction connector.

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

                  Move from the state-member output to the preceding choice-member output and emit the final conjunction connector.

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

                    Emit a fixed number of equal-width predecessor-member connectors.

                    Equations
                    Instances For
                      def Complexity.CircuitUnrolling.Serializer.DirectGenerator.emitCaseFormula (stateCount workCount stateIndex inputSymbolIndex outputSymbolIndex : ) (choiceValue : Bool) (workSymbolIndexAt : ) :

                      Emit one complete fixed transition-case schedule. The sole lasting effect under CaseFormulaClean is the advance of available.

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