



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




CS221: Computational Complexity Prof. Salil Vadhan
11/08 Scribe: Loizos Michael
1 Agenda 1
2 Existential Lower Bounds 1
3 Relations to Uniform Complexity 3
4 Circuit Depth 4
Circuit Complexity
Theorem 1 (Lupanov, Shannon) For each ε > 0 and for each sufficiently large n, ∃f : { 0 , 1 }n^ → { 0 , 1 } with circuit complexity (over the full basis B 2 ) at least (1 − ε) 2 n n.
Proof: We will prove the required result using a counting argument. In particular, we will show that the number of functions mapping { 0 , 1 }n^ to { 0 , 1 } is much larger than the number of ’distinct’ circuits of size m = (1 − ε) 2 n n. Note here that we do not need to explicitly ask for the circuit size to be at most m, since we can always increase the size of circuits by padding with extra gates.
Claim 2 There are 22 n functions mapping { 0 , 1 }n^ to { 0 , 1 } and there are at most O(m)m^ ’distinct’ circuits of size m, for each m > n.
If the claim holds, then log 2 (#circuits) = m · log 2 m + O(m). By setting m = (1 − ε) 2 n n , we get that log 2 (#circuits) =
(1 − ε) 2 n n
n + O( 2 n n ) = 2
n (^) − g(n), where g(n) → ∞, when n → ∞. Since,
log 2 (#f unctions) = 2n, it follows that (^) ##f unctionscircuits ≤ 2 −g(n), where 2−g(n)^ goes to zero (at a doubly exponentially rate!), when n → ∞. We conclude, therefore, that not only there exists a function with high circuit complexity, but almost all functions have high circuit complexity.
It remains to show that the claim is indeed valid.
Proof of claim: The fact that there are 2^2 n functions mapping { 0 , 1 }n^ to { 0 , 1 } is easy to see. Now to verify that there are at most O(m)m^ ’distinct’ circuits of size m, consider the process of specifying a circuit of size m and the number of choices at each step. In such a process we specify:
m·(m (^2) )m·m m!. By Stirling’s approximation of m!, the result is approximately n·^18
m·O(m)m (m/e)m^ , which is O(m)m^ as needed, when m > n. §
The intuitive explanation of the above theorem is that, a circuit of size m has a small description, while a function does not. So, in order to describe a function we necessarily need large circuits.
As we have commented earlier in the proof of the theorem, the vast majority of all the functions have exponential circuit complexity. Nevertheless, the best known lower bound for an explicit function (in NP) is only 5. 5 n, including the input gates. It is, thus, surprising that there are so many ’hard’ functions, but still a good lower bound for one such function is not known. In fact, it is not even known whether there exists a function in NEXP which has a super-polynomial circuit size (i.e. whether NEXP \ P/poly 6 = ∅). This question is in fact harder than proving that NEXP 6 = BPP, since we know that BPP ⊆ P/poly (see previous lecture).
Despite the above, it is possible that forcing some restrictions on the circuits will eventually provide some bounds on the circuit size of some functions. This would be particularly helpful since it would provide a means of proving that NP 6 = P.
Even though we motivated circuit complexity as a way to prove uniform separations, sometimes circuit lower bounds themselves are useful to us. The following recent theorem shows how strong circuit lower bounds imply the surprising result that randomized computations are not more pow- erful than deterministic ones!
The same ideas can be also applied to prove the second part of the theorem, where instead of SAT, we use QBF as the downward self reducible function.
Theorem 4 has played an important role in recent results which replace the circuit complexity assumption in theorem 3 with weaker uniform assumptions.
We now move on to examine another complexity measure for circuits. This time we focus our attention on the depth of a given circuit and not its size. The depth of a circuit is just the length of the longest path from some input gate to the output gate. This turns out to be a good complexity measure for parallel computation, where all operations at a given level can be seen as being performed in parallel (since they do not depend on each other).
It is useful to define a special class of circuits, called formulas. Formulas are circuits that exhibit a tree-like structure. That is, every gate (other than the input gates) has an out degree of exactly one. Formulas can be seen as corresponding to logic expressions.
The figure below illustrated one such formula that corresponds to the logical expression (X 1 ∧X 2 )∨ ¬X 1. Notice that input gates can be actually reused, or alternatively duplicated so as to maintain the tree-like structure of a formula.
We can show that for any given function, the depth of the circuit and the size of the formula that correspond to that function are exponentially/logarithmically depended on each other. Specifically, we will prove the following result.
Proposition 6 Let f be a function. If f has a circuit of depth d, then it has a formula of size 2 O(d). Conversely, if f has a formula of size s, then it has a circuit of depth O(log 2 s).
Proof: We will show the first implication. The idea is that we open up all paths so that every reused gate is duplicated. Schematically, this process is illustrated in the figure below.
The result follows immediately by the fact that the in degree of all gates is 2 and thus the subtree rooted at each gate is only duplicated once (i.e. we end up with two copies of that subtree). Starting from the root of the tree and proceeding inductively, it is easy to prove that this idea leads to the construction of a formula of size 2d.
The second implication of this result will be proven in the next lecture.