O'Reilly logo

Theory of Computational Complexity, 2nd Edition by Ker-I Ko, Ding-Zhu Du

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3

The Polynomial-Time Hierarchy and Polynomial Space

One thing nice about space is that it keeps on going ...

—Willem de Kooning

We study complexity classes beyond the class NP. First, the polynomial-time hierarchy of complexity classes is introduced based on nondeterministic oracle machines. This hierarchy lies between the class P and the class PSPACE, and the class NP is the first level of the hierarchy. Characterizations of these complexity classes in terms of alternating quantifiers and alternating Turing machines (ATMs) are proven. Finally, we present some natural complete problems for this hierarchy and for complexity classes PSPACE and EXP.

3.1 Nondeterministic Oracle Turing Machines

We have defined in Chapter 2 the notions of polynomial-time Turing reducibility and oracle TMs, and have seen that many optimization problems, when formulated in the search problem form, are solvable in polynomial time relative to a set in NP. We now extend this notion to nondeterministic oracle TMs and study problems that are solvable in nondeterministic polynomial time relative to sets in NP.

A nondeterministic (function-)oracle Turing machine (oracle NTM) is an NTM equipped with an additional query tape and two additional states: the query state and the answer state. The computation of an oracle NTM is similar to that of an oracle DTM, except that at each nonquery state an oracle NTM can make a nondeterministic move. We require that the query step of the computation be a deterministic ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required