ArticleslgStudy

engineering

AC (complexity)

AC (complexity) is a engineering topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand AC (complexity) rather than just read about it. In short: In circuit complexity, AC is a complexity class hierarchy. Each class, ACi, consists of the languages recognized by Boolean circuits with depth O(login) and a polynomial number of unlimited fan-in AND and OR gates, together with unary NOT gates.

Key takeaways

  • AC (complexity) belongs to engineering; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect AC (complexity) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of AC (complexity) from memory before moving on to harder problems.

Reference excerpt

In circuit complexity, AC is a complexity class hierarchy. Each class, ACi, consists of the languages recognized by Boolean circuits with depth O(login) and a polynomial number of unlimited fan-in AND and OR gates, together with unary NOT gates. It can be assumed that NOT gates are only applied to the circuit's inputs, and that the other gates are organized in layers alternating between AND and OR. 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 AC0, consisting of constant-depth unlimited fan-in circuits. The total hierarchy of AC classes is defined as

AC=⋃i≥0ACi

Relation to NC The AC classes are related to NC, ACC, and TC classes. For each i, we have

𝖭𝖢i⊆𝖠𝖢i⊆𝖠𝖢𝖢i⊆𝖳𝖢i⊆𝖭𝖢i+1. As an immediate consequence of this, we have that NC = AC = ACC = TC. We have 𝖭𝖢0⊊𝖠𝖢0⊊𝖠𝖢𝖢0. Specifically, PARITY is in 𝖠𝖢𝖢0 but not in 𝖠𝖢0. And since NC requires bounded fan-in, any function of type {0,1}n→{0,1} whose output depends on more than O(1) inputs is beyond 𝖭𝖢0. In particular, the unbounded fan-in OR is beyond 𝖭𝖢0. In detail, define fn:{0,1}n→{0,1} by fn(x1,…,xn)=∑iximod2. Then it requires Ω(2n1/d16) gates to be computed by a 𝖠𝖢0 circuit with depth ≤d.

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 ACCi[m].

Notes

References Arora, Sanjeev; Barak, Boaz (2009), Computational Complexity: A Modern Approach, Cambridge University Press, ISBN 978-0-521-42426-4, Zbl 1193.68112 Clote, Peter; Kranakis, Evangelos (2002), Boolean Functions and Computation Models, Texts in Theoretical Computer Science: An EATCS Series, Berlin: Springer-Verlag, ISBN 3-540-59436-1, Zbl 1016.94046 Pitassi, Toniann (Fall 2015), "Lecture #8" (PDF), CS 2401 – Introduction to Complexity Theory, University of Toronto Razborov, A. A. (April 1987), "Lower bounds on the size of bounded depth circuits over a complete basis with logical addition", Mathematical Notes of the Academy of Sciences of the USSR, 41 (4): 333–338, doi:10.1007/BF01137685, ISSN 0001-4346 Regan, Kenneth W. (1999), "Complexity classes", Algorithms and Theory of Computation Handbook, CRC Press. Vollmer, Heribert (1998), Introduction to circuit complexity. A uniform approach, Texts in Theoretical Computer Science, Berlin: Springer-Verlag, ISBN 3-540-64310-9, Zbl 0931.68055

Worked examples

Example 1 — a first encounter with AC (complexity)

Start with the simplest possible case. Write down what AC (complexity) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In engineering, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to AC (complexity) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about AC (complexity) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of AC (complexity)

In research
AC (complexity) appears in engineering research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses AC (complexity) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
AC (complexity) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Circuit complexity, Complexity classes, so understanding it makes those chapters shorter.
In everyday life
Look for AC (complexity) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “AC (complexity)” →

How to study AC (complexity) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what AC (complexity) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain AC (complexity) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is AC (complexity) in simple terms?

In circuit complexity, AC is a complexity class hierarchy. Each class, ACi, consists of the languages recognized by Boolean circuits with depth O(login) and a polynomial number of unlimited fan-in AND and OR gates, together with unary NOT gates.

Why does AC (complexity) matter?

Because it connects several engineering ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study AC (complexity)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on AC (complexity).

Tags

  • Circuit complexity
  • Complexity classes

Keep exploring