Problems complete for exponential time are not P-immune #
Berman's theorem Berman: a problem that is ≤ᵖₘ-complete for E has an infinite
subset in P, so it is not P-immune. This contrasts with the P-bi-immune problems in E
Balcázar and Schöning
(CslibFrontier.Computability.Complexity.Classes.Immune.Construction). Juedes and Lutz recall
Berman's theorem in their study of the complexity and distribution of hard problems
Juedes and Lutz.
The argument below gives the same for the complement, so a complete problem is not P-bi-immune
(Cslib.Complexity.not_isBiImmune_P_of_polyTimeComplete_E). The same holds for EXP
(Cslib.Complexity.not_isBiImmune_P_of_polyTimeComplete_EXP). Problems are on bit words.
Bounded halting with a binary time bound is complete for E
(Cslib.Complexity.BoundedHalting.polyTimeComplete_E), so the hypothesis is met, and
Cslib.Complexity.BoundedHalting.not_isBiImmune_P applies the theorem to it.
Let A be decided within time T, and fix b : Bool. The test C_b reads the machine described
at the start of its input w (Turing.MultiTapeTM.Universal.decodeDesc of the first framed word)
and runs it on w for G |w| steps, where G eventually exceeds every polynomial: 2 ^ n for
E and 2 ^ n ^ (k + 1) for EXP. Suppose it halts with an output y no longer than w. Then
w ∈ C_b exactly when the decider of A rejects y within T |w| steps, and therefore exactly
when y ∉ A. Otherwise w ∈ C_b exactly when b = true. By padding, C_b is in E (resp.
EXP), so a polynomial-time reduction f maps C_b to A. Run the test on the description of
f padded with m zeros, w_m, with m large enough that G |w_m| exceeds the running time of
f. If f w_m were no longer than w_m, then w_m ∈ C_b ↔ f w_m ∉ A would contradict the
reduction. So f w_m is longer than w_m, and f w_m ∈ A ↔ w_m ∈ C_b ↔ b = true. Since
|w_m| ≥ m, the words f w_m with large m form an infinite problem in P: to recognize y,
try the m ≤ |y|. This problem lies inside A for b = true and inside Aᶜ for b = false.
Main results #
Cslib.Complexity.exists_infinite_subset_mem_P_of_polyTimeComplete_E,Cslib.Complexity.exists_infinite_subset_mem_P_of_polyTimeComplete_EXP: a problem complete forE(resp.EXP) under polynomial-time many-one reductions, and its complement, have infinite subsets inP.Cslib.Complexity.not_isBiImmune_P_of_polyTimeComplete_E,Cslib.Complexity.not_isBiImmune_P_of_polyTimeComplete_EXP: such a problem is notP-bi-immune; in fact neither it nor its complement isP-immune.Cslib.Complexity.BoundedHalting.exists_infinite_subset_mem_P,Cslib.Complexity.BoundedHalting.not_isBiImmune_P: in particular for bounded halting with a binary time bound.
References #
Berman's theorem for E Berman: a problem complete for E under
polynomial-time many-one reductions has an infinite subset in P, and so does its complement.
Berman's theorem for EXP: a problem complete for EXP under polynomial-time many-one
reductions has an infinite subset in P, and so does its complement.
No problem complete for E is P-bi-immune; in fact neither the problem nor its
complement is P-immune Berman.
No problem complete for EXP is P-bi-immune; in fact neither the problem nor its
complement is P-immune.
No problem complete for E is P-bi-immune.
No problem complete for EXP is P-bi-immune.
Berman's theorem for bounded halting: bounded halting with a binary time bound, which is
complete for E, has an infinite subset in P, and so does its complement.
Bounded halting is not P-bi-immune, although it is not in P
(Cslib.Complexity.BoundedHalting.notMem_P).