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 ( and poly-sized formulas)
A Boolean formula is a Boolean circuit, where each gate has fan-out at most except for the input variables. In this problem, you will prove that functions computed by polynomial-size formulas are precisely the class .
[5 marks] Show that every function 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 circuit, first show the following property of binary trees.
[5 marks] Let be a binary tree with nodes. Show that there exists a subtree of with nodes such that
[5 marks] Let be computed by a Boolean formula of polynomial size. Use Problem 1.2 to obtain a subformula satisfying the conditions in that problem, and let be the function computed by . Express using , and then recursively apply Problem 1.2 to show that can be computed in .
Problem 2 ( hierarchy) [5 marks]
Show that if , then for every .
Problem 3 [5 marks]
Show that there is a circuit of depth and size with unbounded fan-in gates that computes .
Problem 4 [5 marks]
Show that if is representable as a -CNF and a -DNF, then can be represented by a decision tree of depth .
Problem 5 [10 marks]
The majority function is defined as iff . Show that any depth unbounded fan-in Boolean circuit computing majority has size using the switching lemma.