In this lab, you will learn that some problems can't be solved at all.
On this page, you will solve logic puzzles by finding a contradiction, that is, by showing that one possibility has to be true because the other possibility doesn't make sense.
Betsy, Gamal, and Alphie are considering the problem above.
Betsy: I'm pretty sure Eve is a Truth-teller, but I don't know how to prove it.
A proof by contradiction is a two-step proof that something is false that is done by:
- assuming that it's true
- showing how that's impossible (that it creates a contradiction)
Gamal: Sometimes it's easier to prove that something is false than to prove that something is true. So let's assume the opposite of what you want to prove, and see where that leads us. Let's assume that Eve is a False-teller.
Betsy: Okay. So if Adam is a Truth-teller, then what he said is true, and they are from the same family, the Truth-tellers. But we assumed that Eve is a False-teller, so they're actually from different families, and so Adam can't be a Truth-teller.
Alphie: So, Adam has to be a False-teller.
Gamal: But that won't work either! If Adam is a False-teller, then what he said is false, and they are from different families. But they are both False-tellers, so they're actually in the same family, and so Adam can't be a False-teller either.
Betsy: No matter what family Adam is from, our assumption that Eve is a False-teller led us to a contradiction. Eve can't be a False-teller, so has to be a Truth-teller. We proved it.
Betsy and Gamal are exploring logical statements of their own.
Betsy: The statement I'm making right now is false.
Gamal: (Thinks for a moment) Wait! What?!?
Gamal: That's very clever, Betsy. Your statement can't be true, and it can't be false. No neither a Truth-teller nor a False-teller could say that.
There are four kinds of true/false statements:
An undecidable statement might be true or might be false; we don't know which.
A self-contradictory statement can be neither true nor false.
- Provably True: For example in this problem, "Eve is a Truth-teller."
- Provably False: For example, "Eve is a False-teller."
- Undecidable: For example, "Adam is a Truth-teller."
- Self-Contradictory: Such as "This statement is false."