Trusted by Students Everywhere
Why Choose Us?
0% AI Guarantee

Human-written only.

24/7 Support

Anytime, anywhere.

Plagiarism Free

100% Original.

Expert Tutors

Masters & PhDs.

100% Confidential

Your privacy matters.

On-Time Delivery

Never miss a deadline.

1) A directed graph is strongly connected if, for all vertices it, v, there is a directed path from u to v

Computer Science May 29, 2022

1) A directed graph is strongly connected if, for all vertices it, v, there is a directed path from u to v. Prove that the following problem is NL-complete (under logspace reductions): {G (G is a strongly connected directed graph) You can use the fact that {(G,s, t) I G is a directed graph with a path from s to t) is NL-complete. Be sure to argue why your reduction can be done in logspace. 2. (a) Recall that RP is the set of languages L that can be solved in the following way by a PPT TM M: 
X E L Pr[M(x) = 1] > 1/2 x 0 L Pr[M(x) = 1] = 0 
So the only kind of "mistake" that M can make is to output 0 when the correct answer is 1. Take L to be in RP, with associated PPT TM M, and focus on a specific input length n. Define L„ = Ln {0, 1)„ — all the strings of length n in L. Show that there exists a random tape r' with the following property: at least half of x E L„ satisfy M(x; r.) = 1. In other words, one random taper' gives you the right answer for at least half of the inputs of length n. (b) Continuing to focus on L. and M defined above: Show that there is a set R. of random tapes, whose cardinality IRS is bounded by a polynomial in n (what polynomial in n? you should explain!), satisfying the following property: For all x e Ln, there is at least one r e R,, that satisfies M(x; r) = 1. In other words, there is a small set of random tapes, and one of those random tapes will yield the correct answer for all inputs of length n. From this you should be able to conclude that RP g P/poly. 
 

Expert Solution

Archived Solution
Unlocked Solution

You have full access to this solution. To save a copy with all formatting and attachments, use the button below.

Already a member? Sign In
Important Note: This solution is from our archive and has been purchased by others. Submitting it as-is may trigger plagiarism detection. Use it for reference only.

For ready-to-submit work, please order a fresh solution below.

Or get 100% fresh solution
Get Custom Quote
Secure Payment