Knaph

Strategy and the Big Picture22 of 243 min read

Which Rule Next?

You open a puzzle box with no instructions. Where do you start? In a proof the answer is: look at what you want, then at what you have. Which rule do we try next?

Look at the goal

The main connective of the goal tells you the first move.

GoalFirst move
A → Bassume A in a box, aim for B, close with →I
¬Aassume A, aim for ⊥, close with ¬I
A ∧ Bprove A, prove B, join with ∧I
A ∨ Bprove one side, then ∨I
A ↔ Btwo boxes, A to B and B to A, then ↔I

If you cannot reach either side of an or, use indirect proof: assume ¬(A ∨ B) and aim for ⊥. It works for any goal, but try the goal's own move first, because it is usually shorter.

A card with two columns. On the left, look at the goal. On the right, look at the premises: an and is taken apart, an or means cases, an if needs its if-part.

Look at the premises

Then look at what you hold. An and premise: take it apart with ∧E. An or premise: plan cases, one box for each side, both aiming for the same claim, then ∨E. An if premise: use →E as soon as you have its if-part, or aim to get that if-part.

Work forwards from the premises and backwards from the goal. Stop when the two meet.

One proof, found in order

Key: P = It rains. Q = It snows. R = We stay in. Premises: P → R and Q → R. Goal: (P ∨ Q) → R.

What do we want? An if. So we assume its if-part, P ∨ Q, and aim for R. Now we hold an or. So we plan cases: assume P and aim for R, then assume Q and aim for R. What gives R in each case? →E with a premise.

#LineWhy
1P → Rpremise
2Q → Rpremise
3│ P ∨ Qassume
4│ │ Passume
5│ │ R→E 1, 4
6│ │ Qassume
7│ │ R→E 2, 6
8│ R∨E 3, 4-5, 6-7
9(P ∨ Q) → R→I 3-8

The nine-line proof drawn with its boxes: a big box from line 3 to line 8, and inside it two small boxes for the cases P and Q.

Line 8 closes the two case boxes. Line 9 closes the big box. Each step came from one question about the goal or the premises.

Careful

Do not start by assuming something at random. A box needs a reason: the goal asked for it, or an or premise asked for cases.

Try it at home

  1. Write the goal P ↔ Q. Draw the two boxes it needs, leaving the middle empty.
  2. Take premises A ∨ B, A → C, B → C and goal C. Which strategy do the premises ask for?
  3. Find a proof of P → (Q → P) by asking the goal's question twice.

Words to know

  • goal - the claim at the bottom of a proof, the one we want
  • strategy - a plan for choosing the next rule
  • cases - one box for each side of an or

Big idea

Ask what the goal's main connective needs, then what the premises offer, and try indirect proof when you are stuck.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.