The Expressive Power, Circuit Complexity & Turing Completeness of Transformers (
TC0 & RASP formalisms) establishes the mathematical boundaries of what self-attention can and cannot compute; the foundational theoretical landscape establishes: 1) Constant-Depth Transformer Circuit Limits: fixed-depth Transformers belong to the
$TC^0$ complexity class (constant-depth threshold circuits), meaning they are
theoretically incapable of solving non-$TC^0$ problems (e.g. Parity checks, graph connectivity, long-horizon dynamic programming) in a single feed-forward pass; 2) Turing Completeness via CoT: when augmented with Chain-of-Thought (autoregressively emitting unbounded reasoning tokens that act as external Turing tape memory), Transformer expressivity jumps to
universal Turing Completeness; 3) RASP programming language formalizes attention as relational sequence primitives.