Binary-counted iteration in factored time and polynomial space #
A native binary-counted iteration (Cslib.GenericRAM.NativeCertificate.iterate) runs in time
(count a + 1) * K a times a polynomial and in polynomial space whenever the round count and
initial state are produced in polynomial time, every reached state has polynomially bounded encoded
length, and every reached round runs in time K a times a polynomial and polynomial space.
Main results #
Cslib.GenericRAM.NativeCertificate.FactorTimePolySpace.iterate_of_bounds,Cslib.GenericRAM.NativeCertificate.FactorTimePolySpace.iterate: binary-counted iteration with general runtime round countcount a.Cslib.GenericRAM.NativeCertificate.ExpTimePolySpace.iterate_of_bounds: iteration under a polynomially bounded round count without increasing the common exponent.
Binary-counted iteration under explicit reachable-round bounds. Every reached round
j ≤ count a uses time at most K a * R a and workspace at most Q a, where R, Q and the
live-state bound B are polynomially bounded in the input length.
Binary-counted iteration of a FactorTimePolySpace step certificate under a polynomial
reachable-state length bound B and a per-input bound K a on the step factor.
Polynomially many adaptive calls preserve the common exponential time factor. The
round count and state bounds are measured against the original encoded input. Every reached
round, including the terminal state, must use time at most R a * 2 ^ E a and space at most
Q a, where R, Q and the live-state bound B are polynomially bounded.