The compactness theorem states that a set of first-order sentences has a model if and only if every finite subset of has a model.
The forward implication follows by using the same model for every finite subset. Conversely, suppose every finite subset of has a model. If were inconsistent, a formal derivation of from would use only finitely many assumptions, say those in . Then would be inconsistent. By part (b), would have no model, contrary to the hypothesis. Thus is consistent, and part (b) gives a model of .
Suppose is inconsistent. By the compactness theorem, some finite subset is inconsistent. Only finitely many added symbols occur in ; let be the finite set of their indices. Every sentence of belongs to the sublanguage , so
Consequently is inconsistent.
For a type space , the basic open set consists of complete types containing the formula . These sets are clopen, satisfy , and distinguish distinct types. The compactness theorem makes this topology compact; it is Hausdorff and has a basis of clopen sets.
If a theory axiomatized the well-orders, adjoin constants and the sentences . Every finite fragment has a finite well-ordered model, but compactness would produce a model with an infinite descending chain.