Docsity

Computational Complexity Homework III for CS6520, Assignments of Computer Science

Toggle sidebar
bg1
Homework III
CS6520
Computational Complexity
March 8, 2007
Due on Thursday, March 15th, at 6 pm. Collaboration is al-
lowed; please mention your collaborators.
1. The class MA is analogous to NP where the verifier can be a ran-
domized algorithm. There is an all powerful prover (called Merlin)
who gives a proof to the probabilistic polynomial time verifier (called
Arthur). Arthur uses a (private) random string r.
Define the class of languages MA2/3,1/3with two sided error as follows.
xโˆˆLโ‡’ โˆƒy, Prr[V(x, y, r ) = 1] โ‰ฅ2
3
x6โˆˆ Lโ‡’ โˆ€y, Prr[V(x, y, r ) = 1] โ‰ค1
3
Here V(,) is a deterministic polynomial time verification procedure
and lengths of yare rare polynomially bounded in the length of x.
Similarly we define the class MA1,1/3with one-sided error as follows
xโˆˆLโ‡’ โˆƒy, Prr[V(x, y, r ) = 1] = 1
x6โˆˆ Lโ‡’ โˆ€y, Prr[V(x, y, r ) = 1] โ‰ค1
3
Show that MA2/3,1/3= MA1,1/3. That is, if a language has a MA-
protocol with two-sided error, then it also has a MA-protocol with
one-sided error. Hint: Use ideas from the proof of BPP โІฮฃ2.
2. Show that
PSPACE โІP/poly โ‡’PSPACE = ฮฃ2
1
pf3

Partial preview of the text

Download Computational Complexity Homework III for CS6520 and more Assignments Computer Science in PDF only on Docsity!

Homework III

CS

Computational Complexity

March 8, 2007

Due on Thursday, March 15th, at 6 pm. Collaboration is al- lowed; please mention your collaborators.

  1. The class MA is analogous to NP where the verifier can be a ran- domized algorithm. There is an all powerful prover (called Merlin) who gives a proof to the probabilistic polynomial time verifier (called Arthur). Arthur uses a (private) random string r. Define the class of languages MA 2 / 3 , 1 / 3 with two sided error as follows.

x โˆˆ L โ‡’ โˆƒy, Prr[V (x, y, r) = 1] โ‰ฅ

x 6 โˆˆ L โ‡’ โˆ€y, Prr[V (x, y, r) = 1] โ‰ค

Here V (, ) is a deterministic polynomial time verification procedure and lengths of y are r are polynomially bounded in the length of x. Similarly we define the class MA 1 , 1 / 3 with one-sided error as follows

x โˆˆ L โ‡’ โˆƒy, Prr[V (x, y, r) = 1] = 1 x 6 โˆˆ L โ‡’ โˆ€y, Prr[V (x, y, r) = 1] โ‰ค

Show that MA 2 / 3 , 1 / 3 = MA 1 , 1 / 3. That is, if a language has a MA- protocol with two-sided error, then it also has a MA-protocol with one-sided error. Hint: Use ideas from the proof of BPP โІ ฮฃ 2.

  1. Show that

PSPACE โІ P/poly โ‡’ PSPACE = ฮฃ 2

Hint: Modify the proof of Karp-Lipton Theorem for a self reducible PSPACE complete problem.

  1. In this question all circuit classes are non-uniform. Show that for any non-negative integer i,

N Ci^ = N Ci+1^ โ‡’ N C = N Ci

  1. Assume that the problem of counting the number of matchings (not just perfect matchings) in a graph is #P-complete. Show that the problem of counting the number of satisfying assignments to an in- stance of 2-SAT is #P-complete.
  2. Pairwise Independent Hash Functions Consider the following family of functions F that map { 0 , 1 }n^ โ†’ { 0 , 1 }k. Pick a k ร— n matrix A with 0, 1 entries at random. Pick b โˆˆ { 0 , 1 }k^ at random. Let

f (x) = Ax + b

where all arithmetic operations are over Z 2. Assume that f โˆˆ F is picked uniformly at random (by choosing A and b randomly).

  • Show that for any x โˆˆ { 0 , 1 }n^ and y โˆˆ { 0 , 1 }k,

P rA,b[f (x) = y] =

2 k Hint: first consider the case when k = 1

  • Show that for any x 1 , x 2 โˆˆ { 0 , 1 }n^ and x 1 6 = x 2 , and any y 1 , y 2 โˆˆ { 0 , 1 }k,

P rA,b[(f (x 1 ) = y 1 ) โˆง (f (x 2 ) = y 2 )] =

22 k

  • Show that for any x 1 , x 2 โˆˆ { 0 , 1 }n^ and x 1 6 = x 2 ,

P rA,b[f (x 1 ) = f (x 2 )] =

2 k

  1. We will use pairwise independent hash functions to design an AM protocol for MANY-SAT. The problem is that we are given a SAT instance ฯ† with S as the set of its satisfying assignments. We are told that either |S| โ‰ฅ 2 k^ (YES case) or |S| โ‰ค 2 kโˆ’^10 (NO case). We have to