Imagine a circuit made only of AND and OR gates, but you are allowed to stack them only a constant number of levels deep — no matter how many inputs you have. That is AC⁰: constant-depth, polynomial-size circuits with unbounded fan-in.
AC⁰ can do remarkable things. It can add numbers, compare them, sort a list, compute majority — all in just a handful of layers. For a long time it was tempting to think AC⁰ was essentially all-powerful.
Then came parity: the function that outputs 1 if an odd number of its inputs are 1, and 0 otherwise. Parity is the simplest function you can imagine that cares equally about every input. Yet no AC⁰ circuit can compute parity. The proof is Håstad's Switching Lemma (1987) — a single probabilistic argument that reveals why shallow circuits are fundamentally blind to parity.
The lemma is not just about parity. It is the master tool for proving lower bounds in circuit complexity: a way to show that certain problems are genuinely beyond the reach of shallow computation, no matter how many gates you throw at them.
Comments
Loading comments...