Bounded-query oracle classes and P^{NP[O(log n)]} #
f is computable in polynomial time relative to A with r requests
(Cslib.Complexity.ComputableInPolyTimeWithOracleQueries) when it has the certificate of
Cslib.Complexity.ComputableInPolyTimeWithOracle and the program, run against the oracle
language A, makes at most r n requests on instances of encoded length n
(Cslib.OracleComp.queriesWith). The requests are counted against A itself, as in the usual
definition of a machine with oracle A making a bounded number of queries; the certificate's
clock bounds the requests against every oracle in any case
(Cslib.Probability.IsOraclePPTOn.query_bounds).
P^{NP[O(log n)]} (Cslib.Complexity.PNPLog) is the class of problems decided in polynomial time
with at most c log₂ n + c requests to some oracle language in NP, for a constant c
Hemaspaandra and Ogihara, p. 1 Kadin. It contains
NP and coNP with one request to the encodings of the satisfiable formulas
(Cslib.Complexity.NP_subset_PWithOracleQueries_image_SAT), through the Cook–Levin reduction, and
is closed under complement. Running two deciders in sequence adds their requests
(Cslib.Complexity.inter_mem_PWithOracleQueries), so the nth level of the Boolean hierarchy is
decided with n requests to SAT and the whole Boolean hierarchy lies in P^{NP[O(log n)]}
Köbler, Schöning and Wagner; in particular DP and coDP
(Cslib.Complexity.BH_two, Cslib.Complexity.coBH_two) are decided with two requests.
Main definitions #
Cslib.Complexity.ComputableInPolyTimeWithOracleQueries: polynomial time relative to an oracle with a bounded number of requests.Cslib.Complexity.PWithOracleQueries: the problems so decided.Cslib.Complexity.PNPLog:P^{NP[O(log n)]}.
Main results #
Cslib.OracleComp.length_queriesWith_iterate_le: a bounded loop of rounds with boundedly many requests makes boundedly many requests.Cslib.Complexity.ComputableInPolyTimeWithOracleQueries.computableInPolyTimeWithOracle,.mono,.map,.prod: forgetting and weakening the bound, postprocessing, and sequential composition.Turing.MultiTapeTM.ComputableInPolyTime.computableInPolyTimeWithOracleQueries: polynomial time makes no request.Cslib.Complexity.computableInPolyTimeWithOracleQueries_query: one request (Cslib.Complexity.queryBit) decides membership of a polynomial-time request word.Cslib.Complexity.compl_mem_PWithOracleQueries,Cslib.Complexity.compl_mem_PNPLog: closure under complement.Cslib.Complexity.inter_mem_PWithOracleQueries: closure under intersection, adding the bounds.Cslib.Complexity.NP_subset_PWithOracleQueries_image_SAT: one request toSATdecides a problem inNP.Cslib.Complexity.BH_subset_PWithOracleQueries_image_SAT:nrequests toSATdecide a problem in thenth level of the Boolean hierarchy.Cslib.Complexity.P_subset_PNPLog,Cslib.Complexity.NP_subset_PNPLog,Cslib.Complexity.coNP_subset_PNPLog,Cslib.Complexity.BooleanHierarchy_subset_PNPLog,Cslib.Complexity.PNPLog_subset_PWithOracle.
References #
A bounded loop makes a bounded number of requests: if every round makes at most r
requests, n rounds make at most n * r.
f is computable in polynomial time relative to the oracle language A with at most r n
requests on instances of encoded length n: one deterministic word-query program has the
certificate of ComputableInPolyTimeWithOracle, computes f against A, and makes at most
r (input a).length requests on a against A.
A bounded number of requests is in particular polynomial time relative to the oracle.
Weakening the bound on the requests.
Polynomial-time postprocessing of the result makes no further request.
Sequential composition: running two programs against the same oracle one after the other, retaining both results, makes the requests of both.
A polynomial-time computation makes no request.
One request to A for the polynomial-time word req a decides whether req a ∈ A.
P^{NP[O(log n)]}: the problems decided in polynomial time with at most c log₂ n + c
requests, on instances of encoded length n, to some oracle language in NP
Hemaspaandra and Ogihara, p. 1 Kadin.
Closure under intersection: run both deciders, adding their requests.
A problem that reduces in polynomial time to the oracle language is decided with one request.
A problem decided with c log₂ n + c requests to an oracle language in NP is in
P^{NP[O(log n)]}.
A level of the Boolean hierarchy needs a constant number of requests: a problem in
BH enc n is decided with n requests to SAT, one for each NP language of its nested
difference; by compl_mem_PWithOracleQueries, so is a problem in coBH enc n.
Köbler, Schöning and Wagner, Corollary 4.6 (i) prove the stronger
nonadaptive form: the nth level (their DIFF_n) and its complements are n-truth-table
reducible to NP. PWithOracleQueries counts requests that may depend on earlier answers.
BooleanHierarchy ⊆ P^{NP[O(log n)]}: a problem in the nth level is decided with n
requests to SAT, a constant number. The Boolean hierarchy is in fact the class of problems
bounded-truth-table reducible to NP Köbler, Schöning and Wagner, Corollaries 3.9 (iii) and
4.6 (ii).
P^{NP[O(log n)]} ⊆ P^{NP}.