Chapter 9: Intractability
Q10E
Problem 8.13 showedthat is complete.
a) Do we know whether?Explain your answer.
b) Do we know whether ?Explain your answer.
Q11E
Show that the language from problem 7.48 isin.
Q12P
Describe the error in the following fallacious 鈥減roof鈥 that.Assume that P=NP and obtain a contradiction. If P=NP, then SAT? P and so, for some k,SAT?Because every language in NP is polynomial time reducible to SAT, you have
. Therefore,.Butby the time hierarchy theorem, TIME(n k+1) contains a language that isn鈥檛 in , which contradicts.Therefore,
Q13P
Consider the following function that is defined as follows. Let PAD (s, l) = s#3, where j = max (0,l - m) and mis the length of s. Thus, pad (s, l)simply adds enough copies of the new symbol # to the end of s so that the length of the result is at least l. For any language A and function , define the language pad(A, f) as where and 鈥榤鈥 is the length of 鈥榮鈥 }. Prove that if , then .
Q14P
Prove that if, then . You may find the function pad, defined in problem 9.13, to be helpful.
Q16P
Prove that
Q17P
Question: Read the definition of a 2DFA (two-headed finite automation) given in Problem 5.26. Prove that P contains a language that is not recognisable by a 2DFA.
Q19P
Q1E
Prove that
Q22P
Suppose that A and B are two oracles. One of them is an oracle for TQBF, but if you don鈥檛 know which. Give an algorithm that has access to both A and B, and that is guaranteed to solve TQBF in polynomial time.