Documentation

CslibFrontier.Computability.Complexity.Classes.Ladner.Density

Recursive presentations of polynomial-time degrees and Ladner's density theorem #

Ladner proved that polynomial-time reducibility is dense on the decidable problems outside P Ladner, and Schöning derived the polynomial-time many-one case from uniform diagonalization by recursively presenting polynomial-time m-degrees Schöning.

Using the clocked transducer enumeration and lower-cone presentations from CslibFrontier.Computability.Complexity.Classes.RecursivelyPresentable.PolyTime, this module proves that polynomial-time m-degrees (Cslib.Complexity.polyTimeDegree) and marked-union cones of decidable problems outside P are recursively presentable and closed under finite variations, and deduces both Ladner's downward theorem and the full Ladner many-one density theorem:

The hypothesis B ∉ P in the full density theorem is necessary: ∅ <ₘᵖ {[true]}, yet every set between ∅ and {[true]} lies in P and has a non-member, so it is either empty or ≤ₘᵖ-equivalent to {[true]} (checked in CslibFrontierTests.UniformDiagonalization).

Source notes #

The printed theorem numbers in Ladner and Schöning were not consulted directly; statements are paraphrased in the library's binary-alphabet (encBits) and total native machine (Turing.MultiTapeTM) conventions without quotation. Ladner's paper also obtains a polynomial-time Turing non-reduction (¬(B ≤ᵀᵖ A)) in the downward theorem and proves density for polynomial-time Turing reducibility (≤ᵀᵖ) alongside ≤ₘᵖ; this module formalizes only the many-one (≤ₘᵖ) order and many-one non-reductions (Cslib.Complexity.PolyTimeTuringReducible in CslibFrontier.Computability.Complexity.Reduction.Turing is not treated here).

Main definitions #

Main results #

References #

Polynomial-time many-one degrees #

The polynomial-time many-one degree of B on bit words: the sets polynomial-time many-one equivalent to B.

Every set of bit words belongs to its own polynomial-time m-degree.

Bounded prefix check over shorter words #

Presenting polynomial-time degrees and density cones #

The polynomial-time m-degree of a problem outside P is closed under finite variations.

The polynomial-time m-degree of a decidable problem outside P is recursively presentable.

Ladner's downward theorem and NP-intermediate problems #

Ladner's downward theorem, gap-set form. For every decidable B ∉ P on bit words, some G ∈ P makes G.ite ∅ B lie outside P and strictly ≤ₘᵖ-below B.

If P ≠ NP, every NP-complete problem on bit words has an NP-intermediate problem strictly below it. This strengthens Cslib.Complexity.Ladner.exists_NP_not_P_not_npComplete from exhibiting one NP-intermediate language to placing one strictly below any chosen NP-complete language Ladner, Schöning.

Full Ladner density theorem #