7. Soundness for Propositional Logic

In the last few lectures, we have seen two completely different ways to analyze logical arguments. Whenever \(\Gamma\) is a set of formulas that represent the premises of the argument and \(\phi\) is a formula that represents the conclusion of the argument,

For some formal deduction systems, the two assertions are not equivalent to each other. But we hope that this is not the case with the formal deduction system that we have been studying! Our goal in studying formal proofs is to obtain an alternative to the truth table method for establishing the validity of logical argument. In order to show that our system does achieve this goal, we need to establish two fundamental properties:

The soundness of a proof system guarantees that whenever we obtain a proof of \(\phi\) from \(\Gamma\), then we know that \(\phi\) truly is a logical consequence of \(\Gamma\) or, in other words, that the logical argument we are examining is valid.

The completeness property, meanwhile, guarantees that every valid argument has a formal proof demonstrating that fact.

We will prove that our formal deduction system satisfies both of these properties.

The Soundness Theorem

The soundness property might be the most important of the two. After all, what good is a formal proof if it sometimes leads to a conclusion that is not guaranteed to be a logical consequence of the premises? So we begin with the proof that our formal deduction system does satisfy this property.

Theorem. (Soundness for Propositional Logic) For every set of formulas \(\Gamma\) and every formula \(\phi\), if \(\Gamma \vdash \phi\), then \(\Gamma \vDash \phi\).

The proof of the Soundness Theorem for Propositional Logic is conceptually simple. We proceed by induction on the number \(n\) of lines in the proof. The main part of the proof will then be to simply show that the formula \(\phi_n\) in the last line of the proof is implied by the set \(\Gamma\) of premises whenever that last line of the proof is justified by one of the Basic Rules of our proof system.

There are two minor complications to this high-level idea for the proof:

We address these complications in order.

Basic Properties of Logical Consequence

Let us start with two elementary facts about logical consequence.

Proposition 1. For any set \(\Gamma\) of formulas and any formula \(\phi\) where \(\Gamma \vDash \phi\), every set \(\Gamma' \supseteq \Gamma\) also satisfies \(\Gamma' \vDash \phi\).

Proof. Fix any \(\Gamma\) and \(\phi\) where \(\Gamma \vDash \phi\). By definition, all the truth assignments that satisfy every formula in \(\Gamma\) also satisfy \(\phi\). And for any \(\Gamma' \supseteq \Gamma\), every truth assignment that satisfies all the formulas in \(\Gamma'\) also satisfies all the formulas in \(\Gamma\). Therefore, every truth assignment that satisfies all the formulas in \(\Gamma'\) satisfies \(\phi\).

Proposition 2. Let \(\Gamma\) be any set of formulas and \(\phi_1,\ldots,\phi_k\) by any \(k\) formulas where \(\Gamma \vDash \phi_1, \ldots, \Gamma \vDash \phi_k\). If \(\psi\) is a formula for which \(\{\phi_1,\ldots,\phi_k\} \vDash \psi\), then \(\Gamma \vDash \psi\).

Proof. By the logical consequences \(\Gamma \vDash \phi_1, \ldots, \Gamma \vDash \phi_k\), every truth assignment that satisfies every formula in \(\Gamma\) also satisfies all of \(\phi_1,\ldots,\phi_k\). And by the logical consequence \(\{\phi_1,\ldots,\phi_k\} \vDash \psi\), all of these truth assignments also satisfy \(\psi\).

We can now establish specific properties of logical consequence related to the basic rules of our proof system.

Proposition 3. Fix any formulas \(\phi\), \(\psi\), and \(\theta\). Fix any set \(\Gamma\) of formulas. Let \(\bot\) represent any contradiction. Then:

Proof. We verify the (⋀I) claim that \(\{\phi, \psi\} \vDash (\phi \wedge \psi)\) directly using a truth table:

\[\begin{array}{cc|c} \phi & \psi & (\phi \wedge \psi) \\ \hline T & T & T \\ T & F & F \\ F & T & F \\ F & F & F \end{array}\]

Similarly, we establish the (⋀E), (⋁I), (→E), (↔︎I), (↔︎E), (¬E), and (⊥E) claims directly using truth tables.

For the (→I) claim, consider any set \(\Gamma\) and formulas \(\phi\) and \(\psi\) for which \(\Gamma \cup \{\phi\} \vDash \psi.\) Consider any truth assignment that satisfies every formula in \(\Gamma\). If this truth assignment also satisfies \(\phi\), then it also satisfies \(\psi\). In other words, \(\Gamma \vDash (\phi \to \psi).\)

Similarly, we establish the final claims (⋁E), (¬I), and (RAA) in the same way by considering the truth assignments that satisfy all the formulas in \(\Gamma.\)

Undischarged Assumptions

To prove the Soundness Theorem by induction on the number of lines in a proof of \(\Gamma \vdash \phi\), we need to define an induction hypothesis that also handles the case where the last line of the proof is part of a subproof. For such proofs, we cannot say that the premise of the proof implies its last line because lines in a subproof also (potentially) rely on the additional assumption introduced in the first line of the subproof. To handle this complication, we introduce one more notion.

Definition. In a proof with formulas \(\phi_1,\ldots,\phi_n\), the undischarged assumptions at line \(k\) of the proof, which we will denote by \(A_k\), is the set of assumptions of each of the subproofs that are currently open at line \(k\).

Note that when \(\phi_1,\ldots,\phi_n\) are the formulas at each line of a formal proof showing that \(\Gamma \vdash \phi_n\), then by definition \(A_n = \emptyset\) because the last line of the proof is not in a subproof.

The Proof

With the basic facts in place and the notion of undischarged assumption, we can now complete the proof of the Soundness Theorem.

Theorem. (Soundness Theorem, restated) For every set of formulas \(\Gamma\) and every formula \(\phi\), 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 that each \(k\) in the range \(1 \le k \le n\) satisfies

\[\Gamma \cup A_k \vDash \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 two possibilities for the justification of the line:

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 justifications of the \(k\)th line of the proof: