Summary: Using subproofs, to show RAA or to aid in presentation.
Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.
The reductio ad absurdum
(“RAA”),
Latin for
“reduction to absurdity”,
seems very strange:
If we can prove that
This is known as proof-by-contradiction.
We start by making a single unproven assumption. We then try to
prove that
This form of reasoning is often expressed via contrapositive. Consider the slogan
If you paid list price, you didn't buy it at SuperMegaMart.(This is a contrapositive, because the real statement the advertisers want to make is that if you buy it at SuperMegaMart, then you won't pay list price.), which we'll abbreviate
Spot the proof-by-contradiction used in The Simpsons:
Bart, filing through the school records: “ Hey, look at this: Skinner makes $25,000 per year! ”
Other kids: “Ooooh!”
Milhouse: “ And he's 40 years old; that makes him a millionaire! ”
Skinner, indignantly: “ I wasn't a principal when I was 1!”
Milhouse: “ And, he paints houses during the summer … he's a billionaire! ”
Skinner: “ If I were a billionaire, would I still be living with my mother? ” [Kids' laughter]
Skinner, to himself: “ The kids just aren't responding to logic anymore! ”
In the particular set of inference rules we have chosen to use, RAA is surprisingly important. It is the only way to prove formulas that begin with a single “¬”. 1
We'll prove
| 1 | subproof: | |||
| 1.a | Premise for subproof | |||
| 1.b |
∧Elim (left), line 1.a,
where
|
|||
| 1.c |
∧Elim (right), line 1.a,
where
|
|||
| 1.d |
|
|||
| 2 |
RAA, line 1,
where
|
|||
Here's another relatively simple example which uses RAA.
Show that the modus tollens rule holds:
| 1 | Premise | |||
| 2 | Premise | |||
| 3 | subproof: | |||
| 3.a | Premise for subproof | |||
| 3.b | ⇒Elim, lines 1,3.a | |||
| 3.c | |
|||
| 4 | RAA, line 3 | |||
Another use of subproofs is to organize proofs' presentations. Many proofs naturally break down into larger subparts, each with its own intermediate conclusion. These steps between these subparts are big enough to correspond to our intuition, but too big to correspond to individual inference rules. This gives additional useful structure to a proof, aiding our understanding.
Previously, we showed that
∧ (AND) commutes.
However, that conclusion is only directly applicable
when the ∧ is at the “top-level”,
i.e., not nested inside some other connective.
Here, we'll show that ∧ commutes inside ¬, or more formally,
We'll do two proofs of this to illustrate that there's always more than one way to prove something!
In our first proof, we'll use RAA. Why? Looking at our desired
conclusion, what could be the last inference rule used in the proof to
reach the conclusion? By the shape of the formula,
the last step can't use any of the
“introduction”
inference rules
(∧Intro, ∨Intro, ⇒Intro,
| 1 | Premise | |||
| 2 | subproof: | |||
| 2.a | Premise for subproof | |||
| 2.b | Theorem: ∧ commutes, line 2a | |||
| 2.c | |
|||
| 3 | RAA, line 2 | |||
The proof above uses a subproof because it is necessary for the use of RAA. In contrast, the proof below uses two subproofs simply for organization.
For our second proof, let's not use RAA directly. Our plan is as follows:
| 1 | Premise | |||
| 2 | subproof: | |||
| 2.a | Theorem statement: ∧ commutes | |||
| 2.b | ⇒Intro, line 2.a | |||
| 3 | subproof: | |||
| 3.a | Theorem statement: modus tollens | |||
| 3.b | ⇒Intro, line 3.a | |||
| 3.c | ∧Intro, lines 2,1 | |||
| 3.d | ⇒Elim, lines 3.b,3.c | |||
Now let's use these rules in a couple larger proofs, to show some more interesting results.
Let's redo the
first example's proof formally and show
| 1 | WaterWorld axiom, choosing a grouping of the ternary ∨, as justified by ∨ commutativity | |||
| 2 | Premise | |||
| 3 | ∧Elim (left), line 2 | |||
| 4 | ⇒Elim, lines 1,3 | |||
| 5 | ∧Elim (right), line 2 | |||
| 6 | WaterWorld axiom | |||
| 7 | ⇒Elim, lines 5,6 | |||
| 8 | subproof: | |||
| 8.a | Premise for subproof | |||
| 8.b | ∧Elim (right), line 8.a | |||
| 8.c | |
|||
| 9 | RAA, line 8 | |||
| 10 | CaseElim (right), lines 4,9 | |||
| 11 | subproof: | |||
| 11.a | Premise for subproof | |||
| 11.b | ∧Elim (left), line 11.a | |||
| 11.c | |
|||
| 12 | RAA, line 11 | |||
| 13 | CaseElim (right), lines 10,12 | |||
| 14 | ∧Elim (right), line 13 | |||
Wow! This formalization is a lot longer than the original informal proof. That's a result of the particular set of inference rules we are using, that we can only make inferences in small steps. Also, here we were pickier about the distinction between “not safe” and “unsafe”.
The previous example is a perfect candidate for adding structure to the proof by using additional subproofs. The following is more similar to the original informal proof.
Note also that subproofs can have their own subproofs.
| 1 | WaterWorld axiom, choosing a grouping of the ternary ∨, as justified by ∨ commutativity | |||||
| 2 | subproof: | |||||
| 2.a | Premise | |||||
| 2.b | ∧Elim (left), line 2.a | |||||
| 3 | ⇒Elim, lines 1,3 | |||||
| 4 | subproof: | |||||
| 4.a | Premise | |||||
| 4.b | ∧Elim (right), line 4.a | |||||
| 4.c | WaterWorld axiom | |||||
| 4.d | ⇒Elim, lines 4.b,4.c | |||||
| 5 | subproof: | |||||
| 5.a | subproof: | |||||
| 5.a.i | Premise for subproof | |||||
| 5.a.ii | ∧Elim (right), line 5.a.1 | |||||
| 5.a.iii | |
|||||
| 5.b | RAA, line 5.a | |||||
| 5.c | CaseElim (right), lines 3,5.b | |||||
| 5.d | subproof: | |||||
| 5.d.i | Premise for subproof | |||||
| 5.d.ii | ∧Elim (left), line 5.d.1 | |||||
| 5.d.iii | |
|||||
| 5.e | RAA, line 5.d | |||||
| 5.f | CaseElim (right), lines 5.c,5.e | |||||
| 6 | ∧Elim (right), line 5 | |||||
A standard way of presenting proofs is by using lemmas to show parts of the proofs. Lemmas are simply formulas which we prove not as an end result, but as intermediate steps in a larger proof. So, they are simply another way of presenting subproofs.
![]() |
Consider the
above figure.
We'll show
First, we'll show the main proof, assuming each of the lemmas. Then, proofs of each of the lemmas will follow.
| 1 | Premise | |||
| 2 | ∧Elim (left), line 1 | |||
| 3 | ∧Elim (right), line 1 | |||
| 4 | ∧Elim (left), line 3 | |||
| 5 | ∧Elim (right), line 3 | |||
| 6 | subproof: | |||
| 6.a | Premise for subproof | |||
| 6.b | Lemma A, lines 6.a,4 | |||
| 6.c | Lemma B, lines 6.a,2 | |||
| 6.d | Lemma C, lines 6.b,6.c,5 | |||
| 7 | RAA, line 6 | |||
| 8 | Lemma D, lines 7,2 | |||
| 9 | Lemma E, lines 7,3 | |||
| 10 | Lemma F, lines 8,9,5 | |||
And that's the desired proof! Now it just remains to show each of the six lemmas.
Lemma A:
| 1 | Premise | |||
| 2 | Premise | |||
| 3 | subproof: | |||
| 3.a | Premise for subproof | |||
| 3.b | ∧Elim | |||
| 3.c | |
|||
| 4 | RAA, line 3 | |||
| 5 | WaterWorld axiom | |||
| 6 | ⇒Elim, lines 5,2 | |||
| 7 | Theorem: ∨ commutes, line 6 | |||
| 8 | CaseElim, lines 4,7 | |||
| 9 | ∧Elim (right), line 8 | |||
Lemma B:
| 1 | Premise | |||
| 2 | Premise | |||
| 3 | subproof: | |||
| 3.a | Premise for subproof | |||
| 3.b | ∧Elim (left), line 3a | |||
| 3.c | |
|||
| 4 | RAA, line 3 | |||
| 5 | WaterWorld axiom | |||
| 6 | ⇒Elim, lines 5,2 | |||
| 7 | Theorem: ∨ commutes, line 6 | |||
| 8 | CaseElim, lines 4,7 | |||
| 9 | ∧Elim (right), line 8 | |||
Proving the other lemmas is left as an exercise to the reader.
Note that we took a little shortcut: we used the lemmas as if they were inference rules. According to our previous definition of proofs, we technically should present the lemma as a subproof and then use an inference rule or two to show how that applies, as we've done in previous examples. This shorter form is common practice and much easier to read.
In summary, we must state one of the following four possible reasons for each step in a proof, allowing subproofs.
Technically, when using subproofs, one must be careful to rename variables, to avoid clashes. Rather than formalize this notion, we'll leave it as “obvious”.