Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Problem Set 2

tags: pset

Instructions

  • LATEX
    your solutions and submit them on Moodle.
  • You are welcome to discuss the ideas involved in solving the problems amongst yourselves, but the solutions that you write must be your own. If you have doubts regarding what this means, please talk to me.
  • Always cite sources that gave you the idea for solving a problem, including external sources. If you discussed with a friend, please mention his/her name. This will not affect your grades.
  • Try to write brief answers. Only write what is necessary and sufficient.
  • If you don't know an answer, just write what you know and leave the rest. Better still, discuss with me if you are stuck.

Problem 1 (
NC1
and poly-sized formulas)

A Boolean formula is a Boolean circuit, where each gate has fan-out at most

1 except for the input variables. In this problem, you will prove that functions computed by polynomial-size formulas are precisely the class
NC1
.

  1. [5 marks] Show that every function
    f∈NC1
    can be computed by a polynomial-size Boolean formula by duplicating the gates as necessary.

To show that every polynomial-size Boolean formula can be represented by an equivalent

NC1 circuit, first show the following property of binary trees.

  1. [5 marks] Let

    T be a binary tree with
    n
    nodes. Show that there exists a subtree
    T′
    of
    T
    with
    n′
    nodes such that
    n3≤n′≤2n3

  2. [5 marks] Let

    f be computed by a Boolean formula
    T
    of polynomial size. Use Problem 1.2 to obtain a subformula
    T′
    satisfying the conditions in that problem, and let
    f′
    be the function computed by
    T′
    . Express
    f
    using
    f′
    , and then recursively apply Problem 1.2 to show that
    f
    can be computed in
    NC1
    .

Problem 2 (
NC
hierarchy) [5 marks]

Show that if

NCi=NCi+1, then
NCj=NCi
for every
j≥i
.

Problem 3 [5 marks]

Show that there is a circuit of depth

d and size
2O(n1/d−1)
with unbounded fan-in gates that computes
⊕n
.

Problem 4 [5 marks]

Show that if

f is representable as a
k
-CNF and a
t
-DNF, then
f
can be represented by a decision tree of depth
kt
.

Problem 5 [10 marks]

The majority function is defined as

MAJ(x1,x2,…,xn)=1 iff
∑xi>n/2
. Show that any depth
d
unbounded fan-in Boolean circuit computing majority has size
2Ω(n1/(d−1))
using the switching lemma.