One Card of Rules
A board game comes with a card that lists every move. A new player learns the game from that card. Proofs have a card too, and it fits in your hand. What is on it, and why do the moves feel so natural?
Two rules for each connective
Every connective has an in-rule and an out-rule. The in-rule says what it takes to prove a claim of that shape. The out-rule says what you may do with such a claim once you have it.
Take ∧. To prove A ∧ B you must get both A and B: that is and-in (∧I). Once you hold A ∧ B you may take either side: that is and-out (∧E). The other connectives work the same way, and the whole system fits on one card.
Look at the shapes on the card. The in-rules for →, ↔ and ¬ need a box, because to prove an if you suppose its if-part. The out-rule for ∨ needs two boxes, because an or gives two cases. The rest use plain lines.
There is one more pair. ⊥ (a clash) can be turned into anything by clash-out (X). And indirect proof (IP) turns a box that assumes ¬A and reaches ⊥ into A.
Why "natural"?
The system is called natural deduction because its moves copy how people really argue. We suppose something and see what follows. We split a problem into cases. We suppose the opposite and look for a clash.
Gentzen and Jaśkowski, working apart, built it in 1934. Fitch drew the boxes in 1952, the way we draw them. Proof assistants such as Lean and Coq still check proofs with rules of this kind.
There are other proof systems, with tables of rules or with trees. They prove the same claims. We use this one because it is the closest to speech.
Using the card
A short proof shows the card at work. From P ∧ Q we build Q ∧ P. First an out-rule, twice. Then an in-rule.
| # | Line | Why |
|---|---|---|
| 1 | P ∧ Q | premise |
| 2 | P | ∧E 1 |
| 3 | Q | ∧E 1 |
| 4 | Q ∧ P | ∧I 3, 2 |
Lines 2 and 3 take the premise apart. Line 4 builds a new claim. When you are stuck, ask: do I need to build this claim, or use one I have? Building asks for an in-rule. Using asks for an out-rule.
Careful
Do not mix the two up. To use A ∧ B you take it apart (out). To get A ∧ B you must first have both sides (in).
Try it at home
- Copy the card onto a small piece of paper. Keep it beside your notebook.
- For each of ∧, ∨, → write one sentence: what must I show to prove it, and what can I do with it?
- Prove P ∧ Q from P ∧ R and Q ∧ S. Mark each line as an in-rule or an out-rule.
Words to know
- in-rule - says what it takes to prove a claim of that shape
- out-rule - says what you may do with a claim of that shape
- natural deduction - a proof system whose rules copy how people argue
Big idea
Every connective has an in-rule that builds it and an out-rule that uses it, and together they make one card.