A nondeterministic exponential time hierarchy by lazy diagonalization #
For every k, nondeterministic time O(2 ^ (k * n)) is strictly contained in nondeterministic
time O(2 ^ (e * n)) on bit strings whenever 8 * k + 16 ≤ e
(Cslib.Complexity.NTIME_two_pow_ssubset_NTIME_two_pow_of_le). In particular NE is not contained
in NTIME (2 ^ (k * n)) for any k (Cslib.Complexity.exists_mem_NE_notMem_NTIME_two_pow). This
is a coarse exponential form of the nondeterministic time hierarchy theorem
Arora and Barak, Theorem 3.3, proved by lazy diagonalization Žák.
The separating problem is explicit: Cslib.Complexity.expLazyDiagonal k.
Padding transfers inclusions between nondeterministic time classes only upward, so the
polynomial hierarchy of Cslib.Complexity.NTIME_succ_pow_ssubset_NTIME_succ_pow_of_le does not give
this separation; the lazy diagonal is run again with exponential certificates.
The lazy diagonal #
The exponential lazy diagonal is the generic construction Cslib.Complexity.Diagonal.lazyLanguage
with certificates of length certLen k m = 2 ^ ((k + 1) * (m + 1)) on words of length m, the step
budget ((frame y ++ v).length + 1) ^ 2 on the pair (y, v), and the horizon
horizon k m = 2 ^ ((k + 2) * (m + 1)): the interval of a word w ends below 2 ^ horizon k P,
where P = 2 * w.length + 1.
- Upper bound (
Cslib.Complexity.expLazyDiagonal_mem_NTIME). Guess the certificate and run the verifier (Cslib.Complexity.setOf_exists_mem_NTIME). The simulation takes time polynomial in the certificate,O(2 ^ ((8 * k + 16) * n)). The brute force takes time2 ^ O(certLen k P)(Cslib.Complexity.exists_computableInO_any_enumList), which isO(n)at the end of the interval, wheren + 1 = 2 ^ horizon k Pandhorizon k P = 2 ^ (P + 1) * certLen k P. - Lower bound (
Cslib.Complexity.expLazyDiagonal_notMem_NTIME). A verifier for a problem inNTIME (2 ^ (k * n))accepts certificates of every length at leastc * 2 ^ (k * n) + c, and runs withinc₂times its input length;certLen kand the step budget eventually exceed both (Cslib.Complexity.Diagonal.lazyLanguage_notMem_NTIME).
Unlike Cslib.Complexity.lazyDiagonal, the simulation clock is the square of the length of the
simulated pair rather than a function of the input length alone. It is then polynomial in the
certificate, so the brute force at the end of an interval is a polynomial-time test tried on every
certificate.
Main definitions #
Cslib.Complexity.ExpLazyDiagonal.verifier: the verifier of the lazy diagonal fork.Cslib.Complexity.expLazyDiagonal: the exponential lazy diagonal problem fork.
Main results #
Cslib.Complexity.expLazyDiagonal_mem_NTIME: the lazy diagonal is inNTIME (2 ^ ((8 * k + 16) * n)).Cslib.Complexity.expLazyDiagonal_notMem_NTIME: the lazy diagonal is not inNTIME (2 ^ (k * n)).Cslib.Complexity.NTIME_two_pow_ssubset_NTIME_two_pow_of_le: the hierarchy.Cslib.Complexity.exists_mem_NE_notMem_NTIME_two_pow:NE ⊄ NTIME (2 ^ (k * n)).
References #
The certificate length of the lazy diagonal on words of length m:
2 ^ ((k + 1) * (m + 1)).
The verifier of the exponential lazy diagonal (Cslib.Complexity.Diagonal.lazyVerifier)
with the budget ((frame y ++ v).length + 1) ^ 2 for the pair (y, v), certificates of length
certLen k and horizon horizon k.
The exponential lazy diagonal language for k: the words x with a certificate of length
2 ^ ((k + 1) * (x.length + 2)) accepted by Cslib.Complexity.ExpLazyDiagonal.verifier k.
The lazy diagonal is not in NTIME (2 ^ (k * n)) #
The exponential lazy diagonal is not decidable in nondeterministic time
O(2 ^ (k * n)) (Cslib.Complexity.Diagonal.lazyLanguage_notMem_NTIME): certificates of length
certLen k m eventually suffice for a verifier of a problem in that class, and so do
((frame y ++ v).length + 1) ^ 2 simulated steps on the pair (y, v).
The lazy diagonal is in nondeterministic exponential time #
The exponential lazy diagonal is decidable in nondeterministic time
O(2 ^ ((8 * k + 16) * n)). Guess a certificate of length 2 ^ ((k + 1) * (n + 2)) and run the
verifier (Cslib.Complexity.setOf_exists_mem_NTIME). Below the end of an interval, the verifier
simulates a verifier on the input one bit longer with a certificate of that length, within time
polynomial in the certificate. At the end of an interval of start P, it tries every certificate
on the input of length P, within time 2 ^ O(certLen k P), which is linear in the length n of
the input, since n + 1 = 2 ^ horizon k P there and horizon k P = 2 ^ (P + 1) * certLen k P.
The hierarchy #
A nondeterministic exponential time hierarchy. For every k, nondeterministic time
O(2 ^ (k * n)) is strictly contained in nondeterministic time O(2 ^ (e * n)) whenever
8 * k + 16 ≤ e. The exponential lazy diagonal Cslib.Complexity.expLazyDiagonal k separates them
(Cslib.Complexity.expLazyDiagonal_mem_NTIME, Cslib.Complexity.expLazyDiagonal_notMem_NTIME).
This is a coarse exponential form of the nondeterministic time hierarchy theorem
Arora and Barak, Theorem 3.3.
NE is not contained in NTIME (2 ^ (k * n)), for any k: the exponential lazy diagonal
Cslib.Complexity.expLazyDiagonal k is in NE and not in NTIME (2 ^ (k * n)).