6.7: Proof by counterexample
( \newcommand{\kernel}{\mathrm{null}\,}\)
Sometimes we want to prove that P⇏Q; i.e. that P→Q is not a tautology.
Recall. The equivalence
holds for any set of cases C1,C2,…,Cm such that C1∨⋯∨Cm is a tautology. (See Section 6.4.)
So if P∧Ci→Q is not a tautology for at least one i, then P→Q also cannot be a tautology. Again, this also works in the universal case since ∀ distributes over ∧ (Proposition 4.2.1).
relative to the logical implication P⇒Q, a statement C such that P∧C→Q is false
In Exercise 6.12.8, you are asked to prove the following statement by proving the contrapositive.
If 2n−1 prime, then n is prime.
Prove that the converse of this statement is false.
Solution
The converse statement is “If n is prime, then 2n−1 is prime.” But the case n=11 is a counterexample:
is not prime even though n=11 is prime.
Check your understanding. Attempt Exercise 6.12.9.