There is an algorithm deciding whether any finite propositional formula is a theorem. A formula contains only finitely many atoms, so a finite truth table decides whether it is valid; the completeness theorem for propositional logic identifies validity with provability.
The completeness theorem for propositional logic states that for every set of formulae and formula ,
With the soundness theorem for propositional logic, this is an equivalence. It is also equivalent to saying that every consistent set of formulae has a model.
The usual countable proof lists all formulae and extends a consistent theory one formula at a time. For an uncountable set of primitive propositions, use the uncountable-language proof of propositional completeness: order the consistent extensions of by inclusion. The union of every chain is consistent, since a proof of a contradiction would use only finitely many assumptions and hence would already lie in one member of the chain. Zorn lemma gives a maximal consistent set in propositional logic . Define a Boolean valuation by exactly when . The usual structural induction on formulae proves the truth lemma
so is a model of .
The propositional compactness theorem says that a set is satisfiable if and only if every finite subset of is satisfiable. Only the forward implication is immediate. For the converse, if had no model, then , so completeness would give . Every formal proof uses finitely many assumptions, so some finite would prove and, by soundness, would have no model, a contradiction.
The decidability theorem for propositional logic says that there is an algorithm deciding whether a propositional formula is a theorem. A formula contains only finitely many primitive propositions, even when the full language is uncountable. Its finite truth table decides whether it is valid, and completeness says that validity is equivalent to theoremhood.
Now let be the given partially ordered set. For every distinct , introduce propositions and . Form a propositional theory containing the following clauses:
  • and for distinct ;
  • and for pairwise distinct ;
  • and whenever in the original order;
  • and whenever and are incomparable in the original order.
The first two families say that and encode strict total orders. The third makes both orders extend , while the fourth makes them disagree on every incomparable pair.
Every finite subset mentions only a finite subset . By hypothesis, the induced order on is a two-dimensional poset, so choose two total orders realizing it and assign the finitely many and variables accordingly. This satisfies . Thus every finite subset of is satisfiable, and propositional compactness gives a model of all of .
Define when is true and when is true. The clauses make and total orders on . They both contain the original order, and their intersection contains no incomparable pair. Hence
which proves the finite-local characterization of two-dimensional partially ordered sets.