Lecture 27: Soundness & Completeness of FOL

Recall, that we argued earlier that our TFL was both sound and complete.

See Chapter 22, ‘Soundness and completeness’ in the textbook and

Section 10.2 in the lecture notes.

These are relations between

the syntactic proof system and the semantic notion of entailment.

` A and ✏ A

They address two important questions that we should ask of any deductive system:

1. Is the deductive system minimally adequate?

• In other words, does it prove only things that it should prove?

• Think of the contrapositive of this:

If the proof system should not prove something,

e. g., because it is not a first-order validity,

then our deductive system had better not prove it!

© Dirk Schlimm, McGill University, PHIL 210, 2025. • Do not distribute this document. • 26–2

• If we can prove things that we shouldn’t be able to,

then one (or more) of our rules must be bad.

2. Is our deductive system fully adequate?

• Does the deductive system prove all the things that it should prove?

• If it doesn’t prove all the things it should prove,

e. g., if there’s one (or more) first-order validity that it can’t prove

then we need to think about adding more (good) rules.

A proof system that is

• minimally adequate is called sound, and one that is

• fully adequate is called complete.

Thus, to say that our deductive system is both sound and complete,

is to say that our deductive system proves all and only those things that it should prove.

Given that we have rigorous, formal definitions for ` and |= ,

we can actually prove soundness and completeness for particular systems!

Proving properties of formal systems of logic is called meta-logic!

26.3 Soundness of FOL

Again, how can we determine what a proof system should prove?

• Using the semantic notion of entailment.

Thus, we can express soundness as:

If P1 , · · · , Pn ` Q, then P1 , · · · , Pn ✏ Q.

i. e., if we can derive a conclusion from some set of sentences,

then the argument must be first-order valid; and, in particular,

If ` Q, then ✏ Q,

i. e., if we can derive a conclusion from no premises,

then that sentence must be a first-order validity.

As it turns out, both of these related forms of soundness hold for our proof system of FOL!

© Dirk Schlimm, McGill University, PHIL 210, 2025. • Do not distribute this document. • 26–3

In fact, we’ve chosen our rules specifically to model inferences that are first-order valid.

Recall, that this is how we justified each of the rules we introduced.

26.3.1 Proving soundness

The rules of FOL consist of the rules of TFL plus some additional ones (for 8 , 9 , and = ).

Now, if we knew that the connective rules from TFL are sound,

then we would just need to show that our six new rules are also sound.

But how do we go about showing that even the TFL connective rules are sound?

This is not easy!

We cannot prove meta-logical properties using the notions of our formal logic.

So. . . how do we do it?

• The short answer is: With an informal proof.

• The medium answer is: We do induction on the number of inferences in a derivation.

• The actual (and long) answer is: We prove it rigorously in PHIL 310.

Here’s a sketch of the main ideas behind a proof of soundness:

• First, consider that any derivation has to be finite.

There’s a beginning and there’s an end.

So a derivation has to consist of some finite number of inferences,

which we called mini-proofs (in Section 8.3.4).

• The following argument should remind you of proofs by mathematical induction,

where we

– Show that a property holds of zero. (Base case)

– Show that if it holds for any number n , then it also holds for n + 1 .

(Induction step)

– Conclude that the property holds for all natural numbers. (Conclusion)

• So, what are the most simple derivations? (Base case)

– Well, those that have no inferences at all.

© Dirk Schlimm, McGill University, PHIL 210, 2025. • Do not distribute this document. • 26–4

– We might want to call these ‘degenerate derivations’,

consisting only of an assumption, e. g. P ` P.

– Certainly, all inferences in such a derivation are correct (there are really none).

• Next, we move to the Induction Step:

– Let us assume that we have a derivation in which

all inferences before the last were made correctly.

– What we need to argue for then,

is that whatever the last inference is, it must be correct, too.

– To show this, we have to go through all inference rules,

i. e., that every introduction and elimination rules,

as well as R, X, and IP all yield valid inferences.

– For example:

∗ Say, the last formula is P and the last inference is ^ E.

∗ If the inference is applied correctly,

that can only happen if P ^ Q results from some previous inference,

which we assumed were all correctly made.

∗ But if that is the case, then clearly we can see that: P ^ Q ✏ P

– Similar arguments can be made for all other inference rules, too!

How does this argument prove soundness?

• Let’s say that we are currently looking at the fifth inference in the derivation.

Our assumption tells us the fourth inference was made correctly.

But, again, by our assumption, if the fourth inference was made correctly,

then the third assumption was made correctly, too, and so on.

This “and so on” will end at some point, because every proof is finite.

This whole argument is quite long and tedious.

But, clearly it can be done — rigorously —, by reasoning by induction,

as mathematicians frequently do.

(In fact, meta-logic is more like mathematics than using a proof system like TFL or FOL.)

© Dirk Schlimm, McGill University, PHIL 210, 2025. • Do not distribute this document. • 26–5

26.4 Completeness of FOL

Recall what completeness is:

If P1 , · · · , Pn ✏ Q, then P1 , · · · , Pn ` Q.

i. e., if an argument is first-order valid then we must be able to derive the conclusion from

some of the sentences that constitute the premises; and, in particular,

If ✏ Q, then ` Q,

i. e., if a sentence is a first-order validity, then we must be able to derive it from no premises.

Again, both of these related forms of completeness hold for our system of FOL.

However, unlike soundness, it is not immediately obvious why this ought to be the case:

• We’ve set up our rules to cover all the ways to break down and build up sentences using

the connectives and the quantifiers,

as well as special additional rules, such as R, X, and IP.

• But, why should this guarantee that there is a proof

for every possible valid argument?

26.4.1 Proving completeness [Can skip!]

While proving soundness is tedious, but relatively intuitive

if you’re familiar with mathematical induction,

proving completeness is hard.

I’ll try to give you a sketch of it nonetheless, to give you a flavor of it.

It proceeds in two parts:

I. Building a term model.

II. Proving a Truth Lemma.

26.4.1.1 Part I: Building a term model

1. We start by taking some initial set of sentences ( ).

© Dirk Schlimm, McGill University, PHIL 210, 2025. • Do not distribute this document. • 26–6

2. We extend to an (infinite) maximally complete and consistent set

of sentences ( ⇤ ), by following a simple procedure:

• if an affirmative sentence we want to add is inconsistent with a sentence that we

already have, then we add its negation.

In this way, ⇤ remains consistent and for very sentence A , either A or ¬A is in it.

There are infinitely many sentences we can add, but theoretically, this can be done.

3. Next, we expand this maximally complete set to what we call a ‘Henkin theory’,

by adding to the language of that particular FOL as many names as we need to

to provide a named existential witness for every single existential claim.

So, for every 9x P(x) , there is a name a , such that P(a) .

This may well be another infinite task, but again, at least theoretically, it can be done.

4. Finally, we build the term model M(⇤ ) ,

which is a model that makes everything in the Henkin theory for true!

26.4.1.2 Part II: Prove a Truth Lemma.

1. This Lemma says that if M(⇤ ) ✏ A,

then A is part of the associated Henkin theory (and vice-versa)!

2. The second part is the tricky one. Here’s the argument.

Suppose that ✏ A.

a) If is unsatisfiable,

then there is no possible model of and no possible term model M(⇤ ) .

But then we can show that ? , and so A.

b) If A is unsatisfiable, then A cannot be in the Henkin theory for ,

since we don’t allow inconsistencies into our Henkin theory.

So this case is impossible and we don’t need to show that ` A.

• Finally, suppose that and A are jointly satisfiable.

Then A must also be in the Henkin theory for .

– Because, if it wasn’t, then ¬A would be in the Henkin theory.

– But this can only happen if A is inconsistent with some sentence in .

– But, then we can set as our premises and assume ¬A

and we get a derivation for ` A by IP.

© Dirk Schlimm, McGill University, PHIL 210, 2025. • Do not distribute this document. • 26–7

By putting Parts I and II together, we have an argument for the completeness of FOL.

For the details, take PHIL 310 next semester!

26.5 Summary

So, for FOL (as for TFL) we can prove:

Soundness: If P1 , ... , Pn ` Q, then P1 , ... , Pn ✏ Q.

Completeness: If P1 , ... , Pn ✏ Q, then P1 , ... , Pn ` Q.

It’s important to realize just what a formidable achievement is,

the fruit of thousands of years worth of logicians labor.

• Who proved the completeness of FOL?

None other Kurt Gödel in his 1929 PhD thesis, published in 1930.

(A year later he proved his famous Incompleteness Theorems.)

Kurt Gödel, was born April 28, 1906 and died January 14, 1978.

So, he was 23 when he proved the completeness of FOL. . .

It is very easy to overlook just how meaningful soundness and completeness is

when you are presented with the fait accompli:

a deductive system that does all and only the things it should.

But it very easily could have turned out differently!

For instance, we could have had a sound and complete deductive system

but not know with absolute certainty that it is sound and complete.

It’s also tempting to want to see ‘ ✏ ’ as a surrogate for ‘ ` ’ (or vice-versa),

but these notions can and do come apart.

Question:

What happens if we add or take away rules from a proof system that is sound and complete?

` ✏

© Dirk Schlimm, McGill University, PHIL 210, 2025. • Do not distribute this document. • 26–8

Adding rules: can make system unsound.

Taking away rules: can make system incomplete.

26.6 First-order axiomatizations of arithmetic and 2OL

Let’s consider two famous extensions to our first-order languages:

1. First-order axiomatizations of arithmetic:

• We add function symbols to the language, to ensure that all necessary computable

functions (such as addition and multiplication) can be expressed in the language.

• We also need to add sentences that we call ‘axioms’

that ensure the properties of the natural numbers, e. g.,

– that all numbers have a successor: 8x (Number (x)!Number (successor (x)))

– that 0 is not the successor of any number: 8x ¬ (successor (n) = 0)

2. Second-order languages:

• Here, we extend our language so that the quantifiers do not range over objects,

but also over predicates and relations.

• For example, in 2OL we could write: 8P 8x P(x) .

For both of these we can build a deductive system and prove that they are sound:

1. Dedekind-Peano Arithmetic (DPA)

2. Second-Order Logic (2OL)

However, we can also show that these deductive systems are not complete.

• Not just in the sense that we do not have a proof that they are complete.

• But, an actual proof that they are deductively incomplete.

Results:

1. For DPA, Gödel has shown that it is incomplete in the sense that

there are sentences G that can neither be proved nor disproved by DPA.

In symbols: DPA 6 G and DPA 6 ¬G .

And that this is not a difficulty with the particular axiomatizations,

but that this affects all first-order axiomatizations of arithmetic!

© Dirk Schlimm, McGill University, PHIL 210, 2025. • Do not distribute this document. • 26–9

2. For 2OL, it is impossible to have a deductive system that is both sound and complete.

In other words, there are sentences that are entailed, but not provable from the axioms:

2OL ✏ A , but 2OL 6 ` A .

26.7 Further studies

Despite the limitations presented in the previous section,

there are also exciting further avenues to discover in logic.

For example:

1. Semantic paradoxes

• ‘This sentence is false.’

• ‘The next sentence is false.’ — ‘The previous sentence is true.’

2. Further limitations

• Tarski’s Theorem of the undefinability of truth.

3. Extensions to FOL

(a) Modal logic: ⇤F : F is necessary. ⌃F : F is possible.

(b) Epistemic logic:

K a A: Agent a knows that A. B a A: Agent a believes that A.

(c) Deontic logic: It is obligatory that. . . , it is permissible that. . .

For all of these, proof systems and semantics (e. g., possible world semantics)

have been developed.

Possible avenues to continue your studies in logic:

• Other courses related to logic can be found in

– mathematics,

– computer science,

– linguistics,

– cognitive science,

– philosophy.

To conclude:

With this ‘Introduction to Deductive Logic’ (PHIL 210), you now have a solid foundation to

continue your own studies in logic and use logic to make this world a better place.