Lecture 10. Circuit Complexity 2
In last lecture we proved exponential lower bound for depth-3 circuit. The method doesnβt
extend to larger depth. In this lecture, we show how to prove exponential lower bounds for
constant-depth circuits.
1.
DNF, CNF, and Switching Lemma
Recall:
π
π
π
π
CNF: π(π₯1 β¦ π₯π ) = βπ
π=1 βπ=1 πππ , where each πππ is a literal, and each βπ=1 πππ is a clause.
The function π is called a π-CNF if each ππ β€ π.
π
π
π
π
DNF: π(π₯1 β¦ π₯π ) = βπ
π=1 βπ=1 πππ , where each βπ=1 πππ is a monomial. The function π is
called a π-DNF if each ππ β€ π.
In general, a π-CNF is not necessarily also a k-DNF. For example, the AND function is a
1-CNF, but an n-DNF. The Switching Lemma says that if we fix some variables of a t-CNF,
then we obtain a subfunction which is an s-DNF for some small s. We can actually use a
random restriction. A p-random restriction makes each bit unfixed with probability p, and
fixed with probability 1 β π. In the latter case, the bit is fixed to be 0 or 1 each equal
probability. We use Ο to denote a random restriction, and ππ the resulting subfunction. The
following lemma was given by Hastad [Has89].
Lemma 1.1. If π is a π‘-CNF, and Ο is a p-random restriction, then
ππ«[ππ can be written as an π -DNF] β₯ 1 β (5ππ‘)π .
The original proof uses probabilistic arguments. Also see Razborovβs elegent proof [Raz95]
using a combinatorial method.
Recall that deg(π) is the degree of the function represented as a polynomial in π₯1 , β¦ , π₯π
over R. Equivalently, it is the largest max{|S|: πΜ(π ) β 0} where the numbers πΜ(π ) are the
Fourier coefficients.
We now give another lemma.
Lemma 1.2. Under the condition of Lemma 1.1,
ππ«[deg(ππ ) > π ] < (5ππ‘)π ,
2.
Application of Switching Lemma
Recall that certificate complexity of a function π: {0.1}π β {0,1} on an input π₯ is
πΆ(π, π₯) = min {|π|: π β [π], π(π¦) = π(π₯) βπ¦ with π¦π = π₯π }
where π₯π = (π₯π : π β π). Further define
πΆ1 (π) = max {πΆ(π, π₯): π(π₯) = 1} ,
πΆ0 (π) = max {πΆ(π, π₯): π(π₯) = 0},
and
πΆ(π) = max πΆ(π, π₯) ,
π₯
πΆπππ (π) = min πΆ(π, π₯) .
π₯
To get familiar with the concept, consider some specific functions:
ο¬
AND: πΆ0 (π) = 1, πΆ1 (π) = π, πΆ(π) = π, πΆπππ (π) = 1.
ο¬
OR: πΆ0 (π) = π, πΆ1 (π) = 1, πΆ(π) = π, πΆπππ (π) = 1.
ο¬
Parity: πΆ0 (π) = π, πΆ1 (π) = π, πΆ(π) = π, πΆπππ (π) = π.
ο¬
Majority: πΆ0 (π) = π/2, πΆ1 (π) = π/2, πΆ(π) = π/2, πΆπππ (π) = π/2.
Theorem 2.1. If f can be computed by a depth-(π + 1) circuit of size S, then
πΆπππ (π) β€ π (1 β
1
10π (log π)πβ1
) + 2 log π.
Using the parameters for Parity, we immediately get the following corollary.
Corollary. If a circuit with depth d computes the Parity function, then the circuit size is at
least
π = 2πΊ(π
πβ1 )
.
Now we sketch the proof for Theorem 2.1.
Proof idea (of Theorem 2.1). Repeatedly apply the Switching Lemma, in a bottom up manner,
to reduce the depth. Use the lemma with π = π‘ = 2 log π, and π = 1/10π . Once we replace a
CNF by a DNF, weβll see two consecutive layers of OR gates, thus we can collapse these two
layers. Each round leaves about p-fraction of variables unfixed, thus finally we get a depth-2
circuit which computes a subfunction π of ππβ1 π = π/(10 log π)πβ1 variables. We need
some special handling for the first step, which can also be done as an application of the
switching lemma. And finally the s-DNF function π can be made constant by restricting π
π
variables. Thus overall we restricted π β 10π (log π)πβ1 + 2 log π variables and obtained a
constant function. By definition of πΆπππ (π), we get the claimed statement. β‘
Next we show exponential lower bounds for more general functions, superseding the previous
result for Parity. Itβs interesting also because it links circuit complexity and Fourier
coefficients. This famous result was given in [LMN93].
Theorem 2.2. If a circuit with depth d and size M computes a function π: {0,1}π β {β1, +1},
then
π β₯ 2Ξ©(π
1/π )
β
β πΜ(π )2 .
π :|π |>π
Note that for Parity function, there is only one nonzero Fourier coefficient: πΜ(1π ) = 1. Thus
we can take π = π β 1 and obtain a lower bound of 2Ξ©(π
1/π )
.
Weβll need a couple of lemmas to prove this theorem.
Lemma 2.3. βπ‘:|π‘|>π πΜ(π‘)2 β€ 2Eπ βπ(π) [βπ‘:|π‘π |>ππ/2 πΜ(π‘)2 ].
Proof. Think of T also as a random variable distributed according to Fourier weights πΜ(π‘)2 .
(We identify a string π β {0,1}π with a subset π β [π].) Then
RHS
= 2 Eπ [Pr[|π β© π| > ππ/2]] = 2 Pr[|π β© π| > ππ/2]
π
π,π
= 2 (Pr[|π| > π] Pr[|π β© π| > ππ/2| |π| > π] + Pr[|π| β€ π] Pr[|π β© π| > ππ/2| |π| β€ π])
T
S
π
π
β₯ 2 Pr[|π| > π] Pr[|π β© π| > ππ/2 | |π| > π]
T
π
> 2 Pr[|π| > π] (1/2)
π
= Pr[|π| > π]
π
= LHS
β‘
( Pr[|π β© π| > ππ/2 | |π| > π] > 1/2 by Chernoff )
π
Lemma 2.5. A p-random restriction π gives a subfunction ππ of deg(ππ ) β€ π with
1
probability at least 1 β π2βπ . Here π β€ 10π π πβ1 .
This can be proven by a similar argument as in the proof of Theorem 2.1; one just need to use
Lemma 1.2 instead of Lemma 1.1. See [LMN93] for details.
Proof of Theorem 2.2. Let π(π) be the distribution on {0,1}π by setting each coordinate to
be 1 with probability π. Let π = 1/(10π (πβ1)/π ), π = ππ/2 = π1/π /20. Note that we
identify a string π β {0,1}π and a subset π β [π].
βπ‘:|π‘|>π πΜ(π‘)2 β€ 2Eπ βπ(π) [βπ‘:|π‘π |>ππ/2 πΜ(π‘)2 ]
(Lemma 2.3)
β€ 2Eπ βπ(π) [Pr[deg(ππ ) > π]]
(Lemma 2.4)
β€ 2π2βπ
(Lemma 2.5)
r
β‘
References
[Has89] J. Hastad, Almost optimal lower bounds for small depth circuits, Advances in
Computing Research, vol. 5, pp. 143β170, 1989.
[Raz95] A. A. Razborov, Bounded arithmetics and lower bounds in boolean complexity,
in Proceedings of Workshop on Feasible Mathematics II, 1995.
[LMN93] N. Linial, Y. Mansour, and N. Nisan, Constant depth circuits, Fourier
transforms and learnability, Journal of the ACM, vol. 40, pp. 607β620, 1993.
© Copyright 2026 Paperzz