Working Backwards from the Goal
You want to cross a town. You know where you stand and where you must end. Smart travellers read the map from the end too. How do we find a proof, not only check one?
Premises on top, goal at the bottom
Take this argument. Key: P = The bell rings. Q = Class starts. R = Mia is ready. Premises: P ∧ Q and P → R. Goal: R ∧ Q. Write the premises at the top and the goal at the bottom. The lines between are a gap.
Now we ask two questions. What do we want? Which rule could give it, and what would it need?
Working backwards
We want R ∧ Q. An and is made by and-in (∧I). It needs R on one line and Q on another. So there are two new goals: R, and Q.
Q is easy: line 1 is P ∧ Q, so ∧E gives Q. For R we ask again. An if-then gives R by →E, and line 2 is P → R. It needs P on an earlier line. That is a new goal: P. And P comes from line 1 by ∧E.
Forwards and backwards meet
Now write the pieces in order, from the top.
| # | Line | Why |
|---|---|---|
| 1 | P ∧ Q | premise |
| 2 | P → R | premise |
| 3 | P | ∧E 1 |
| 4 | R | →E 2, 3 |
| 5 | Q | ∧E 1 |
| 6 | R ∧ Q | ∧I 4, 5 |
Check each line. Line 3 splits an and. Line 4 uses if-out on lines 2 and 3. Line 5 splits line 1 again. Line 6 joins lines 4 and 5. The goal is reached.
If a rule needs a line you do not have, that line becomes the new goal. We can also work forwards: from P ∧ Q, ∧E gives P and Q at once. Switch between both ways until they meet.
Careful
A line can be valid and still useless. Ask each time: does this get me nearer the goal?
Try it at home
- Take the argument P ∧ Q, P → R, so R ∧ Q. Cover this lesson and find the proof yourself.
- Write the premises P → Q and Q → R and P. Your goal is R. Ask which rule gives R, then what it needs.
- Next time you plan a trip or a recipe, write the end result first and ask what comes just before it.
Words to know
- goal - the claim at the bottom that the proof must reach
- working backwards - asking which rule gives the goal and what it needs
- working forwards - writing what the premises give by rules
- gap - the lines still missing between premises and goal
Big idea
To find a proof, put the premises at the top and the goal at the bottom, then ask which rule gives the goal and what it needs, until forwards and backwards meet.