Gap theorem
- See also Gap theorem (disambiguation) for other gap theorems in mathematics.
In computational complexity theory, the gap theorem, also known as the Borodin–Trakhtenbrot gap theorem, is a major theorem about the complexity of computable functions.[1]
It essentially states that there are arbitrarily large computable gaps in the hierarchy of complexity classes. For any computable function that represents an increase in computational resources, one can find a resource bound such that the set of functions computable within the expanded resource bound is the same as the set computable within the original bound.
The theorem was proved independently by Boris Trakhtenbrot[2] and Allan Borodin.[3][4] Although Trakhtenbrot's derivation preceded Borodin's by several years, it was not known nor recognized in the West until after Borodin's work was published.
Statement
As an introductory example, suppose that we are considering time complexity of a certain specific Turing machine model. The set is the set of total computable functions, such that there exists some implementation of the function that computes it in time given an input size of .
In general, any total computable function defines some time complexity class, and we expect that if is much larger than , for all , then should be larger than . The gap theorem states that this is not necessarily so. Indeed, for any total computable such that for all , there exists some total computable function , such that . Intuitively, adding compute time might not allow us to compute more functions.
More generally, suppose Template:Math is an abstract (Blum) complexity measure, then for any total computable function Template:Mvar for which for every Template:Mvar, there is a total computable function Template:Mvar such that with respect to Template:Math, the complexity classes with boundary functions Template:Mvar and are identical.
Implications
For the special case of time complexity, this can be stated more simply as:
- for any total computable function such that for all Template:Mvar, there exists a time bound such that .
Similarly for the special case of space complexity.
Because the bound Template:Tmath may be very large (and often will be nonconstructible) the gap theorem does not imply anything interesting for complexity classes such as P or NP,[5] and it does not contradict the time hierarchy theorem or space hierarchy theorem.[6]