Documentation

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

Direct predecessor-head formula generation -- definitions #

The member phase exploits the three fixed movement cases instead of testing source/target equality at every position. Constant runs surround at most two head-wire copies. The right-fold suffix uses a dynamic recent-wire offset 2 + 2 * rank, which directly selects reverse member outputs while the fixed offset one selects the preceding identity or connector.

Clean scratch contract for predecessor-head formula emission. The target position itself is deliberately not scratch and is preserved.

Instances For

    Replace limit₀ by horizon + 1.

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

      Emit false constants while loop₀ < limit₀, then restore loop₀.

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

        Stay-direction member stream: false prefix, target head copy, false suffix.

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

          Right movement at target zero has no predecessor.

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

            Right movement at a positive target has source target - 1.

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

              Complete right-direction member stream, branching only at target zero.

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

                Left movement at target zero has the two boundary predecessors zero and one, followed by a false suffix.

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

                  Compute horizon - position in temporary₃, restoring loop₀.

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

                    Finish a positive-target left member stream from the prepared horizon gap. A zero gap means the preceding false prefix already filled the stream.

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

                      Positive-target left movement emits target + 1 false members and then uses the horizon gap to decide whether a source target + 1 exists.

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

                        Complete left-direction member stream, branching only at target zero.

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

                          Forward predecessor members for one fixed direction code. Codes zero and one are left and right; every other code follows the schedule's stay case.

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

                            Emit one reverse-rank OR connector, then advance its dynamic member offset by two for the next rank.

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

                              Emit the complete predecessor-head member stream, false identity, and right-fold connector suffix, restoring every owned scratch tape.

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