Swapping All and Some
Earlier in this level we said "not all" means "some are not", and "not any" means "all are not". We checked it in small worlds. Can we now prove it?
Not any gives all-not
First, nobody is friendly, so everyone is not friendly. We show ¬∃x Fx ⊢ ∀x ¬Fx. The goal is an all, so we take any a and prove ¬Fa, by ¬I: assume Fa, reach ⊥.
| # | Line | Why |
|---|---|---|
| 1 | ¬∃x Fx | premise |
| 2 | │ Fa | assume |
| 3 | │ ∃x Fx | ∃I 2 |
| 4 | │ ⊥ | ¬E 3, 1 |
| 5 | ¬Fa | ¬I 2-4 |
| 6 | ∀x ¬Fx | ∀I 5 |
At line 6, a is not in the premise, in no open assumption, and not in ∀x ¬Fx. So a is fresh.
All-not gives not any
Now back. We show ∀x ¬Fx ⊢ ¬∃x Fx. To prove a not, assume ∃x Fx and reach ⊥. Inside, we use the some with ∃E.
| # | Line | Why |
|---|---|---|
| 1 | ∀x ¬Fx | premise |
| 2 | │ ∃x Fx | assume |
| 3 | │ │ Fa | assume |
| 4 | │ │ ¬Fa | ∀E 1 |
| 5 | │ │ ⊥ | ¬E 3, 4 |
| 6 | │ ⊥ | ∃E 2, 3-5 |
| 7 | ¬∃x Fx | ¬I 2-6 |
At line 6, a is in no earlier line, not in ∃x Fx, and not in ⊥.
QN, the shortcut
Now we may use a shortcut: quantifier negation (QN). It swaps both ways.
- ¬∀x Fx and ∃x ¬Fx
- ¬∃x Fx and ∀x ¬Fx
The other pair is proved too. Here is ¬∀x Fx ⊢ ∃x ¬Fx. It uses IP: assume the opposite of the goal, and reach ⊥.
| # | Line | Why |
|---|---|---|
| 1 | ¬∀x Fx | premise |
| 2 | │ ¬∃x ¬Fx | assume |
| 3 | │ │ ¬Fa | assume |
| 4 | │ │ ∃x ¬Fx | ∃I 3 |
| 5 | │ │ ⊥ | ¬E 4, 2 |
| 6 | │ ¬¬Fa | ¬I 3-5 |
| 7 | │ Fa | DNE 6 |
| 8 | │ ∀x Fx | ∀I 7 |
| 9 | │ ⊥ | ¬E 8, 1 |
| 10 | ∃x ¬Fx | IP 2-9 |
The last pair follows the second proof above. F may be longer: ¬∃x(Dx ∧ Bx) gives ∀x ¬(Dx ∧ Bx). QN also works inside a line, like Level 4's DeM.
Here is a short proof. Everyone who passed got a badge. Not everyone got a badge. So someone did not pass.
Domain: people in the class
Tx: x passed, Bx: x got a badge
| # | Line | Why |
|---|---|---|
| 1 | ∀x(Tx → Bx) | premise |
| 2 | ¬∀x Bx | premise |
| 3 | ∃x ¬Bx | QN 2 |
| 4 | │ ¬Ba | assume |
| 5 | │ Ta → Ba | ∀E 1 |
| 6 | │ ¬Ta | MT 5, 4 |
| 7 | │ ∃x ¬Tx | ∃I 6 |
| 8 | ∃x ¬Tx | ∃E 3, 4-7 |
Line 3 is QN on line 2. After that, take a, use the all, and leave with ∃E.
Careful
¬∀x Fx is not ∀x ¬Fx. Not everyone is friendly does not say that no one is.
Try it at home
- Say ¬∀x Fx and ∃x ¬Fx aloud. Why are they the same claim?
- Use QN to turn ¬∃x(Fx ∧ Gx) into an all.
- Copy the first proof. Hide line 5 and rebuild it from the box.
Words to know
- quantifier negation (QN) - swap ¬∀ with ∃¬ and ¬∃ with ∀¬, in both directions
- contradiction (⊥) - a claim and its not at once
- shortcut - a rule we proved, so we may use it at once
Big idea
Not all is some not, and not any is all not. Both swaps are proved from the quantifier rules, so QN is a shortcut.