Proofs are games with fair moves
A truth table checks every situation at once. That works for a handful of letters, but it cannot scale to statements about all numbers. Mathematicians instead build arguments from small steps that are obviously safe. Natural deduction is a precise list of those steps.
Every connective has two kinds of rule:
| Introduction: how to prove it | Elimination: how to use it | Lean | |
|---|---|---|---|
| assume , prove | from and , get | intro / apply | |
| prove and prove | from , get (or ) | constructor / h.1 | |
| prove (or ) | from , prove the goal in both cases | left / rcases | |
| assume , reach | from and , get | intro / exact hn ha | |
| (no introduction) | from , get anything | exfalso |
("bottom") is the statement that is always false: a contradiction.
Here you will work backwards from the goal, exactly like Lean: choose a rule, and the builder shows the new goals that rule leaves you. Close a goal by pointing at a hypothesis that says exactly the same thing.