Borodin's gap theorem #
For every Blum complexity measure Φ and every computable g with g n ≥ n, there is a
computable bound t such that stretching it to g ∘ t adds no function to the complexity class:
C_{g ∘ t} = C_t Borodin, Computational complexity and the existence of complexity
gaps. Taking g n = 2 ^ n, for instance, exponentially more resources compute
exactly the same functions beyond t. Hence complexity classes for arbitrary computable bounds
need not form a hierarchy. Hierarchy theorems need constructible bounds. The stretch may also
depend on the input: for every computable g with g n y ≥ y, some computable t has
C_{n ↦ g n (t n)} = C_t (gap_theorem₂).
The proof constructs t n by searching for a k such that no program numbered at most n has
cost on input n in the interval (k, g n k]. Iterating k ↦ max k (g n k) gives n + 2
disjoint intervals, and each of the n + 1 programs has its cost in at most one of them, so the
search terminates. Blum's second axiom makes each test decidable. Each program c is accounted
for at every input n ≥ encode c, which gives the pointwise statement exists_gap₂: for those
inputs, Φ c n ≤ t n or Φ c n > g n (t n).
Conventions and strength #
complexityClass t uses Borodin's almost-everywhere convention: f ∈ C_t when some program for
f has cost at most t n for all sufficiently large n (see
CslibFrontier.Computability.BlumComplexity.Basic). exists_gap₂ gives an explicit threshold for
each program, namely n ≥ encode c. So the class equality holds for this almost-everywhere class,
as in the source. All statements also allow a computable lower bound a: the gap function t can
be chosen strictly increasing with t ≥ a, so gaps occur above every computable function.
Dropping these extra conclusions leaves the statement C_{g ∘ t} = C_t for a computable t. The
one-argument forms exists_gap and gap_theorem are the special case where g n y does not
depend on n.
Main results #
Cslib.BlumComplexity.BlumMeasure.exists_gap₂,Cslib.BlumComplexity.BlumMeasure.exists_gap: the pointwise gap property oft, for a two-argument and a one-argument stretch.Cslib.BlumComplexity.BlumMeasure.gap_theorem₂: Borodin's gap theorem with a two-argument stretch,C_{n ↦ g n (t n)} = C_t.Cslib.BlumComplexity.BlumMeasure.gap_theorem: Borodin's gap theorem,C_{g ∘ t} = C_t.
References #
Pointwise gap [Bor72], with a two-argument stretch. For every computable g and
every computable lower bound a, there is a computable, strictly increasing t ≥ a such that, for
every program c and every input n ≥ encode c, the cost Φ c n, if defined, is at most t n
or greater than g n (t n).
Pointwise gap [Bor72]. For every computable g and every computable lower bound
a, there is a computable, strictly increasing t ≥ a such that, for every program c and
every input n ≥ encode c, the cost Φ c n, if defined, is at most t n or greater than
g (t n).
Borodin's gap theorem [Bor72], with a two-argument stretch. For every computable g
with g n y ≥ y and every computable lower bound a, there is a computable, strictly increasing
t ≥ a with C_{n ↦ g n (t n)} = C_t.
Borodin's gap theorem [Bor72]. For every computable g with g n ≥ n and every
computable lower bound a, there is a computable, strictly increasing t ≥ a with
C_{g ∘ t} = C_t.