All and Some in Maths
Every number has a bigger number. Is there a biggest number? These two claims sound alike, but they differ only in the order of two quantifiers. Maths uses that order all the time. Where?
Order, with numbers
Domain: whole numbers 0, 1, 2, ...
y > x: y is bigger than x, y + y: y added to itself
The domain is the natural numbers. Both y > x and y + y are given: we do not define them. Now two claims.
∀x∃y y > x: for every x there is a y bigger than x. True. Take y = x + 1.
∃y∀x y > x: there is a y bigger than every x. False. The x may be y itself, and y > y is false. There is no biggest number.
Even, in symbols
"n is even" says n is two equal halves added: ∃y n = y + y. For 6, the witness is 3. For 0 it is 0.
Take any, call it
A maths proof uses our two fresh-name rules without saying so. "Take any number n" is all-in (∀I): we know nothing special about n. "Call it k" is some-out (∃E): k is a number we know only has the property.
We sketch: the sum of two even numbers is even. The steps are in words, with the rule beside each.
| Step | Rule |
|---|---|
| Take any m and n. Suppose both are even. | assume (a box) |
| m is even: some y has m = y + y. Call it k. | ∃E, box opens |
| n is even: call it j, so n = j + j. | ∃E, box opens |
| Then m + n = (k + j) + (k + j). | arithmetic |
| So some y has m + n = y + y: y is k + j. | ∃I |
| That does not mention k or j. Both ∃E boxes close. | ∃E |
| If both are even, the sum is even. | →I |
| m and n were any numbers, so it holds for all. | ∀I |
Careful
∃y∀x y > x is not the same as ∀x∃y y > x. The first needs one y that works for every x.
Try it at home
- Swap the quantifiers in "everyone has a mother" and say what the new claim means.
- Write "n is a multiple of 3" using ∃y, = and +.
- Read a short maths proof and mark each "take any" and "call it".
Words to know
- take any n - all-in: n is a fresh name
- call it k - some-out: k is a fresh name for one witness
- ∃y n = y + y - n is even
Big idea
∀x∃y and ∃y∀x differ: every number has a bigger one, but no number is bigger than all. In maths, take any is ∀I and call it is ∃E.