Computational Complexity Homework III for CS6520, Assignments of Computer Science

The third homework assignment for the computational complexity course (cs6520) at carnegie mellon university. The assignment covers topics such as probabilistic polynomial time classes ma2/3,1/3 and ma1,1/3, pspace and p/poly, non-uniform circuit classes nc, #p-completeness, and pairwise independent hash functions. Students are required to complete problems related to these topics and submit their solutions by march 15, 2007.

Typology: Assignments

Pre 2010

Uploaded on 08/05/2009

koofers-user-dix
koofers-user-dix 🇺🇸

10 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

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.
xL 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
xL 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