Question: 3. In this problem, we will prove that PP-RPn coRP. That is, we will show that given an algorithm whose output is always correct and

3. In this problem, we will prove that PP-RPn coRP. That is, we will show that given an algorithm whose output is always correct and runs in polynomial time in erpectation, we can construct an efficient one-sided error randomized algorithm with no false positives as well as an efficient one-sided error randomized algorithm with no false negatives, and vice versa. (a) Prove that ZPP C RP. That is, let M be a Las Vegas algorithm for a language L that runs in nk steps in expectation. Using M, construct a new algorithm A such that: . x E L Pr[A accepts x] > p where p is some constant 0 B always accepts r a L PrB rejects x] q where q is come constant 0 p where p is some constant 0 B always accepts r a L PrB rejects x] q where q is come constant 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
