This homework covers the material from lectures 11 to 15.
Due date: November 15th, 10pm Waterloo time.
Required Exercises
Problem 1 - Another way to detect languages in (20 points)
Let be a poly-time PTM and let be a language where, for some fixed , we have that
and
Prove that is in .
Problem 2 - Zero-error probabilistic polynomial time () (20 points)
Define the complexity class as the class of languages for which there exists a poly-time PTM which has three possible outputs , , and , where, on any input , we have:
- , that is, never outputs the wrong answer; and
- .
Prove that .
Problem 3 - Interactive Proofs (20 points)
Let be the class of languages which are -decided by a Merlin-Arthur-Merlin protocol, where Merlin first sends a message to Arthur, then Arthur sends a message to Merlin, and finally Merlin sends another message to Arthur, and then Arthur decides (deterministically) whether to accept or reject.
(Remember, Arthur can only use randomness to send his message to Merlin.)
Prove that .
Hint: probabitity amplification.
Problem 4 - Space and Time (20 points)
Prove that .
Problem 5 - Logspace reductions (20 points)
Let
and
Prove that .
Hint: From a graph , construct a new graph , where for every , we have a copy and , and where .
Now, note that is not bipartite if and only if there is a path in from to for some .
Use this idea to construct your logspace reduction.
Also, remember that a graph is bipartite if and only if it has no odd cycles.