Chapter 7: Q47P (page 328)
The difference hierarchyis defined recursively as
- role="math" localid="1664206013824" and
(Here .) For example, a language in D2P is the difference of two NP languages. Sometimes is called DP (and may be written DP). Let
.Show that Z is complete for DP. In other words, show that Z is in DP and every language in DP is polynomial time reducible to Z.
Short Answer
It is computable in polynomial time also , iff role="math" localid="1664206415899" .Since , iff and ,iff and , if Polynomial time.