15. Soundness Theorem

As was the case with Propositional Logic, we have now reached the stage where we have two different notions of “derivations” from premises to a conclusion in first-order logic:

Is it still the case that \(\Gamma \vDash \phi\) if and only if \(\Gamma \vdash \phi\)? As we will see in this lecture and the next one, this is indeed the case in first-order logic. But showing this equivalence requires establishing new Soundness and Completness Theorems.

In this lecture, we start with the Soundness Theorem.

Theorem. (Soundness Theorem for First-Order Logic) For every set \(\Gamma\) of sentences and every sentence \(\phi\) in first-order logic, if \(\Gamma \vdash \phi\) then \(\Gamma \vDash \phi.\)

Proof Overview

The high-level strategy of the proof of the Soundness Theorem is the same as the strategy that we used to prove the analogous theorem in propositional logic. Namely, we want to proceed by induction on the line number \(k = 1,2,\ldots,n\) of the proof and show that the formula \(\phi_k\) on the \(k\)th line is a logical consequence of \(\Gamma\) and the set \(A_k\) of undischarged assumptions at line \(k\).

But this strategy immediately runs into a problem. As we have seen, only sentences in first-order logic can be evaluated under a given structure, so it doesn’t even make sense to ask whether \(\Gamma \cup A_k \vDash \phi_k\) or not when \(\phi_k\) has any free variables. And this is a problem we must overcome, since some of the basic rules that we introduced to deal with quantifiers do introduce such formulas in our formal proofs.

We get around this problem by introducing the notion of the closure of formulas in first-order logic.

Definition. The closure of the signature \(\sigma\) is the signature \(\overline\sigma\) obtained by adding a constant symbol \(c_{x_1}, c_{x_2}, c_{x_3},\ldots\) for each variable symbol \(x_1,x_2,x_3,\ldots\). (All these symbols must be distinct from the symbols already defined in \(\sigma\).

The closure of the first-order logic formula \(\phi\) over the signature \(\sigma\) is the sentence \(\overline{\phi}\) obtained by replacing each free instance of a variable \(x_n\) with the constant \(c_{x_n}\) for all \(n = 1,2,3,\ldots\).

Soundness of the Rules

Proposition 1. For any set \(\Gamma\) of sentences, any terms \(t\) and \(u\), any formulas \(\phi\), \(\psi\), and \(\theta\), and any contradiction \(\bot\):

Proof.

Proof of the Soundness Theorem

We are now ready to complete the proof of the Soundness Theorem for first-order logic.

Theorem. (Soundness Theorem, restated) For every set \(\Gamma\) of sentences and every sentence \(\phi\) in first-order logic, if \(\Gamma \vdash \phi\) then \(\Gamma \vDash \phi.\)

Proof. Fix any \(\Gamma\) and \(\phi\) for which \(\Gamma \vdash \phi\) and let \(\phi_1,\ldots,\phi_n\) denote the formulas on each line of a formal proof of this implication. We prove by induction on the line number \(k\) in \(1 \le k \le n\) that

\[\Gamma \cup A_k \vDash \overline{\phi_k}.\]

Doing so completes the proof of the theorem since we must have \(\phi_n = \phi\) and \(A_n = \emptyset\) in the final line of the proof.

In the base case when \(k=1\), there are three possibilities for the justification of the first line of the proof:

For the induction step, fix \(k > 1.\) By the induction hypothesis, we can assume that for every \(i < k\), we have \(\Gamma \cup A_i \vDash \phi_i.\) Consider the different possible justifications for the \(k\)th line of the proof: