Constructible bounds in function time #
A time-constructible bound T is computed in binary within time O(T n) from any word of length
n. Run on the encoding of an instance, the same machine computes T |enc a| in
FTIME enc encNat T, for every input encoding enc. Clocked simulations use this to compute
their clock from the input.
Main results #
Cslib.Complexity.TimeConstructible.mem_FTIME: a time-constructible bound of the encoded length is in function time.
theorem Cslib.Complexity.TimeConstructible.mem_FTIME {α : Type} {enc : α ↪ List Bool} {T : ℕ → ℕ} (hT : TimeConstructible T) :
A time-constructible bound is computed within its own time. For every input encoding
enc, the bound T |enc a| of the encoded length is in FTIME enc encNat T.