Skip to main content
Logo image

Section 6.7 Proof by counterexample

Sometimes we want to prove that P⇏Q; i.e. that Pβ†’Q is not a tautology.

Recall.

The equivalence
Pβ†’Q⇔(P∧C1β†’Q)βˆ§β‹―βˆ§(P∧Cmβ†’Q)
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.6).
counterexample
relative to the logical implication Pβ‡’Q, a statement C such that P∧Cβ†’Q is false

Worked Example 6.7.1.

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:
211βˆ’1=2047=23β‹…89
is not prime even though n=11 is prime.

Check your understanding.