Worst-case consequences of easy-on-average NP #
If every distributional problem in DistNP has a polynomial-time heuristic scheme, then
NE = E. This is a length-indexed form of the theorem of Ben-David, Chor, Goldreich and Luby for
AvgP Ben-David, Chor, Goldreich and Luby (see Scope). The
attribution is taken from
Bläser and Manthey, §5. The proof is padding with a polynomial-time computable
ensemble that puts mass 1/poly on every padded instance.
Heavy instances #
A heuristic scheme run with confidence parameter k errs with probability at most 1/(k+1) on
each length. So it cannot err on an instance of larger probability
(Cslib.Complexity.DistProblem.IsHeuristicScheme.correct_of_lt). An errorless scheme likewise
answers every such instance (Cslib.Complexity.DistProblem.IsErrorlessScheme.correct_of_lt). Run
with confidence q(|x|), a heuristic scheme becomes a single polynomial-time decider that is
correct on every instance of probability at least 1/q(|x|)
(Cslib.Complexity.exists_agree_of_mem_HeurP). When every instance in the support is that heavy,
the decider is correct on the whole support
(Cslib.Complexity.exists_agree_on_support_of_mem_HeurP).
Under the uniform ensemble a word x has probability 2^{-|x|}. With confidence 2^{|x|} the
scheme decides L exactly, in time polynomial in 2^{|x|}. So (L, U) ∈ HeurP implies L ∈ E
(Cslib.Complexity.mem_E_of_mem_HeurP_uniform).
Padded instances #
Cslib.Complexity.PaddedFrame.ensemble collapses the uniform ensemble at the prefix code of framed
words (Cslib.Complexity.HeaderParser.ensemble). The padded word frame u ++ 1^m gets probability
exactly 2^{-(2|u|+1)} (Cslib.Complexity.PaddedFrame.ensemble_dist_frame_append), and the
ensemble is polynomial-time computable. If 2^{|u|} ≤ m and N = 2|u| + 1 + m, this probability
is at least 1/(2N²). So under DistNP ⊆ HeurP, every problem in NP paired with this ensemble
has a polynomial-time decider that is correct on all exponentially padded instances. That is the
hypothesis Cslib.Complexity.ExpPaddedNPEasy of the padding argument
(Cslib.Complexity.expPaddedNPEasy_of_DistNP_subset_HeurP), which gives NE ⊆ E and
NEXP ⊆ EXP.
Scope #
Ben-David, Chor, Goldreich and Luby state the theorem for
DistNP ⊆ AvgP in Levin's model, with a single distribution on all words. The statements here use
the length-indexed ensembles and the scheme classes AvgP and HeurP of
Bogdanov and Trevisan; no bridge between the two models is formalized. The
HeurP form is stronger than the AvgP form Cslib.Complexity.NE_subset_E_of_DistNP_subset_AvgP
because AvgP ⊆ HeurP (Cslib.Complexity.AvgP_subset_HeurP). The primary text has not been
inspected, so its theorem number and the details of its proof are unverified. The proof here is a
standard padding argument, and the HeurP strengthening is not claimed as new.
Main results #
Cslib.Complexity.DistProblem.IsHeuristicScheme.correct_of_lt,Cslib.Complexity.DistProblem.IsErrorlessScheme.correct_of_lt: schemes are correct on instances heavier than their failure bound.Cslib.Complexity.exists_agree_of_mem_HeurP: one polynomial-time decider is correct on all instances of probability at least1/q(|x|).Cslib.Complexity.mem_E_of_mem_HeurP_uniform,Cslib.Complexity.mem_E_of_mem_AvgP_uniform:(L, U) ∈ HeurPor(L, U) ∈ AvgPimpliesL ∈ E.Cslib.Complexity.PaddedFrame.ensemble_pComp,Cslib.Complexity.PaddedFrame.ensemble_dist_frame_append: the padded ensemble.Cslib.Complexity.NE_subset_E_of_DistNP_subset_HeurP,Cslib.Complexity.E_eq_NE_of_DistNP_subset_HeurP: ifDistNP ⊆ HeurP, thenE = NE, and likewiseEXP = NEXP; theAvgPcorollariesCslib.Complexity.NE_subset_E_of_DistNP_subset_AvgPandCslib.Complexity.E_eq_NE_of_DistNP_subset_AvgP.
References #
Heavy instances #
A heuristic scheme is correct on heavy instances. Run with confidence parameter k, it
errs with probability at most 1/(k+1) on each length. So it answers correctly on every instance
of larger probability.
An errorless scheme answers heavy instances. Run with confidence parameter k, it fails
with probability at most 1/(k+1) on each length. So it answers every instance of larger
probability, and correctly.
Heavy instances are decided in polynomial time. If L ∈ HeurP, then for every polynomial
q a single polynomial-time decider is correct on every instance x of probability at least
1/q(|x|): run the heuristic scheme with confidence parameter q(|x|).
Exact decision on the support. If L ∈ HeurP and every instance in the support of the
ensemble has probability at least 1/q(|x|), then a polynomial-time decider agrees with L on
the support.
(L, U) ∈ HeurP implies L ∈ E. A word x has probability 2^{-|x|} under the uniform
ensemble, so the heuristic scheme run with confidence parameter 2^{|x|} decides L exactly, in
time polynomial in 2^{|x|}.
(L, U) ∈ AvgP implies L ∈ E.
The padded ensemble #
The padded ensemble: flip uniform bits until a framed word has been read, then pad it with ones.
The padded ensemble is polynomial-time computable.
A padded word frame u ++ 1^m has probability 2^{-(2|u|+1)} under the padded
ensemble.
NE = E #
If DistNP ⊆ HeurP, then NP is easy on exponentially padded instances. For B ∈ NP,
the distributional problem (B, PaddedFrame.ensemble) is in DistNP. A word frame u ++ 1^m of
length N with 2^{|u|} ≤ m has probability 2^{-(2|u|+1)} ≥ 1/(2N²), so the heuristic scheme run
with confidence 2N² decides B on it.
If DistNP ⊆ AvgP, then NE ⊆ E: the AvgP form of the theorem of Ben-David, Chor,
Goldreich and Luby Ben-David, Chor, Goldreich and Luby, for
length-indexed ensembles rather than Levin's single distribution.