Evaluating functions that depend only on a bounded suffix prefix #
If f : α × List Bool → β is computable in polynomial time on encPair encA encBits,
cap : α → ℕ is unary polynomial-time on encA, and f (a, raw) = f (a, raw.take (cap a + 1))
for all a and raw, then f is computed by a single deterministic multi-tape Turing machine
whose worst-case time and space on (a, raw) are bounded by polynomials in (encA a).length
alone, completely independent of raw.length.
This eliminates arbitrary raw-input length dependence for bounded-length verifiers (for example, cryptographic verifiers that reject oversized prover strings before parsing them).
Any polynomial-time function f : α × List Bool → β whose value on (a, raw) depends only on
raw.take (cap a + 1) — where cap : α → ℕ is unary polynomial-time — can be computed by one
multi-tape Turing machine whose worst-case time and space on (a, raw) are bounded by polynomials
in (encA a).length alone, independent of raw.length.