Logic & truth-table drills
◈ 4 cardsRe-derive a truth-table equivalence under time pressure, the way Q1 and the Q8 encoding step are graded.
What the exam actually asks
Two logic tasks recur on every paper. Q1 hands you a definition such as " means " and asks you to prove the equivalence with a truth table. Q8(a) hands you English sentences and asks you to translate them into a knowledge base of implications. Both are mechanical once you have the drill in muscle memory — so we rebuild them cold here.
The truth-table method (the only method you need)
- List every combination of the variables. Two variables ⇒ rows ( variables ⇒ rows).
- Add one column per sub-expression, evaluating inside-out.
- Two formulas are logically equivalent iff their final columns are identical on every row.
The one fact that makes implication painless: is false on exactly one row — when and — and true on the other three. Equivalently .
Worked example — the past-paper pair
This exact pair has appeared as a cold-retrieval question. Build both columns:
| T | T | T | T |
| T | F | T | T |
| F | T | F | F |
| F | F | T | T |
For : it is false only when its antecedent (i.e. ) and its consequent (i.e. ) — that is the single row . Every other row is true. The right column is likewise false only at . The columns match on all four rows ⇒ EQUIVALENT. (Both reduce to .)
The Q8 encoding step (logic half)
Forward chaining (L10.3) needs the sentences as implications. Translate each English statement into premise → conclusion:
- "When the cat is absent, the mice are present" ⇒
- "When the dog is present, the cat is absent" ⇒
- "When the dog is absent and the cat is absent, the mice are present" ⇒
Given facts . You fire these in L10.3 — here, just get the encoding exact.