One of the most beautiful results in descriptive complexity is Fagin’s theorem, which gives a purely logical characterization of the complexity class $\mathrm{NP}$. No machines, no resources, no clocks — just logic.
Setup
We work over finite relational structures. A vocabulary $\tau$ is a finite set of relation symbols, each with an associated arity. A $\tau$-structure $\mathfrak{A}$ consists of a finite universe $A$ together with an interpretation of each symbol in $\tau$.
Existential second-order logic ($\Sigma_1^1$) allows existential quantification over relations:
$$ \varphi \;=\; \exists R_1 \cdots \exists R_k \; \psi $$
where $\psi$ is a first-order formula over the enriched vocabulary $\tau \cup \{R_1, \ldots, R_k\}$.
The Theorem
Why This Matters
The theorem isolates the combinatorial essence of nondeterminism: it is exactly the ability to guess a witness relation. The proof is constructive in both directions, and the translation is tight.
A Corollary
And that is why, at least in the finite, $\mathrm{NP}$ is not just a class of hard problems — it is a language about witnesses.