Math 2.0

Computer science Randomized, circuit, counting and interactive complexity Theorem

Parity is not in AC0

Builds on AC0Boolean circuit

Statement

Let PARITYn ⁣:{0,1}n→{0,1}\mathrm{PARITY}_n \colon \set{0,1}^n \to \set{0,1} be the function x↦x1⊕⋯⊕xnx \mapsto x_1 \oplus \cdots \oplus x_n, which is 11 exactly when xx has an odd number of ones.

  1. The language {x∈{0,1}∗:PARITY∣x∣(x)=1}\set{x \in \set{0,1}^* : \mathrm{PARITY}_{\abs{x}}(x) = 1} is not in AC0.
  2. More precisely, consider Boolean circuits with NOT gates and AND and OR gates of unbounded fan-in. For every d≥2d \ge 2 there is εd>0\varepsilon_d > 0 such that, for all large nn, every such circuit of depth dd for PARITYn\mathrm{PARITY}_n has at least 2εdn1/(d−1)2^{\varepsilon_d n^{1/(d-1)}} gates.

Remarks

Part 1 was proved by Furst, Saxe and Sipser and independently by Ajtai, and part 2 is due to Håstad. The proof uses random restrictions: fix each input at random to 00 or 11, except for a small random set of inputs left free. Håstad's switching lemma says that after such a restriction a small-width DNF becomes, with high probability, a small-width CNF. Then one layer of the circuit can be merged into the next. After d−2d - 2 rounds the circuit depends on few of the free variables. But the restriction of parity to the free variables is still parity or its negation, and it depends on all of them.

The bound in part 2 is sharp up to the constant εd\varepsilon_d: parity has depth-dd circuits of size 2O(n1/(d−1))2^{O(n^{1/(d-1)})}. The constant depth is necessary: with depth O(log⁡n)O(\log n), a balanced tree of exclusive-or blocks computes parity with O(n)O(n) gates.

Going deeper

For a student

This was one of the first unconditional lower bounds for a natural model of computation. It separates AC0\mathrm{AC}^0 from NC1\mathrm{NC}^1, since parity is in NC at level 11. Razborov and Smolensky gave a second proof by approximating AC0\mathrm{AC}^0 circuits with low-degree polynomials over a finite field. Their method also shows that counting modulo a prime qq is not in AC0\mathrm{AC}^0 with gates counting modulo a different prime pp. The proof is natural in the sense of the natural proofs barrier, which explains why such methods do not reach general circuits.

Reading path

To understand this page from the ground up, read these 3 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. AC0 concept
  2. Boolean circuit concept
  3. Parity is not in AC0 statement

Further reading

  1. Web https://en.wikipedia.org/wiki/AC0
About this page
TagW6T7X0QCFH
URIm2://W6T7X0QCFH
Kindstatement, theorem
WritingW0 stub
MSC68Q17, 68Q06
StatusThis copy of the site has no build data. Run m2 status W6T7X0QCFH.
AboutAC0, Circuit complexity
UsesAC0, Boolean circuit
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.