Polynomial counters for direct tableau serialization -- definitions #
The streaming generator normalizes an arbitrary polynomial time bound so its horizon contains the complete input. It also evaluates three fixed natural polynomials: the padded gate bound, the wire frontier after that padding, and the positive member's gate-count header. Keeping these values as polynomials lets the binary polynomial subroutine compute them in logarithmic workspace.
Normalize a polynomial horizon so n + 1 represented tape cells always
fit inside the bounded tableau.
Equations
Instances For
noncomputable def
Complexity.TM.directSerializerGateBoundPolynomial
{k : ℕ}
(tm : TM k)
(q : Polynomial ℕ)
:
Closed padded gate bound for the normalized horizon.
Equations
Instances For
noncomputable def
Complexity.TM.directSerializerFrontierPolynomial
{k : ℕ}
(tm : TM k)
(q : Polynomial ℕ)
:
First unused wire after the padded gates, before the final output copy.
Equations
Instances For
noncomputable def
Complexity.TM.directSerializerGateCountPolynomial
{k : ℕ}
(tm : TM k)
(q : Polynomial ℕ)
:
Number encoded in the positive tagged circuit header, including the terminal output-copy gate.