Polynomial time relative to an oracle in polynomial space #
Relative to an oracle language decided within polynomial space, polynomial time and
nondeterministic polynomial time are within polynomial space Arora and Barak, Theorem
3.7: NP^A ⊆ NPSPACE = PSPACE for A ∈ PSPACE.
A computation in polynomial time relative to A is the clocked run, with every coin fixed to
false, of a finite oracle machine (Cslib.Probability.IsOraclePPTOn.exists_fin_run_pure_false).
The run is simulated instruction by instruction, answering each query with the decider of A on
the request, which is no longer than the clock
(Turing.MultiTapePTM.exists_computableInO_run).
So the space is polynomial, while the time charges the decider of A once per instruction
(Cslib.Complexity.ComputableInPolyTimeWithOracle.exists_computableInO,
Cslib.Complexity.PWithOracle_subset_PSPACE).
For NP relative to A, Cslib.Complexity.mem_PSPACE_of_isVerifier and
Cslib.Complexity.NPWithOracle_subset_PSPACE follow from closure of PSPACE under polynomially
bounded existential quantification (Cslib.Complexity.setOf_exists_mem_PSPACE).
Main results #
Cslib.Complexity.exists_computableInO_of_mem_PSPACE,Cslib.Complexity.mem_PSPACE_of_computableInO:PSPACEin terms of computability within explicit bounds.Cslib.Complexity.mem_PSPACE_of_isVerifier: certificate search within polynomial space.Cslib.Complexity.ComputableInPolyTimeWithOracle.exists_computableInO: polynomial time relative to an oracle inPSPACEis within polynomial space.Cslib.Complexity.PWithOracle_subset_PSPACE,Cslib.Complexity.NPWithOracle_subset_PSPACE.
References #
PSPACE through explicit time and space bounds #
A problem in PSPACE has a decider within explicit bounds, the space polynomial in the
length of the encoded instance.
A decider within polynomial space puts a problem in PSPACE.
Certificate search #
Certificate search in polynomial space. A problem with a verifier decidable within
polynomial space and certificates of polynomial length is in PSPACE, by closure of PSPACE under
polynomially bounded existential quantification (Cslib.Complexity.setOf_exists_mem_PSPACE).
Oracles in polynomial space #
Oracle polynomial time within polynomial space. Relative to an oracle language in
PSPACE, a function computable in polynomial time relative to it is computable within space
polynomial in the length of the encoded input.
P relative to an oracle in PSPACE is within PSPACE.
NP relative to an oracle in PSPACE is within PSPACE Arora and Barak, Theorem
3.7: the verifier runs within polynomial space, and its certificates are searched
within polynomial space.