Problems
[14/57%]Describe the error in the following fallacious "proof" that . Assume that and obtain a contradiction. If , then SAT and so for some , . Because every language in NP is polynomial time reducible to , you have . Therefore, . But by the time hierarchy theorem, contains a language that isn't in , which contradicts . Therefore, .
Consider the function pad : that is defined as follows. Let , where and is the length of . Thus, simply adds enough copies of the new symbol to the end of so that the length of the result is at least . For any language and function , define the language as
Prove that if , then .
Prove that if NEXPTIME EXPTIME, then . You may find the function pad, defined in Problem 9.13, to be helpful.
ᴬ Define pad as in Problem 9.13.
Problem 9.13: Consider the function pad : that is defined as follows. Let , where and is the length of . Thus, simply adds enough copies of the new symbol to the end of so that the length of the result is at least . For any language and function , define the language as
Prove that for every and natural number iff .
Prove that .
Prove that .
- Read the definition of a 2DFA (two-headed finite automaton) given in Problem 5.26. Prove that P contains a language that is not recognizable by a 2DFA.
Problem 5.26: A two-headed finite automaton (2DFA) is a deterministic finite automaton that has two read-only, bidirectional heads that start at the left-hand end of the input tape and can be independently controlled to move in either direction. The tape of a 2DFA is finite and is just large enough to contain the input plus two additional blank tape cells, one on the left-hand end and one on the right-hand end, that serve as delimiters. A 2DFA accepts its input by entering a special accept state.
Let . Show that P.
Define the unique-sat problem to be
Show that USAT .
Prove that an oracle exists for which .
A k-query oracle Turing machine is an oracle Turing machine that is permitted to make at most queries on each input. A -query oracle Turing machine with an oracle for is written . Define to be the collection of languages that are decidable by polynomial time -query oracle Turing machines with an oracle for .
Show that .
Assume that . Show that .
Suppose that and are two oracles. One of them is an oracle for , but you don't know which. Give an algorithm that has access to both and , and that is guaranteed to solve TQBF in polynomial time.
Recall that you may consider circuits that output strings over by designating several output gates. Let take two bit binary integers and produce the bit sum. Show that you can compute the function with size circuits.
Define the function as
Thus, the function returns the majority vote of the inputs. Show that can be computed with:
size circuits.
size circuits. (Hint: Recursively divide the number of inputs in half and use the result of Problem 9.23.)
- Define the function as in Problem 9.24. Show that it may be computed with size circuits.
Problem 9.24: The function is
Thus, the function returns the majority vote of the inputs.