Knaph

Shortcuts and Swaps13 of 243 min read

A Rule Earned by Proof

In the last module we proved "If P then Q. Not Q. So not P" in six lines. Must we write all six lines every time the pattern comes back? Or can a proof earn a shortcut?

A proof used as a tool

A derived rule is a rule we prove once from the basic rules, and then use as a single step. It is like a tool you built yourself. You build it with care once. After that you just pick it up.

A derived rule adds no new power. Anything it proves, the basic rules could prove too, only with more lines.

Three cards in a row: prove it once from the basic rules, give it a name, then use it as one step in later proofs.

Modus tollens (MT)

Here is the six-line proof from before. Premises: P → Q and ¬Q. It proves ¬P by not-in.

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

It was proved once, for any claims. So we name it modus tollens (MT): from A → B and ¬B, write ¬A. Now the proof is three lines.

#LineWhy
1P → Qpremise
2¬Qpremise
3¬PMT 1, 2

Two proofs side by side: the long one with a box has six lines, and the short one has three lines with modus tollens on line 3.

Disjunctive syllogism (DS)

The second shortcut comes from the crossing-off proof. Disjunctive syllogism (DS): from A ∨ B and ¬A, write B. If one side of an or is false, the other side must be true.

Key: P = Ana has the red key. Q = Ana has the blue key. Premises: P ∨ Q and ¬P. Ask: what do we want? Q. What gives it? DS.

#LineWhy
1P ∨ Qpremise
2¬Ppremise
3QDS 1, 2

A shortcut is a step like any other, so it needs the right lines. Here is a mixed proof. Premises: R → S, ¬S and ¬R → T. Goal: T.

#LineWhy
1R → Spremise
2¬Spremise
3¬R → Tpremise
4¬RMT 1, 2
5T→E 3, 4

Line 4 is MT on lines 1 and 2. Line 5 is →E on lines 3 and 4. To unfold line 4 into basic rules, put the six-line proof of MT in its place.

Careful

MT needs ¬B, the not of the then-part. From A → B and B you cannot write A. That is the mistake called affirming the then-part.

Try it at home

  1. Copy the three-line MT proof. Next to it, copy the six-line proof. Count the lines saved.
  2. Make a key for DS about your own life, like two places a friend could be, and read the proof aloud.
  3. Take the mixed proof. Rewrite line 4 as six lines of basic rules. Does the proof still work?

Words to know

  • derived rule - a rule proved once from the basic rules, then used as one step
  • modus tollens (MT) - from A → B and ¬B, write ¬A
  • disjunctive syllogism (DS) - from A ∨ B and ¬A, write B

Big idea

A derived rule is proved once from the basic rules and then used as one step: it saves lines but adds no power.

Test your understanding

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