Support lemmas for the time-hierarchy theorem #
Four self-contained ingredients used by the diagonalization argument:
groupPairs_length_le— decoding a bit string into 2-bit groups at most halves its length.TM.UTMBody.utmStepTime_le_sq— the per-iteration cost of the UTM loop is quadratic in the description length, with an explicit constant.Complexity.LittleO.nat_mul_le— a little-o hypothesis yields, for every scale factorC, an eventual pointwise boundC * f n ≤ g noverℕ.TM.halt_or_run_dichotomy— a deterministic machine either halts within a step budgetVor is still running after exactlyVsteps.
groupPairs consumes two bits per emitted symbol (a trailing odd bit
is dropped), so its output is at most half as long as its input.
The per-iteration cost of the UTM's simulate/halt-test loop is
quadratic in the description length, with explicit constant 240.