Documentation

Complexitylib.Classes.PPoly.Uniform.Unrolling.Padded.Defs

Regularly padded deterministic unrolling families -- definitions #

The direct tableau circuit has a polynomial upper bound on its gate count, but its exact length depends on the compiled machine. Padding every positive member to that bound and adding one final output copy makes the gate-count header a closed expression of the time horizon while retaining the original acceptance wire.

noncomputable def Complexity.TM.directUnrollingGateBound {k : } (tm : TM k) (f : ) (n : ) :

Closed gate-count bound used to regularize a direct tableau member.

Equations
Instances For
    noncomputable def Complexity.TM.paddedDirectUnrollingRawCircuit {k : } (tm : TM k) (f : ) (n : ) [NeZero n] :

    A positive direct-unrolling raw circuit padded to its cubic gate bound.

    The padding gates are constant false and are semantically dead. The final gate copies the original last gate, so it remains the designated output after the padding is appended.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def Complexity.TM.paddedDirectUnrollingCode {k : } (tm : TM k) (f : ) :

      Total tagged code of the regularly padded direct family. The zero-length member retains the explicit bounded-run answer used by the direct family.

      Equations
      Instances For