THE LOGIC NOTES

Completeness proof (easy) More about first order logic


This page gives an alternative proof that propositional natural deduction (that is, the natural deduction calculus without the rules for quantifiers) is complete for the propositional logic defined by the two-valued truth tables for the connectives. It is simpler that the standard proof, and may be easier to grasp on a first reading, but it is less powerful in the sense that the proof technique does nor generalise to other important logics whereas the standard technique does.

We begin by defining the notion of a literal basis for a formula A. This is a set of literals (that is, atoms such as p and negated atoms such as NOTq) containing, either negated or unnegated, every atom in A. For instance, the set {NOTp, q, r} is a literal basis for the formula (p AND q) IMP (p AND r) . The set {p, q, NOTr} is another literal basis for the same formula. We stipulate that each literal basis must be consistent: that is, no atom occurs both negated and unnegated in it.

One more piece of useful notation: where β is any literal basis, let Iβ be the corresponding assignment of truth values to the atoms occurring (negated or unnegated) in β. That is, Iβ(p) = 1 if pβ, and Iβ(p) = 0 if NOTpβ (and similarly for every other atom).

Now, observe two facts:

  1. If β is a literal basis for A then either βA or β ⊢ NOTA.
  2. Where β is a literal basis for A, if βA, then A is true for Iβ, while if β ⊢ NOTA, than A is false for Iβ.

Fact 1 is proved by observing first that it is trivially true if A is an atom, and then that it extends up from the atoms to larger and larger subformulae of A and ultimately to A itself.1 For example, consider a subformula B IMP C with 'IMP' as its main connective. If we know that either βB or β ⊢ NOTB, and also that either βC or β ⊢ NOTC, then we may observe that either   βB IMP C   or   β ⊢ NOT(B IMP C)   in virtue of the sequents:

NOTB   ⊢   B IMP C
C   ⊢   B IMP C
B, NOTC   ⊢   NOT(B IMP C)

The cases of the other connectives are similar.

Fact 2 is even easier to show. Clearly all the literals in β are true for Iβ, so Fact 2 follows from Fact 1 and the soundness of the deductive system.

Now we want to show that every valid sequent is provable. In fact, we turn this around and show that every unprovable sequent is invalid. Suppose, then, that X is some set (possibly infinite) of formulae, and A is a formula such that that there is no derivation of A from X. We need to define an assignment of truth values to atoms for which everything in X is true but A is false.

Let the atoms of our propositional language be p1, p2, p3, ..., etc. We build up the required interpretation incrementally by defining a sequence Y0, Y1, Y2, ... of sets of literals, each one extending the previous one by adding the next atom or its negation:

Y0 = ∅

If   X, Yi, pi+1 ⊢ A   then  Yi+1 = Yi ∪ {NOTpi+1}.  Otherwise  Yi+1 = Yi ∪ {pi+1}

Now let Y be the union of all of these sets Y0, Y1, Y2, .... Clearly, by construction, any literal pi or NOTpi is in Y iff it is in Yi, and iff it is in Yj for every ji.

It is not hard to see that there is no n such that X,YnA, since if there were, there would have to be a first such n. Obviously, this can't be 0, since XY0 is X. But it can't be any i+1 either, because this would require both X, Yi, pi+1 ⊢ A   and X, Yi, NOTpi+1 ⊢ A   and hence X, Yi ⊢ A  , contradicting the assumption that Yi+1 is the first set to yield A.

Let B be any formula in X. Although X may be infinite, and may contain every atom in the language, B is a particular (finite) formula, so its atoms are all among the first n for some finite n. That means that Yn is a literal basis for B, so by Fact 1 above, either YnB or Yn ⊢ NOTB. But we can't have Yn ⊢ NOTB because that would make XYn inconsistent, which it isn't because it does not imply A. Therefore YnB and therefore YB. In a similar way, there are numbers m be such that the variables in A are all among  {p1,...,pm}. Since, as observed, A is not derivable from Ym, it must be the case that Ym ⊢ NOTA and so Y ⊢ NOTA.

By Fact 2, then, every formula in X is true for IY, while A is false for IY. We therefore have a truth value assaignment invalidating the sequent, finishing the proof of completeness.


1   That is, in the jargon, Fact 1 is proved by induction on the structure of A.