Yap's theorem (coNP ⊆ NP/poly ⇒ PH = Σ₃) #
If coNP ⊆ NP/poly (equivalently NP ⊆ coNP/poly, or UNSAT ∈ NP/poly), the polynomial hierarchy
collapses to its third level: PH = Σ₃, and in fact PH = Σ₃ ∩ Π₃ Yap,
Bodlaender, Jansen and Kratsch, Theorem 2.
Proof overview #
First, coNP ⊆ NP/poly already places Σ₂ in NP/poly
(Cslib.Complexity.SigmaP_two_subset_NPPoly_of_coNP_subset_NPPoly) and Π₂ in coNP/poly: a
problem in Σ₂ projects a Π₁ = coNP predicate along words u of a fixed polynomial length
p |enc a|, so all pairs (a, u) share the same encoded length 2 |enc a| + 1 + p |enc a| and
can share one advice string, while the quantifier over u merges with the NP certificate.
To collapse the hierarchy at level 3, it suffices to show Π₃ ⊆ Σ₃
(Cslib.Complexity.PiP_three_subset_SigmaP_three_of_coNP_subset_NPPoly). Let A ∈ Π₃ have blocks
of lengths p₁, p₂, p₃. Negating the innermost universal block gives E ∈ NP on pairs such
that a ∈ A ↔ ∀ u₁ (|u₁| = p₁ n), ∃ u₂ (|u₂| = p₂ n), (a, u₁ ++ u₂) ∉ E, where every queried word
s = u₁ ++ u₂ has fixed length m n = p₁ n + p₂ n and every pair (a, s) has fixed encoded
length M n = 2 n + 1 + m n. Since Eᶜ ∈ coNP ⊆ NP/poly, there are polynomially bounded advice
adv and a problem B ∈ NP with (a, s) ∉ E ↔ (adv (M n), (a, s)) ∈ B whenever |s| = m n.
A Σ₃ verifier for A guesses a framed advice string w in its first existential block and
checks two conditions on (a, w):
- Soundness (
Π₁ ⊆ Π₂): no wordsof lengthm nsatisfies both(unframe w, (a, s)) ∈ Band(a, s) ∈ E. Because bothBandElie inNP, the existence of a counterexamplesis inNP, so soundness is incoNP = Π₁. - Completeness on
a(Π₂): for everyu₁of lengthp₁ n, there isu₂of lengthp₂ nwith(unframe w, (a, u₁ ++ u₂)) ∈ B. BecauseB ∈ NP, the inner check∃ u₂, … ∈ Bstays inNP = Σ₁ ⊆ Π₂, and universal quantification overu₁keeps it inΠ₂.
Intersecting the two Π₂ conditions (Cslib.Complexity.inter_mem_PiP) and existentially
quantifying w (Cslib.Complexity.mem_SigmaP_of_exists) places A in Σ₃. Any sound advice
string accepted by the main check forces (a, u₁ ++ u₂) ∉ E for every u₁, while the true framed
advice frame (adv (M n)) is both sound and complete.
Through Cslib.Complexity.CookLevin.UNSAT_coNPComplete and Cslib.Complexity.cnfDecoder, the
hypotheses UNSAT ∈ NPPoly encCNF, SAT ∈ coNPPoly encCNF, coNP encBits ⊆ NPPoly encBits,
NP encBits ⊆ coNPPoly encBits, and ∀ encB, coNP encB ⊆ NPPoly encB are all equivalent.
Main results #
Cslib.Complexity.SigmaP_two_subset_NPPoly_of_coNP_subset_NPPoly,Cslib.Complexity.PiP_two_subset_coNPPoly_of_coNP_subset_NPPoly:coNP ⊆ NP/polygivesΣ₂ ⊆ NP/polyandΠ₂ ⊆ coNP/poly.Cslib.Complexity.PiP_three_subset_SigmaP_three_of_coNP_subset_NPPoly,Cslib.Complexity.PiP_three_eq_SigmaP_three_of_coNP_subset_NPPoly:coNP ⊆ NP/polygivesΠ₃ ⊆ Σ₃andΠ₃ = Σ₃.Cslib.Complexity.UNSAT_mem_NPPoly_iff_forall_coNP_subset_NPPoly,Cslib.Complexity.coNP_encBits_subset_NPPoly_iff_UNSAT,Cslib.Complexity.coNP_encBits_subset_NPPoly_iff,Cslib.Complexity.NP_encBits_subset_coNPPoly_iff: equivalence of the nonuniform hypotheses.Cslib.Complexity.PH_eq_SigmaP_three_of_coNP_subset_NPPoly,Cslib.Complexity.PH_eq_SigmaP_three_of_NP_subset_coNPPoly,Cslib.Complexity.PH_eq_SigmaP_three_of_coNP_encBits_subset_NPPoly,Cslib.Complexity.PH_eq_SigmaP_three_of_NP_encBits_subset_coNPPoly,Cslib.Complexity.PH_eq_SigmaP_three_of_UNSAT_mem_NPPoly,Cslib.Complexity.PH_eq_SigmaP_three_of_SAT_mem_coNPPoly,Cslib.Complexity.PH_eq_SigmaP_three_inter_PiP_three_of_coNP_subset_NPPoly: Yap's theorem.
References #
Σ₂ ⊆ NP/poly #
coNP ⊆ NP/poly gives Σ₂ ⊆ NP/poly Yap: a problem in Σ₂ is the projection
of a Π₁ = coNP problem along words u of fixed polynomial length p |enc a|, so all pairs
(a, u) share one advice length 2 |enc a| + 1 + p |enc a| and ∃ u merges with the NP
certificate.
coNP ⊆ NP/poly gives Π₂ ⊆ coNP/poly Yap, by complementation from
Cslib.Complexity.SigmaP_two_subset_NPPoly_of_coNP_subset_NPPoly.
Π₃ ⊆ Σ₃ #
Yap's theorem at level 3 Yap: if coNP ⊆ NP/poly holds for the pair encoding
encPair enc encBits, then PiP 3 enc ⊆ SigmaP 3 enc.
Yap's theorem at level 3 Yap: if coNP ⊆ NP/poly holds for the pair encoding
encPair enc encBits, then PiP 3 enc = SigmaP 3 enc.
Equivalence of nonuniform hypotheses #
coNP ⊆ NP/poly over bit strings is equivalent to UNSAT ∈ NP/poly, via
Cslib.Complexity.cnfDecoder and Cslib.Complexity.CookLevin.UNSAT_coNPComplete.
coNP ⊆ NP/poly on bit strings transfers to every instance encoding.
NP ⊆ coNP/poly on bit strings transfers to every instance encoding.
Collapse of the polynomial hierarchy #
Yap's theorem Yap, [Bodlaender, Jansen and Kratsch, Theorem 2]
[BJK14]: if coNP ⊆ NP/poly for problems with any encoding of their
instances, then the polynomial hierarchy collapses to its third level, PH = Σ₃.
Yap's theorem from coNP ⊆ NP/poly on bit strings Yap.
Yap's theorem from NP ⊆ coNP/poly on bit strings Yap.
Yap's theorem (PH = Σ₃ ∩ Π₃) Yap: if coNP ⊆ NP/poly for problems with any
encoding of their instances, then PH = Σ₃ ∩ Π₃.