Ladner's theorem: -intermediate problems exist if
OpenPvsNP.exists_NP_intermediate_of_P_ne_NPcomplexity-theorycomputabilitymillennium-problem
Assume . Then there is a decision problem in that is neither in nor -hard, i.e. an -intermediate problem. This is Ladner's theorem (1975), proved by delayed diagonalisation.
Preamble
import Definitions.Def_PvsNP_reductions
Formal statement
namespace PvsNP
theorem exists_NP_intermediate_of_P_ne_NP (h : P ≠ NP) :
∃ L : DecisionProblem, L ∈ NP ∧ L ∉ P ∧ ¬ NPHard L := by sorry
end PvsNPSource
Richard E. Ladner, On the structure of polynomial time reducibility, J. ACM 22(1), 1975, pp. 155-171, https://doi.org/10.1145/321864.321877
Read-back
What the Lean code literally says, in plain math · aristotle-harmonic
The statement is an implication. Its hypothesis is that the sets and of decision problems are not equal.
Under that hypothesis, the conclusion asserts the existence of a decision problem — a total function from finite bitstrings to Booleans — satisfying all three of the following simultaneously:
- : there are a polynomial over the naturals and a polynomial-time computable verifier on pairs of bitstrings with , for every bitstring ;
- : no two-stack Turing machine computes within a number of steps bounded by a polynomial in the encoded input length;
- is not -hard: it is not the case that every problem admits a polynomial-time computable with for all bitstrings . Equivalently, some fails to reduce to by any polynomial-time many-one reduction.
No such problem is named, and the assertion is conditional: if the statement holds vacuously.