Delayed stages for diagonalizing against deciders and many-one reductions
ProvedPvsNP.ladner_delayed_stagesThere exist a nondecreasing stage function on input lengths, an enumeration with range exactly the polynomial-time binary languages, and an enumeration with range exactly the polynomial-time string functions. Define
The choices can be made so that and both of the following stage rules hold. Say that stage is reached when for some length .
- Once stage is reached, stage is reached if and only if some word distinguishes from .
- Once stage is reached, stage is reached if and only if some word distinguishes from .
The construction is unconditional. Enumerate machines with explicit polynomial clocks and allow repetitions. At length , use a bounded search for a discrepancy on words whose relevant stage values have already been assigned. Preserve the current stage unless a witness is found. The search budget can grow with while keeping the computation of the stage parity polynomial in the unary input length. Every fixed witness and its simulated computations must eventually fit the budget if the stage persists. On odd stages the previously assigned lengths must cover the reduction output as well. Polynomial-time evaluation of the gate allows the SAT verifier to be restricted to even stages.
import Definitions.Def_PvsNP open PvsNP
theorem PvsNP.ladner_delayed_stages :
∃ (s : ℕ → ℕ) (D : ℕ → Language Bool) (F : ℕ → Str → Str),
let A : Language Bool := {w | w ∈ SAT ∧ Even (s w.length)}
Monotone s ∧ Set.range D = P ∧ Set.range F = {f | PolyTimeComputable f} ∧ A ∈ NP ∧
(∀ i, (∃ n, 2 * i ≤ s n) →
((∃ n, 2 * i + 1 ≤ s n) ↔ A ≠ D i)) ∧
(∀ i, (∃ n, 2 * i + 1 ≤ s n) →
((∃ n, 2 * i + 2 ≤ s n) ↔ SAT ≠ (F i) ⁻¹' A)) := by sorry