C H A P T E R  5
Natural Deduction

5.1 Introduction

Direct deduction has the merit of being simple to understand. Unfortunately, as we have seen, the proofs can easily become unwieldy. The deduction theorem helps. It assures us that, if we have a proof of a conclusion form premises, there is a proof of the corresponding implication. However, that assurance is not itself a proof. Natural deduction cures this deficiency through the use of conditional proofs.

We begin this lesson with a discussion of conditional proofs. We then show how they are combined in the popular Fitch proof system. We discuss soundness and completeness of the system. And we finish by providing some tips for finding proofs using the Fitch system.

5.2 Conditional Proofs

Conditional proofs are similar to direct proofs in that they are sequences of reasoning steps. However, they differ from direct proofs in that they have more structure. In particular, sentences can be grouped into subproofs nested within outer superproofs.

As an example, consider the conditional proof shown below. It resembles a direct proof except that we have grouped the sentences on lines 3 through 5 into a subproof within our overall proof.

1.
 pq
  Premise
2.
 qr
  Premise
3.
 p
  Assumption
4.
 q
  Implication Elimination: 3, 1
5.
 r
  Implication Elimination: 4, 2
6.
 pr
 Implication Introduction: 3, 5

The main benefit of conditional proofs is that they allow us to prove things that cannot be proved using only ordinary rules of inference. In conditional proofs, we can make assumptions within subproofs; we can prove conclusions from those assumptions; and, from those derivations, we can derive implications outside of those subproofs, with our assumptions as antecedents and our conclusions as consequents.

The conditional proof above illustrates this. On line 3, we begin a subproof with the assumption that p is true. Note that p is not a premise in the overall problem. In a subproof, we can make whatever assumptions that we like. From p, we derive q using the premise on line 1; and, from that q, we prove r using the premise on line 2. That terminates the subproof. Finally, from this subproof, we derive (pr) in the outer proof. Given p, we can prove r; and so we know (pr). The rule used in this case is called Implication Introduction, or II for short.

As this example illustrates, there are three basic operations involved in creating useful subproofs - (1) making assumptions, (2) using ordinary rules of inference to derive conclusions, and (3) using conditional rules of inference to derive conclusions outside of subproofs. Let's look at each of these operations in turn.

In a conditional proof, it is permissible to make an arbitrary assumption in any subproof. The assumptions need not be members of the initial premise set. Note that such assumptions cannot be used directly outside of the subproof, only as conditions in derived implications, so they do not contaminate the superproof or any unrelated subproofs.

For example, in the proof we just saw, we used this assumption operation in the nested subproof even though p was not among the given premises.

An ordinary rule of inference applies to a particular subproof of a conditional proof if and only if there is an instance of the rule in which all of the premises occur earlier in the subproof or in some superproof of the subproof. Importantly, it is not permissible to use sentences in subproofs of that subproof or in other subproofs of its superproofs.

For example, in the conditional proof we have been looking at, it is okay to apply Implication Elimination to 1 and 3. And it is okay to use Implication Elimination on lines 2 and 4.

However, it is not acceptable to use a sentence from a subproof in applying an ordinary rule of inference in a superproof.

The last line of the malformed proof shown below gives an example of this. It is not permissible to use Implication Elimination as shown here because it uses a conclusion from a subproof as a premise in an application of an ordinary rule of inference in its superproof.

1.
 pq
  Premise
2.
 qr
  Premise
3.
 p
  Assumption
4.
 q
  Implication Elimination: 1, 3
5.
 r
  Implication Elmination: 2, 4
6.
 pr
  Implication Introduction: 3, 5
Wrong!  7.
 r
 Implication Elimination: 2, 4  Wrong!

The malformed proof shown below is another example. Here, line 8 is illegal because line 4 is not in the current subproof or a superproof of this subproof.

1.
 pq
  Premise
2.
 qr
  Premise
3.
 p
  Assumption
4.
 q
  Implication Elmination: 1, 3
5.
 r
  Implication Elmination: 2, 4
6.
 pr
  Implication Introduction: 3, 5
7.
 ¬r
  Assumption
Wrong!  8.
 r
  Implication Elmination: 2, 4  Wrong!
9.
 ¬rr
  Implication Introduction: 7, 8

Correctly utilizing results derived in subproofs is the responsibility of a new type of rule of inference. Like an ordinary rule of inference, a conditional rule of inference is a pattern of reasoning consisting of one or more premises and one or more conclusions. As before, the premises and conclusions can be schemas. However, the premises can also include conditions of the form φ ⊢ ψ. The rule in this case is called Implication Introduction, because it allows us to introduce new implications.

φ ⊢ ψ
φ ⇒ ψ

Finally, we define a conditional proof of a conclusion from a set of premises to be a sequence of (possibly nested) sentences terminating in an occurrence of the conclusion at the top level of the proof. Each step in the proof must be either (1) a premise (at the top level) or an assumption (other than at the top level) or (2) the result of applying an ordinary or conditional rule of inference to earlier items in the sequence (subject to the constraints given above).

5.3 Fitch

Fitch is a proof system that is particularly popular in the Logic community. It is as powerful as many other proof systems and is far simpler to use. Fitch achieves this simplicity through its support for conditional proofs and its use of conditional rules of inference in addition to ordinary rules of inference.

Fitch has ten rules of inference in all. Nine of these are ordinary rules of inference. The other rule (Implication Introduction) is a conditional rule of inference.

And Introduction (shown below on the left) allows us to derive a conjunction from its conjuncts. If a proof contains sentences φ1 through φn, then we can infer their conjunction. And Elimination (shown below on the right) allows us to derive conjuncts from a conjunction. If we have the conjunction of φ1 through φn, then we can infer any of the conjuncts.

And Introduction
φ1
...
φn
φ1 ∧ ... ∧ φn
 
And Elimination
φ1 ∧ ... ∧ φn
φi

Or Introduction allows us to infer an arbitrary disjunction so long as at least one of the disjuncts is already in the proof. Or Elimination is a little more complicated than And Elimination. Since we do not know which of the disjuncts is true, we cannot just drop the ∨. However, if we know that every disjunct entails some sentence, then we can infer that sentence even if we do not know which disjunct is true.

Or Introduction
φi
φ1 ∨ ... ∨ φn
 
Or Elimination
φ1 ∨ ... ∨ φn
φ1 ⇒ ψ
...
φn ⇒ ψ
ψ

Negation Introduction allows us to derive the negation of a sentence if it leads to a contradiction. If we believe (φ ⇒ ψ) and (φ ⇒ ¬ψ), then we can derive that φ is false. Negation Elimination allows us to delete double negatives.

Negation Introduction
φ ⇒ ψ
φ ⇒ ¬ψ
¬φ
 
Negation Elimination
¬¬φ
φ

Implication Introduction is the conditional rule we saw in section 5.3. If, by assuming φ, we can derive ψ, then we can derive (φ ⇒ ψ). Implication Elimination is the first rule we saw Section 5.2.

Implication Introduction
φ ⊢ ψ
φ ⇒ ψ
 
Implication Elimination
φ ⇒ ψ
φ
ψ

Biconditional Introduction allows us to deduce a biconditional from an implication and its inverse. Biconditional Elimination goes the other way, allowing us to deduce two implications from a single biconditional.

Biconditional Introduction
φ ⇒ ψ
ψ ⇒ φ
φ ⇔ ψ
 
Biconditional Elimination
φ ⇔ ψ
φ ⇒ ψ
ψ ⇒ φ

In addition to these rules of inference, it is common to include in Fitch proof editors several additional operations that are of use in constructing Fitch proofs. For example, the Premise operation allows one to add a new premise to a proof. The Reiteration operation allows one to reproduce an earlier conclusion for the purposes of clarity. Finally, the Delete operation allows one to delete unnecessary lines.

5.4 Soundness And Completeness

In talking about Logic, we now have two notions - logical entailment and provability. A set of premises logically entails a conclusion if and only if every truth assignment that satisfies the premises also satisfies the conclusion. A sentence is provable from a set of premises if and only if there is a finite proof of the conclusion from the premises.

The concepts are quite different. One is based on truth assignments; the other is based on symbolic manipulation of expressions. Yet, for the proof systems we have been examining, they are closely related.

We say that a proof system is sound if and only if every provable conclusion is logically entailed. In other words, if Δ ⊢ φ, then Δ ⊨ φ. We say that a proof system is complete if and only if every logical conclusion is provable. In other words, if Δ ⊨ φ, then Δ ⊢ φ.

The Fitch system is sound and complete for the full language. In other words, for this system, logical entailment and provability are identical. An arbitrary set of sentences Δ logically entails an arbitrary sentence φ if and only if φ is provable from Δ using Fitch.

The upshot of this result is significant. On large problems, the proof method often takes fewer steps than the truth table method. (Disclaimer: In the worst case, the proof method may take just as many or more steps to find an answer as the truth table method.) Moreover, proofs are usually much smaller than the corresponding truth tables. So writing an argument to convince others does not take as much space.

5.5 Reasoning Tips

The Fitch rules are all fairly simple to use; and, as we discuss in the next section, they are all that we need to prove any result that follows logically from any set of premises. Unfortunately, figuring out which rules to use in any given situation is not always that simple. Fortunately, there are a few tricks that help in many cases.

If the goal has the form (φ ⇒ ψ), it is often good to assume φ and prove ψ and then use Implication Introduction to derive the goal. For example, if we have a premise q and we want to prove (pq), we assume p, reiterate q, and then use Implication Introduction to derive the goal.

1.
 q
  Premise
2.
 p
  Assumption
3.
 q
  Reiteration: 1
4.
 pq
 Implication Introduction: 2, 3

If the goal has the form (φ ∧ ψ), we first prove φ and then prove ψ and then use And Introduction to derive (φ ∧ ψ).

If the goal has the form (φ ∨ ψ), all we need to do is to prove φ or prove ψ, but we do not need to prove both. Once we have proved either one, we can disjoin that with anything else whatsoever.

If the goal has the form (¬φ), it is often useful to assume φ and prove a contradiction, meaning that φ must be false. To do this, we assume φ and derive some sentence ψ leading to (φ ⇒ ψ). We assume φ again and derive some sentence ¬ψ leading to (φ ⇒ ¬ψ). Finally, we use Negation Introduction to derive ¬φ as desired.

More generally, whenever we want to prove a sentence φ of any sort, we can sometimes succeed by assuming ¬φ, proving a contradiction as just discussed and thereby deriving ¬¬φ. We can then apply Negation Elimination to get φ.

The following two tips suggest useful things we can try based on the form of the premises and the goal or subgoal we are trying to prove.

If there is a premise of the form (φ ⇒ ψ) and our goal is to prove ψ, then it is often useful to try proving φ. If we succeed, we can then use Implication Elimination to derive ψ.

If we have a premise (φ ∨ ψ) and our goal is to prove χ, then we should try proving (φ ⇒ χ) and (ψ ⇒ χ). If we succeed, we can then use Or Elimination to derive χ.

As an example of using these tips in constructing the proof, consider the following problem. We are given pq and ¬p, and we are asked to prove q. Since the goal is not an implication or a conjunction or a disjunction or a negation, only the last of the goal-based tips applies. Unfortunately, this does not help us in this case. Luckily, the second of the premise-based tips is relevant because we have a disjunction as a premise. To use this all we need is to prove pq and qq. To prove pq, we use the first goal-based tip. We assume p and try to prove q. To do this we use that last goal-based tip. We assume ~q and prove p. Then we assume ~q and prove ¬p. Since we have proved p and ¬p from ¬q, we can infer q. Using Implication Introduction, we then have pq. Proving qq is easy. Finally, we can apply or elimination to get the desired result.

1.
 p | q
  Premise
2.
 ¬p
  Premise
3.
 p
  Assumption
4.
 ¬q
  Assumption
5.
 p
  Reiteration: 3
6.
 ¬qp
  Implication Introduction: 4, 5
7.
 ¬q
  Assumption
8.
 ¬p
  Reiteration: 2
9.
 ¬q ⇒ ¬p
  Implication Introduction: 7, 8
10.
 ¬¬q
  Negation Introduction: 6, 9
11.
 q
  Negation Elimination: 10
12.
 pq
 Implication Introduction: 3, 11
13.
 q
  Assumption
14.
 qq
 Implication Introduction: 13
15.
 q
 Or Elimination: 1, 12, 14

In general, when trying to generate a proof, it is useful to apply the premise tips to derive conclusions. However, this often works only for very short proofs. For more complex proofs, it is often useful to think backwards from the desired conclusion before starting to prove things from the premises in order to devise a strategy for approaching the proof. This often suggests subproblems to be solved. We can then work on these simpler subproblems and put the solutions together to produce a proofs for our overall conclusion.

Recap

Fitch is a powerful yet simple proof system that supports conditional proofs. Fitch is sound and complete for Propositional Logic.

Exercises

Exercise 5.1: Given p and q and (pqr), use the Fitch system to prove r.

Exercise 5.2: Given (pq), use the Fitch system to prove (qr).

Exercise 5.3: Given pq and qr, use the Fitch system to prove pr.

Exercise 5.4: Given pq and mpq, use the Fitch System to prove mq.

Exercise 5.5: Given p ⇒ (qr), use the Fitch System to prove (pq) ⇒ (pr).

Exercise 5.6: Use the Fitch System to prove p ⇒ (qp).

Exercise 5.7: Use the Fitch System to prove (p ⇒ (qr)) ⇒ ((pq) ⇒ (pr)).

Exercise 5.8: Use the Fitch System to prove (¬pq) ⇒ ((¬p ⇒ ¬q) ⇒ p).

Exercise 5.9: Given p, use the Fitch System to prove ¬¬p.

Exercise 5.10: Given pq, use the Fitch System to prove ¬q ⇒ ¬p.

Exercise 5.11: Given pq, use the Fitch System to prove ¬pq.

Exercise 5.12: Use the Fitch System to prove ((pq) ⇒ p) ⇒ p.

Exercise 5.13: Given ¬(pq), use the Fitch system to prove (¬p ∧ ¬q).

Exercise 5.14: Use the Fitch system to prove the tautology (p ∨ ¬p).