Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.Complexity.PolyTime.Nat.SqrtLog

The clock 2 ^ (K n / √⌊log₂ n⌋) in polynomial time #

For a fixed K, the number 2 ^ (K n / √⌊log₂ n⌋) (in the natural-number scale of CslibFrontier/Foundations/Data/Nat/SqrtLog.lean) is computable in binary in polynomial time from n in unary. Its binary length is at most K n + 1. It serves as the fuel of clocked subexponential algorithms, such as the depth-first recursion of the contraction theorem of [OAI26k] (Appendix D.4.7, p. 64), whose number of calls is 2 ^ O(n / √(log n)).

Main results #

The clock 2 ^ (K n / √⌊log₂ n⌋), in binary from n in unary.