Math 2.0

Computer science Definition

AC0

Builds on Boolean circuitFormal language

Definition

A language L⊆{0,1}∗L \subseteq \set{0,1}^* is in AC0\mathrm{AC}^0 if there are a polynomial pp, an integer d≥1d \ge 1 and Boolean circuits CnC_n such that, for all nn:

  1. CnC_n has nn inputs, and its gates are NOT gates and AND and OR gates of any fan-in;
  2. CnC_n has at most p(n)p(n) gates;
  3. every path from an input to the output of CnC_n passes through at most dd gates;
  4. for every x∈{0,1}nx \in \set{0,1}^n, Cn(x)=1C_n(x) = 1 if and only if x∈Lx \in L.

Remarks

Example: addition is in AC0\mathrm{AC}^0, in the sense that each output bit of the sum of two nn-bit numbers aa and bb is computed by such circuits. The carry into position ii is ci=⋁j<i(aj∧bj∧⋀j<k<i(ak∨bk)),c_i = \bigvee_{j < i} \Big( a_j \wedge b_j \wedge \bigwedge_{j < k < i} (a_k \vee b_k) \Big), which has constant depth and O(n2)O(n^2) gates, and the sum bit ai⊕bi⊕cia_i \oplus b_i \oplus c_i adds a constant number of layers.

Non-example: the parity language {x:x has an odd number of ones}\set{x : x \text{ has an odd number of ones}} has circuits of depth O(log⁡n)O(\log n) and size O(n)O(n) with fan-in 22. But no choice of pp and dd satisfies clauses 2 and 3 together for it, by the theorem parity not in AC0.

The definition above is non-uniform. Uniform versions ask in addition that CnC_n be computable from nn by a weak machine, such as a logarithmic-time machine; the lower bound for parity holds for both.

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. Boolean circuit concept
  2. Formal language concept
  3. AC0 definition

Further reading

  1. Web https://en.wikipedia.org/wiki/AC0
About this page
TagQG78SX3DK1
URIm2://QG78SX3DK1
Kinddefinition
WritingW0 stub
MSC68Q15, 68Q06
DefinesAC0
UsesBoolean circuit, Formal language
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.