6.4: Reduction to Cases
( \newcommand{\kernel}{\mathrm{null}\,}\)
The following logical equivalence holds:
- Proof idea
-
This is just an extended version of Example 2.2.3.
If
is a tautology, then
By substitution and Fact 6.4.1,
A conjunction is only true if each “factor” in the conjunction is true, so the conjunction on the right above can only be a tautology if each conditional P∧C1→Q is a tautology. Therefore, when we have a collection of statements C1,…,Cm so that
is a tautology, we can prove P→Q by instead proving each of P∧Ci⇒Q one at a time. This is also valid for universal statements, since ∀ distributes over ∧ (Proposition 4.2.2).
Now, having to prove many slightly more complicated statements P∧Ci⇒Q seems like a lot more work than just proving the single simple statement P→Q — why would we want to go to all this extra effort?
Each case statement Ci provides extra information that can be combined with the assumption that P is true to arrive at the conclusion that Q must also be true.
- To prove P⇒Q, determine a set of cases C1,C2,…,Cm such that C1∨C2∨⋯∨Cm is true, then provide a separate proof of each logical implication P∧Ci⇒Q.
- To prove (∀x)(P(x)⇒Q(x)), determine a set of cases C1(x),C2(x),…,Cm(x) such that
(∀x)(C1(x)∨C2(x)∨⋯∨Cm(x))is true, then provide a separate proof of each universally quantified logical implication (∀x)(P(x)∧Ci(x)⇒Q(x)).
Show n2−n is always even.
Solution
Let P(n) represent the predicate “n is an integer” and let Q(n) represent the predicate “n2−n is even”, each with domain the integers. Note that P(n) is actually true for each n in the domain, since our original statement makes no extra premise on n besides its domain.
Suppose that n is an integer. Break into cases based on whether n is even or odd; in each case, proceed by direct proof.
Case n even. If n is even, then there exists an integer m such that n=2m. Then,
is also even.
Case n odd. If n is odd, then n−1 is even, so there exists an integer m such that n−1=2m, or n=2m+1. Then,
is even.
Make sure your cases cover all possibilities! (Though it is not necessary that your cases by non-overlapping.)
Check your understanding. Attempt Exercise 6.12.7.