AC0 2026-11-05
AC0 is the class of decision problems computable by Boolean circuit families with polynomial circuit size, constant circuit depth and unbounded-fan-in AND gates and OR gates, together with NOT gates. The depth bound is independent of input length. Uniform and nonuniform versions must be distinguished; without a qualifier the Circuit family need not be generated by one efficient algorithm.
Conjunction and disjunction of inputs each take one gate. Testing equality of two -bit strings also has constant depth: test equality at every bit using a fixed small circuit, then AND those results. In contrast, the parity function cannot be computed by constant-depth polynomial-size circuits of this gate basis. Adding an unbounded parity gate changes the model and defeats that conclusion. Counting only depth while ignoring size would also be misleading: a truth-table Disjunctive normal form represents any Boolean function at constant depth but may require exponentially many gates.
Circuit complexity Created 2026-09-24 Updated 2026-11-05
Circuit complexity measures the resources of Boolean circuits computing a Boolean function. Circuit size counts logic gates or wires under a declared convention; circuit depth measures the longest dependency chain. The allowed logic gates and their fan-in are part of the model.
For the conjunction of Boolean variables, a chain of two-input AND gates uses logic gates and depth . A balanced binary tree still uses logic gates but reduces depth to . A depth- Boolean circuit of fan-in at most two can depend on at most inputs, so that depth is optimal for this function. An unbounded-fan-in AND gate would compute it in one layer, showing why the logic gate convention matters.
A circuit family supplies one Boolean circuit per input length. uniform circuit families impose an effective construction rule; an unrestricted nonuniform family can choose separate Boolean circuits independently. Lower bounds therefore need both the Boolean circuit model and the uniformity convention.
Circuit lower bound 2026-11-05
A circuit lower bound proves that every Boolean circuit computing a specified Boolean function requires a certain circuit size, circuit depth or other resource. The gate basis, allowed fan-in and uniformity conditions must be stated. Showing that one construction is large only bounds that construction, not every possible circuit.
For a simple depth bound, consider AND gates, OR gates and NOT gates of fan-in at most two. By induction, a gate at depth depends on at most input positions. The conjunction of inputs depends on all , hence requires depth at least . A balanced tree of AND gates attains the bound. Allowing an unbounded-fan-in AND gate collapses the depth to one, so this proof cannot establish the same bound in that model. General unrestricted polynomial-size lower bounds for explicit hard problems are much more difficult.
Comparator composition Created 2026-10-25 Updated 2026-10-31
To combine more and less significant digital comparators, compute and use the displayed formulas. Unequal upper blocks decide the order, because their difference outweighs every possible lower-block difference; equal upper blocks delegate the decision to the lower block. This is an associative operation on the three comparison outcomes. A balanced binary tree of these combinations has circuit size and circuit depth for -bit inputs.
For a block of bits, encode its count leading zeros result as a zero flag followed by low count bits . An all-zero block has ; otherwise . Two half-block encoders supply flags and low counts . Combine them using , , and for . A one-bit leaf has and no low count bits. Checking whether the upper half is nonzero, only the lower half is nonzero, or both halves are zero proves the formula.
All count bits are selected in parallel, so for circuit depth. The circuit size satisfies ; summing the work over levels gives . Sharing the all-zero flags avoids a serial adder along the critical path.
Logic gate 2026-10-25
A physical or idealized component implementing a fixed Boolean function on one or more input bits. For example, an AND gate outputs one exactly when both input bits are one. A Boolean circuit connects logic gates; circuit size counts components and circuit depth measures the longest chain of dependencies.
Multiplexer 2026-10-25
A selector that routes one of several inputs to its output according to control bits. The displayed two-input version selects when and when . A word selector applies the same control bit to parallel one-bit multiplexers; its circuit size grows with the word width while its added circuit depth remains constant.
Nathan Linial 2026-11-05
Nathan Linial coauthored the 1993 Fourier analysis of AC0 with Yishay Mansour and Noam Nisan. The paper relates constant circuit depth to low-level concentration of Fourier weight, using a switching lemma to control behavior under restrictions. This yields low-degree approximation and learning consequences. circuit depth, circuit size and approximation accuracy remain separate parameters of the bound.[ref]
Use a Boolean circuit of unbounded-fan-in AND and OR gates, with negations pushed to the input Boolean literals. Its circuit depth is the largest number of AND/OR gates on an input-to-output path, and its circuit size counts these gates. Constants and Boolean literals may be supplied as inputs. Equivalent standard size conventions only enlarge the absolute constants. One can merge adjacent gates of the same type; the depth-reduction argument below keeps the two possible normal forms available at each gate.
A random restriction with parameter independently leaves each variable live with probability and otherwise fixes it to zero or one with probability each. The Håstad switching lemma states that for a width- DNF or conjunctive normal form ,
Width bounds Boolean literals in a term or clause, not the number of terms. A decision tree of depth at most has both a DNF and a conjunctive normal form of width at most and has real multilinear degree at most . Indeed every leaf condition is a product of at most factors or ; sum the accepting leaves. The switching lemma controls the canonical decision tree, hence implies this representation bound.
We detail the Boolean circuit simplification parameters. First use a -random restriction. For a bottom AND gate, let count its live Boolean literals on the event that no fixed Boolean literal kills it. For distinct Boolean literals,
Thus the probability of retaining more than live Boolean literals without becoming constant is at most . The same calculation applies to bottom OR gates, with the opposite killing value. Repeated Boolean literals are removed and contradictory Boolean literals make a constant gate. A union bound makes all nonconstant bottom gates width at most , except with probability at most .
Now apply successive restrictions, each retaining probability of the remaining variables. At a two-layer gate, the current bottom forms are width- DNFs or conjunctive normal forms. The Håstad switching lemma bounds its probability of failing to reduce to decision-tree depth at most by . Convert the successful decision tree into the opposite normal form, whose terms or clauses have width at most , and merge its outer gate with the adjacent gate of the same type. This removes one layer. Repeat upwards until the output has a depth- decision tree.
The bookkeeping matters: although a decision tree may give clauses, each subsequent switching event is charged to the corresponding original Boolean circuit gate, not to each newly created clause. The lemma permits any number of terms. Each original gate is charged once, so the sum of the failure probabilities is at most , without an extra exponential size factor. Conditioning on successful preceding stages is harmless because each next restriction is fresh and the width bound holds for every preceding success. For a general Boolean circuit the conjunctive normal form or DNF representation at a shared gate can be chosen separately for each outgoing use; no extra gates need to be counted as switching targets.
The composed restriction has live-variable probability
Fixed values are still unbiased and coordinates independent. We have proved the useful intermediate estimate
For , the initial bottom-gate argument alone gives this conclusion. This is a depth-reduction estimate, not the desired Fourier-tail theorem used as a black box.
Next derive exactly how restrictions affect the Fourier-Walsh transform. Let be the random live set and the fixed assignment outside . With , the restricted coefficient at is
Orthogonality of the fixed-coordinate characters eliminates cross terms after averaging over . Therefore
and then averaging over gives the expected Fourier weight after a random restriction identity
The original high-degree tail is not preserved: each original coefficient is weighted by a binomial distribution survival probability. On successful restrictions the left-hand tail vanishes; on failures it is at most one by Parseval's identity and . Hence its expectation is at most .
Put . If , choose and the preceding value of . For every , the binomial distribution mean satisfies
Its variance is at most . The Chebyshev inequality gives
Thus the exact expectation identity bounds at least half the original tail above , and
When the same bound follows from the trivial total-weight bound . We obtain explicit absolute constants,
This supplies the requested overview of the Linial-Mansour-Nisan theorem with the actual switching scale, gate-count bookkeeping and restriction-to-Fourier calculation. The argument uses the unbounded-fan-in AND/OR Boolean circuit basis; allowing arbitrary gates would make the theorem false, since one parity gate could have all its nonconstant Fourier weight at level . The original theorem is Linial, Mansour and Nisan's circuit Fourier bound.
Apply comparator composition recursively in a balanced binary tree, with one-bit digital comparators at its leaves. For a power of two , the circuit size and circuit depth satisfy
There are leaves and internal nodes, so the circuit size is and the combinational delay is . Here each fixed-fan-in logic gate has bounded delay. For arbitrary , pad both inputs with leading zero bits to the next power of two, which is less than ; this preserves their unsigned interpretation and both bounds.
Razborov approximation method Created 2026-09-28 Updated 2026-11-05
The Razborov approximation method compares a monotone circuit with a simpler computation in an approximating family. Replace AND gates and OR gates by chosen approximate operations while preserving the Boolean circuit's dependency graph. The resulting output stays inside the simpler family.
The proof controls two things: the sets of inputs where each approximate operation disagrees with its Boolean counterpart, and the ability of the approximating family to separate positive from negative inputs. The Razborov gate-by-gate approximation lemma charges every output disagreement to a local defect. A union bound then limits how much error a small circuit size can accumulate.
For the clique construction, Razborov closure supplies tractable set families; positive inputs contain a large clique and negative inputs are suitably coloured complete multipartite graphs. A small approximation cannot classify both collections correctly, forcing a large original monotone circuit.[ref]