[guided]The Compactness Theorem is a direct consequence of two facts, one deep and one elementary.
**The deep fact.** By [Gödel's Completeness Theorem](/theorems/1487), semantic and syntactic consequence coincide. In particular, taking $p = \bot$ gives: $T$ has a model if and only if $T$ is consistent. One direction is Soundness (a model of $T$ cannot satisfy $\bot$, so $T \not\vdash \bot$); the other is the nontrivial content of the Completeness Theorem, itself built on the Model Existence Lemma.
Under this equivalence, Compactness reduces to: **if every finite subset of $S$ is consistent, then $S$ is consistent**.
**The elementary fact.** Formal proofs are finite objects. A derivation of $\bot$ from $S$ is a finite list of formulas, each entered by premise, axiom, modus ponens, or generalisation. Hence only finitely many premises from $S$ appear as line-citations in the derivation.
**The contradiction.** Assume $S$ is inconsistent: $S \vdash \bot$. Pick a specific proof. Collect the finitely many premises it cites:
\begin{align*}
S_0 &= \{s_1, \dots, s_n\} \subseteq S.
\end{align*}
The exact same proof (a finite sequence of formulas) is a proof of $\bot$ from $S_0$ — every premise used lies in $S_0$ by construction. So $S_0 \vdash \bot$, i.e., $S_0$ is inconsistent.
By Step 1, $S_0$ has no model.
But **$S_0$ is a finite subset of $S$**, and by hypothesis every finite subset of $S$ has a model. Contradiction.
Therefore $S$ is consistent, and by Step 1, $S$ has a model.
**Remark on where compactness comes from.** The name "compactness" reflects a topological reformulation: the space of complete theories extending a given language can be topologised so that the sets $\{T : p \in T\}$ form a clopen basis, and the resulting space is compact in the usual sense. The proof above is, in effect, using the finite-character property of consistency — a trace of the same phenomenon.[/guided]