AC (complexity)
In circuit complexity, AC is a complexity class hierarchy. Each class, AC, consists of the languages recognized by Boolean circuits with depth formula_1 and a polynomial number of unlimited fan-in AND and OR gates. The name "AC" was chosen by analogy to NC, with the "A" in the name standing for "alternating" and referring both to the alternation between the AND and OR gates in the circuits and to alternating Turing machines. The smallest AC class is AC, consisting of constant-depth unlimited fan-in circuits. The total hierarchy of AC classes is defined as formula_2 Relation  to NC. The AC classes are related to the NC classes, which are defined similarly, but with gates having only constant fanin. For each "i", we have As an immediate consequence of this, we have that NC = AC. It is known that inclusion is strict for "i" = 0. Variations. The power of the AC classes can be affected by adding additional gates. If we add gates which calculate the modulo operation for some modulus "m", we have the classes ACC[m].