Peano Arithmetic and the Axioms of the Natural Numbers
Build counting, addition and multiplication from a handful of axioms, prove simple facts by induction, and see what the axioms cannot settle.
Key takeaways
- The natural numbers here include 0, and every other number is reached from 0 by applying the successor operation.
- The axioms say that 0 is not a successor, that different numbers have different successors and that induction holds.
- Addition and multiplication are defined by recursion, one rule for 0 and one rule for a successor.
- Even a fact as familiar as 0 + n = n needs a proof by induction.
- First-order Peano arithmetic is incomplete and has unintended models alongside the ordinary numbers.
Peano arithmetic is a short list of axioms describing the natural numbers 0, 1, 2, 3 and so on. It starts from just two ideas, a first number called 0 and a successor operation that gives the next number, and it adds the principle of induction.
From these you can define addition and multiplication and prove an enormous amount of ordinary number theory. It is also the standard example of a system that, by Gödel's theorems, cannot settle every question about the objects it describes.
The basic axioms
Write S(n) for the successor of n, the number that comes next. Then 1 is S(0), 2 is S(S(0)) and so on.
- 0 is a natural number.
- If n is a natural number, so is S(n).
- 0 is not the successor of any number.
- If S(m) = S(n), then m = n.
- Induction: if a property holds for 0, and holds for S(n) whenever it holds for n, then it holds for every natural number.
Richard Dedekind gave an essentially equivalent analysis in 1888, and Giuseppe Peano published his axioms in 1889. Modern presentations differ in small ways, such as starting at 0 where Peano started at 1.
What each axiom prevents
Each axiom rules out a particular kind of impostor.
| Axiom dropped | A structure that would sneak in | What goes wrong |
|---|---|---|
| 0 is not a successor | A clock face with 0, 1, ..., 11 | Counting loops back to 0 |
| S is one-to-one | 0, 1, 2 with the successor of 2 equal to 2 and also of 1 equal to 2 | Two numbers share a next number |
| Induction | The usual numbers plus an extra object ∞ with S(∞) = ∞ | Something is never reached by counting |
Look at the last row. The extra object satisfies the first four axioms. But consider the property "n is different from S(n)". It holds for 0, and if it holds for n it holds for S(n) by axiom 4. Yet it fails for ∞. So induction rejects this structure.
Defining addition and multiplication
Addition is defined by recursion: say what happens when the second number is 0, then when it is a successor.
x + 0 = x
x + S(y) = S(x + y)
x · 0 = 0
x · S(y) = (x · y) + x Now 2 + 2 can be computed. Write 2 as SS0, leaving out the brackets.
SS0 + SS0 = S(SS0 + S0) (second addition rule)
= SS(SS0 + 0) (second addition rule again)
= SSSS0 (first addition rule) So 2 + 2 = 4 is a theorem, with every step justified. Multiplication works the same way, reducing to repeated addition. Ideas of this kind reappear in the mathematics of recursion.
A first proof by induction
The rules give x + 0 = x at once. They do not directly say that 0 + x = x. You need induction.
Claim: 0 + n = n for every n.
Base: 0 + 0 = 0 (first addition rule)
Step: assume 0 + n = n
0 + S(n) = S(0 + n) (second addition rule)
= S(n) (assumption)
So the claim holds for all n. A similar pair of inductions shows S(m) + n = S(m + n), and from these follows the commutative law m + n = n + m. Associativity, the distributive law and the rest of school arithmetic can be built up the same way.
If the pattern of base case and step is new to you, start with induction from the first domino.
Proving that order of addition does not matter
Here is how the commutative law falls out. First you need the companion of the claim above, that a successor on the left can be moved outside.
Claim: S(m) + n = S(m + n) (induction on n)
Base: S(m) + 0 = S(m) = S(m + 0)
Step: S(m) + S(n) = S(S(m) + n) (addition rule)
= S(S(m + n)) (assumption)
= S(m + S(n)) (addition rule) Now prove m + n = n + m by induction on n. For n = 0, both sides equal m, using x + 0 = x and 0 + x = x. For the step, m + S(n) = S(m + n) = S(n + m) = S(n) + m.
Each equality cites a rule or an earlier result. Nothing is assumed because it looks obvious.
Order and divisibility
PA's language needs no separate symbol for "less than". You can define m ≤ n to mean that there exists a k with m + k = n. Similarly, m divides n when there exists a k with m · k = n.
A number p is prime when p ≠ 0, p ≠ 1 and every number dividing p is either 1 or p. Statements such as "above every number there is a prime" then become formulas of PA, and Euclid's argument can be carried out inside it.
First order and second order
Axiom 5 speaks of "a property". There are two ways to make that precise.
In second-order form it means every subset of the numbers whatsoever. With this reading, Dedekind showed that any two structures satisfying the axioms are isomorphic: the same pattern with different names. The axioms pin down the natural numbers.
In first-order form, induction becomes a schema, an infinite family of axioms, one for each property that can be written as a formula using 0, S, +, · and logic. This theory is what logicians call Peano arithmetic, or PA.
The first-order version comes with a mechanical proof system, which the second-order version with its full meaning cannot match. The price is that there are only countably many formulas, but uncountably many sets of numbers, so most sets get no induction axiom of their own.
Unintended models
Because of this gap, PA has nonstandard models. Each begins with the familiar numbers and continues with further elements larger than all of them, arranged in endless blocks, each ordered like the integers.
Every theorem of PA is true in these structures. Induction still holds there for every formula, since no formula can pick out exactly the standard part. The existence of such models follows from the compactness theorem, explained in model theory.
How strong is PA
Strong enough that most theorems of elementary number theory can be expressed and proved in it, often after coding. Finite sets and sequences can be represented by single numbers using divisibility tricks, so PA can discuss computations and even proofs.
That ability is what makes Gödel's incompleteness theorems apply. If PA is consistent, some sentences are neither provable nor refutable in it, and it cannot prove its own consistency. Concrete examples include Goodstein's theorem.
Consistency of PA follows in set theory, where the natural numbers form a model. Gerhard Gentzen also proved it in 1936 using induction along ordinals up to ε₀. Very few mathematicians seriously doubt it.
It helps to see what happens with less. Robinson arithmetic drops the induction schema and keeps the rules for successor, addition and multiplication, with a statement that every nonzero number is a successor. It is far too weak to prove the commutative law, yet already strong enough for incompleteness.
It also helps to see what happens with fewer operations. Presburger arithmetic, which has addition and induction but no multiplication, is complete and decidable. Multiplication is the ingredient that brings in the full difficulty.
Numbers as sets
PA takes numbers as given objects obeying rules. You can instead construct objects that obey those rules inside set theory, for example by letting 0 be the empty set and S(n) be n together with the set containing n. Then 1 = {0}, 2 = {0, 1} and so on, as shown in building numbers from sets.
Other constructions work too. The axioms do not say what a number is made of, only how numbers behave, and anything behaving that way will serve.
Common questions
Is induction circular, since it uses the idea of "all numbers"?
Induction is an axiom, taken as a starting point and not proved from something else within the system. Philosophers debate how we understand it. Within the theory it is used like any other assumption.
Why not take addition tables as axioms?
Infinitely many table entries would be needed, and they would still not yield general laws. The two recursion rules generate every entry, and induction proves statements about all of them at once.
Does 1 + 1 = 2 really need a proof?
Here 2 is defined as S(S(0)) and 1 as S(0), so the proof is two lines: S(0) + S(0) = S(S(0) + 0) by the second addition rule, which equals S(S(0)) by the first. It is short, but it is still a derivation, because the symbol + means only what the axioms say it means.
Does PA include negative numbers or fractions?
Its objects are the natural numbers only. Statements about integers and rationals can be translated into it by coding each one with natural numbers, such as a fraction by a pair. Statements about arbitrary real numbers cannot all be handled this way, since there are too many reals to code.