🏠 Home β€Ί 🧠 Logic β€Ί Lesson 8

🎨 Knights and Knaves β€” When the Statements Use AND, OR, and IF–THEN

πŸ“– Lesson 8 of 10

πŸ“Œ Key idea of this section

Knights ALWAYS tell the truth. Knaves ALWAYS lie.
A knave's compound statement is false as a WHOLE β€” and De Morgan (plus the promise
table) tells you exactly what that falsehood means.
Method: SUPPOSE, FOLLOW the consequences, hit a contradiction β†’ switch, then CHECK.

Welcome to Raymond Smullyan's island, where every islander is a knight (never lies) or a knave (never tells the truth). These islanders fight back with compound statements β€” and everything you learned about Β¬, ∧, ∨, β†’ becomes a weapon. The key upgrade:

If a knave says "p AND q," the AND is false β€” De Morgan: Β¬p OR Β¬q (at least one part fails).
If a knave says "p OR q," the OR is false β€” De Morgan: Β¬p AND Β¬q (BOTH parts fail).
If a knave says "if p then q," the promise is false β€” the promise table: p true AND q false.

The method, in a box:

1. SUPPOSE someone is a knight (or a knave).
2. FOLLOW the consequences: knights' statements are true, knaves' are false.
3. Hit a contradiction? That supposition is dead β€” try the other one.
4. Found a consistent case? CHECK every statement before declaring victory.
5. BOTH cases explode? The situation is impossible.
6. BOTH cases survive? Then the answer is whatever is true in BOTH of them (see Puzzle 5).

Puzzle 1 β€” the impossible sentence (still impossible). One islander says: "I am a knave."

Puzzle 2 β€” an OR statement, unpacked with De Morgan. Ava says: "At least one of us is a knight." Bo says: "Ava is a knave."

Puzzle 3 β€” the no-solution shocker, three islanders. Ava says: "Bo is a knight." Bo says: "Cy is a knight." Cy says: "Ava is a knave."

Puzzle 4 β€” the islander who speaks in if-then. Ava says: "If I am a knight, then Bo is a knave." Bo says nothing.

Notice what happened: the promise table ITSELF solved the puzzle. A knave can never utter "if I am a knight, then..." β€” such a sentence can only come from a knight. The logic you learned in Lesson 4 is doing detective work now.

Puzzle 5 β€” the puzzle with TWO surviving cases. Ava says: "Bo and I are the same type." Bo says nothing.

Final answer: Bo is DEFINITELY a knight. Ava could be either type.

This is a real mathematical superpower: when every road survives, report what's true on all of them. Mathematicians do this constantly β€” "we can't pin down the exact value, but in every possible case it's positive" is a perfectly strong conclusion.

✏️ Your Turn!

Ava says: "Bo is a knave." Bo says: "Ava and I are the same type." What are they?

πŸ‘€ Show the answers

Answer: SUPPOSE Ava is a knave β†’ her statement is false β†’ Bo is a KNIGHT β†’ Bo's statement is true β†’ they ARE the same type β†’ Ava is a knight. Contradiction! So Ava is a KNIGHT β†’ her statement is true β†’ Bo is a knave β†’ Bo's statement "same type" must be FALSE β†’ they're different types βœ“ (knight vs knave β€” indeed different). CHECK: Ava told the truth βœ“, Bo lied βœ“. Solution: Ava knight, Bo knave. (Notice Bo's statement here is the same sentence as Puzzle 5's β€” but Ava's different sentence pins everything down.)

V.3.1