Why it works

The core ideas behind every proof. Read this first: once these make sense, the strategies stop being rules to memorise and become things you could work out yourself.

On this page

  1. What a proof promises
  2. Building and taking apart
  3. Assumptions are "what if" boxes
  4. The four rules that close a box
  5. ⊥ and explosion
  6. Why "if" behaves so oddly
  7. How to find the first assumption
  8. Common misunderstandings

1What a proof promises

An argument is valid when there is no possible situation where all the premises are true and the conclusion is false. A proof is a way to show validity without checking every situation.

It works by taking small steps. Each rule is chosen so that it can never take you from true lines to a false one. So if every step follows a rule, the truth of the premises carries through, step by step, all the way to the conclusion.

A proof is a chain of steps where each step is safe: if what you cite is true, what you write is true too. That's all a rule is.

This is why you can't skip steps or use a rule "almost right". The guarantee only holds if every link in the chain is one of the safe ones.

Check yourself

Why is there no rule "from A → B and B, infer A"?
Because it isn't safe. "If it rains, the street is wet" and "the street is wet" can both be true while it isn't raining (someone washed the street).

2Building and taking apart

Every connective has two kinds of rule:

So a proof usually works from both ends at once: eliminate to see what your premises give you, and introduce to build the goal.

The main connective of a sentence is the one that holds the whole thing together, the one applied last. In ¬(A → B) it is ¬; in ¬A → B it is →. If you want to build a sentence, the last rule you use has to be the introduction rule for its main connective.
Check yourself

What is the main connective of (A ∨ B) → ¬C, and which rule would build it?
→, so →I.

3Assumptions are "what if" boxes

Some things can't be shown in one direct step. To show "if A then B", you need to say: suppose A were true; then B. That "suppose" is an assumption, and the lines that follow it sit in a subproof, drawn with its own vertical line.

Think of a subproof as a box labelled "what if". Inside the box you may use the assumption as if it were true, along with anything from outside the box that is still open. But nothing inside the box has been shown to be actually true. It's only true if the assumption is.

When a box closes, everything inside it is gone. You keep only one new line, outside the box, that says something about the box as a whole. This is why you can never cite a line from a closed subproof: it was only ever true "what if".

You can assume anything. Assuming isn't claiming. The real question is whether the assumption lets you close the box with a useful result. Only four rules close a box (next section), and each one fixes what the assumption must be. So choosing an assumption is really choosing which box-closing rule you will use.

Check yourself

Inside a box you assumed P and reached Q. After the box closes, can you write Q on its own?
No. You only showed Q if P. What you can write is P → Q.

4The four rules that close a box

→I: conditional proof

If supposing 𝒜 leads to ℬ, then "if 𝒜, then ℬ". That is simply what "if… then" means.

¬I: proof by contradiction

If supposing 𝒜 leads to a contradiction, 𝒜 can't be true. So ¬𝒜. The box shows that this exact assumption fails, so the result is the negation of exactly that assumption.

IP: indirect proof

The mirror image: if supposing ¬𝒜 leads to a contradiction, ¬𝒜 fails, so 𝒜. (¬I alone would only give ¬¬𝒜; IP lets you go straight to 𝒜.)

∨E: proof by cases

You know 𝒜 or ℬ, but not which. If 𝒞 follows either way, then 𝒞. "It's raining or snowing; either way I need a coat; so I need a coat."

Notice that each rule tells you exactly what to assume:

To get…useso you must assume…and reach…
𝒜 → ℬ→I𝒜ℬ
¬𝒜¬I𝒜⊥
𝒜IP¬𝒜⊥
anything, from 𝒜 ∨ ℬ∨E𝒜, then ℬ (two boxes)the same goal in both

That table is the strategy card. It isn't a list of tricks; it falls out of what each rule needs.

Check yourself

You assumed ¬A and reached ⊥. You want ¬(A → B). Can ¬I give it to you?
No. ¬I gives the negation of the assumption, so here ¬¬A. To get ¬(A → B) by ¬I, the assumption must be A → B.

5⊥ and explosion

⊥ means "contradiction": you have a sentence and its negation, both in force (¬E). It's a sentence that can never be true.

X (explosion): from ⊥, you may write any sentence at all. That sounds like cheating, but remember what a rule promises (section 1): if the lines above are true, the new line is true. ⊥ is never true, so the promise can't be broken. Whatever you write, nothing can go from true to false.

In practice, reaching ⊥ inside a box means "this situation can't happen". Anything you say about an impossible situation is safe. That's how a letter that appears nowhere in your premises can enter a proof.
Check yourself

Inside a box you have P and ¬P, and you need Q. How?
⊥ by ¬E, then Q by X.

6Why "if" behaves so oddly

In logic, 𝒜 → ℬ makes only one promise: it is never the case that 𝒜 is true and ℬ false. It is false in that one row, and true in every other.

𝒜ℬ𝒜 → ℬ
TTT
TFF
FTT
FFT

Two tricks follow directly from this table:

Check yourself

You have ¬P. Is P → Q true?
Yes. P is false, so the only "false" row (P true, Q false) can't happen.

7How to find the first assumption

  1. Find the main connective of the goal.
  2. If the main connective is →, assume the antecedent. Use rule →I.
  3. If the main connective is ¬, assume the sentence after the ¬. Use rule ¬I.
  4. If the goal is a disjunction and you have one of its parts, use rule ∨I. You do not need an assumption.
  5. If the goal is a letter, or a disjunction without a part that you have, assume its negation. Use rule IP.
  6. Examine the premises. Find what each premise needs:
    • A premise 𝒜 → ℬ needs 𝒜.
    • A premise ¬𝒜 needs 𝒜. Together, they give ⊥.
    • A premise 𝒜 ∨ ℬ needs two subproofs (rule ∨E).
  7. Make the sentence that the premise needs your new goal. Go back to step 1.
To find a strategy, ask two questions: Which rule must be the last step? What does this rule need?

8Common misunderstandings