NP with polynomial advice #
A problem is in NP/poly when it is verified in nondeterministic polynomial time with the help of
an advice string that depends only on the length of the instance and has polynomial length
Karp and Lipton. As for Cslib.Circuits.Boolean.PAdvice, the advice is paired
with the instance: A ∈ NPPoly enc when there are advice adv : ℕ → List Bool of polynomial
length and a problem B ∈ NP of pairs, for the encoding frame u ++ enc a of (u, a), such that
a ∈ A exactly when (adv (enc a).length, a) ∈ B. coNP/poly consists of the complements
(Cslib.Complexity.coNPPoly).
NP ⊆ NP/poly with empty advice (Cslib.Complexity.NP_subset_NPPoly), and P/poly ⊆ NP/poly ∩ coNP/poly (Cslib.Complexity.PPolyOn_subset_NPPoly, Cslib.Complexity.PPolyOn_subset_coNPPoly):
P/poly is P with polynomial advice (Cslib.Circuits.Boolean.PPoly_subset_PAdvice), and it is
closed under complement. NP/poly is closed under polynomial-time reductions
(Cslib.Complexity.PolyTimeReducible.mem_NPPoly): the advice for instances of length n lists the
advice of the target problem for every length up to a polynomial bound on the length of the reduced
instances, and the verifier selects the entry for the length of the reduced instance. In particular,
if one coNP-complete problem is in NP/poly, then so is every problem in coNP
(Cslib.Complexity.coNP_subset_NPPoly_of_coNPComplete), and coNP ⊆ NP/poly exactly when NP ⊆ coNP/poly (Cslib.Complexity.coNP_subset_NPPoly_iff).
coNP ⊆ NP/poly is the conclusion of the theorem of Fortnow and Santhanam on OR-distillations
(CslibFrontier.Computability.Complexity.Parameterized.Distillation), and the hypothesis of Yap's
theorem that it collapses the polynomial hierarchy to its third level Yap
(Cslib.Complexity.PH_eq_SigmaP_three_of_coNP_subset_NPPoly, in
CslibFrontier.Computability.Complexity.Classes.PH.Yap).
Main definitions #
Main results #
Cslib.Complexity.NP_subset_NPPoly,Cslib.Complexity.coNP_subset_coNPPoly.Cslib.Complexity.PPolyOn_subset_NPPoly,Cslib.Complexity.PPolyOn_subset_coNPPoly:P/poly ⊆ NP/polyandP/poly ⊆ coNP/poly.Cslib.Complexity.PolyTimeReducible.mem_NPPoly,Cslib.Complexity.PolyTimeReducible.mem_coNPPoly: closure under polynomial-time reductions.Cslib.Complexity.coNP_subset_NPPoly_of_coNPComplete: acoNP-complete problem inNP/polyputs all ofcoNPinNP/poly.Cslib.Complexity.coNP_subset_NPPoly_iff:coNP ⊆ NP/polyexactly whenNP ⊆ coNP/poly.
References #
NP with polynomial advice Karp and Lipton: the problems A with advice
adv of polynomial length and a problem B ∈ NP of pairs, for the encoding frame u ++ enc a of
(u, a), such that a ∈ A exactly when (adv (enc a).length, a) ∈ B.
P/poly ⊆ NP/poly: a language in P/poly is decided in polynomial time with polynomial
advice (Cslib.Circuits.Boolean.PPoly_subset_PAdvice). Reading the encoded instance in place of the
word gives a pair problem in P, hence in NP, with the same advice.
P/poly ⊆ coNP/poly: P/poly is closed under complement.
NP/poly is closed under polynomial-time reductions. The advice for instances of length
n lists the advice of the target problem for every length up to a polynomial bound on the length
of the reduced instances; the verifier decodes this list and selects the entry for the length of
the reduced instance.
If a coNP-complete problem is in NP/poly, then so is every problem in coNP, for every
encoding of its instances.