Math 2.0

Computer science Definition

NC

Builds on Boolean circuitLFormal language

Definition

Let i≥1i \ge 1. Consider Boolean circuits with AND and OR gates of fan-in 22 and NOT gates. A language L⊆{0,1}∗L \subseteq \set{0,1}^* is in NCi\mathrm{NC}^i if there are a polynomial pp, a constant cc and such circuits CnC_n such that, for all n≥2n \ge 2:

  1. CnC_n has nn inputs and at most p(n)p(n) gates;
  2. every path from an input to the output of CnC_n passes through at most c(log⁡n)ic (\log n)^i gates;
  3. 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;
  4. a deterministic Turing machine computes a description of CnC_n from 1n1^n using space O(log⁡n)O(\log n).

The class NC is ⋃i≥1NCi\bigcup_{i \ge 1} \mathrm{NC}^i.

Remarks

Example: the parity language {x:x has an odd number of ones}\set{x : x \text{ has an odd number of ones}} is in NC1\mathrm{NC}^1. The exclusive or u⊕v=(u∧¬v)∨(¬u∧v)u \oplus v = (u \wedge \neg v) \vee (\neg u \wedge v) uses a constant number of gates and has constant depth. A balanced binary tree of such blocks over the nn inputs has O(n)O(n) gates and depth O(log⁡n)O(\log n), and it is easy to describe in logarithmic space.

Non-example: let CnC_n be a chain of nn exclusive-or blocks. This family also computes parity, but its depth grows linearly in nn, so it fails clause 2 for every ii.

Clause 4 is logspace uniformity; other uniformity conditions give the same class NC\mathrm{NC}. The known inclusions are NC1⊆\mathrm{NC}^1 \subseteq L ⊆\subseteq NL ⊆NC2\subseteq \mathrm{NC}^2 and NC⊆P\mathrm{NC} \subseteq \mathrm{P}.

Reading path

To understand this page from the ground up, read these 4 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. L concept
  4. NC definition

Further reading

  1. Web https://en.wikipedia.org/wiki/NC_(complexity)
About this page
TagBZ3N4E8RTX
URIm2://BZ3N4E8RTX
Kinddefinition
WritingW0 stub
MSC68Q15, 68Q06, 68Q10
DefinesNC
UsesBoolean circuit, L, 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.