Knaph

Supposing for a While6 of 243 min read

Proving an If

A friend says: "If you press this button, the light turns on." How would you show it is true without anyone pressing it? You would suppose the button is pressed and follow the wires.

The rule: if-in

We want to prove an if-then claim, A → B. The new rule is if-in (→I). Assume A. Reach B inside the box. Close the box, and write A → B.

An if-then does not say that A is true. It only promises B when A is. So supposing A and reaching B is exactly what the promise needs.

Three steps drawn as cards: assume A and open a box, reach B inside the box, close the box and write A arrow B.

A proof with if-in

Key: P = It rains. Q = The street is wet. R = The bus is late. Premises: P → Q and Q → R. Goal: P → R. Ask first: what do we want? An if-then. What gives it? →I. What does it need? A box that assumes P and reaches R.

#LineWhy
1P → Qpremise
2Q → Rpremise
3│ Passume
4│ Q→E 1, 3
5│ R→E 2, 4
6P → R→I 3-5

A six-line proof: premises P arrow Q and Q arrow R, a box from line 3 to line 5 that assumes P and reaches R, and line 6, P arrow R, by arrow-I on lines 3 to 5.

Line 4: P and P → Q give Q by →E. Line 5: Q and Q → R give R by →E. The box ends at R. Line 6 is outside the box. It cites the whole box, 3-5, and says: if it rains, the bus is late. We did not say it rains.

The common mistake

A learner reaches R in the box and writes R below it. That is wrong. R depended on the assumption P, and the assumption is gone. Only the if-then A → B may leave the box, because it carries the assumption inside it.

A proof like the last one, but line 6 says R by arrow-I 3 to 5 and is marked red, because arrow-I gives P arrow R, not R.

Why is the right line safe? Think of a table. P → R is false only when P is true and R is false. But inside the box, whenever P holds, R follows. So that case cannot happen.

Careful

→I gives the whole if-then A → B, never B alone.

Try it at home

  1. Say it aloud: "If it rains, the street is wet. If the street is wet, the bus is late. So if it rains, the bus is late."
  2. Copy the six-line proof. Hide line 6 and rebuild it from the box.
  3. Think of an if-then you could prove by supposing the if-part. Write the box lines.

Words to know

  • if-in (→I) - from a box that assumes A and reaches B, write A → B
  • assume - the reason for the first line of a box
  • citing a box - writing its first and last line numbers, like 3-5

Big idea

To prove A → B, assume A in a box, reach B, close the box and write A → B citing the whole box.

Test your understanding

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