In mathematical logic, Goodstein's theorem is a statement about the natural numbers, proved by Reuben Goodstein in 1944, which states that every Goodstein sequence (as defined below) eventually terminates at 0. Laurence Kirby and Jeff Paris showed that it is unprovable in Peano arithmetic (but it can be proven in stronger systems, such as second-order arithmetic or Zermelo-Fraenkel set theory). This was the third example of a true statement about natural numbers that is unprovable in Peano arithmetic, after the examples provided by Gödel's incompleteness theorem and Gerhard Gentzen's 1943 direct proof of the unprovability of ε0-induction in Peano arithmetic. The Paris–Harrington theorem gave another example.
Kirby and Paris introduced a graph-theoretic hydra game with behavior similar to that of Goodstein sequences: the "Hydra" (named for the mythological multi-headed Hydra of Lerna) is a rooted tree, and a move consists of cutting off one of its "heads" (a branch of the tree), to which the hydra responds by growing a finite number of new heads according to certain rules. Kirby and Paris proved that the Hydra will eventually be killed, regardless of the strategy that Hercules uses to chop off its heads, though this may take a very long time. Just like for Goodstein sequences, Kirby and Paris showed that it cannot be proven in Peano arithmetic alone.
Goodstein sequences are defined in terms of a concept called "hereditary base-n notation". This notation is very similar to usual base-n positional notation, but the usual notation does not suffice for the purposes of Goodstein's theorem.
To achieve the ordinary base-n notation, where n is a natural number greater than 1, an arbitrary natural number m is written as a sum of multiples of powers of n:
m=aknk+ak-1nk-1+ … +a0,
35=32+2+1=25+21+20.
100=81+18+1=34+2 ⋅ 32+30.
To convert a base-n notation (which is a step in achieving base-n representation) to a hereditary base-n notation, first rewrite all of the exponents as a sum of powers of n (with the limitation on the coefficients). Then rewrite any exponent inside the exponents in base-n notation (with the same limitation on the coefficients), and continue in this way until every number appearing in the expression (except the bases themselves) is written in base-n notation.
For example, while 35 in ordinary base-2 notation is, it is written in hereditary base-2 notation as
35=
| |||||||
2 |
+21+1,
100=
31+1 | |
3 |
+2 ⋅ 32+1.
The Goodstein sequence G(m) of a number m is a sequence of natural numbers. The first element in the sequence G(m) is m itself. To get the second, G(m)(2), write m in hereditary base-2 notation, change all the 2s to 3s, and then subtract 1 from the result. In general, the term,, of the Goodstein sequence of m is as follows:
Early Goodstein sequences terminate quickly. For example, G(3) terminates at the 6th step:
Base | Hereditary notation | Value | Notes | |
---|---|---|---|---|
2 | 21+1 | 3 | Write 3 in base-2 notation | |
3 | 31+1-1=31 | 3 | Switch the 2 to a 3, then subtract 1 | |
4 | 41-1=3 | 3 | Switch the 3 to a 4, then subtract 1. Now there are no more 4's left | |
5 | 3-1=2 | 2 | No 4's left to switch to 5's. Just subtract 1 | |
6 | 2-1=1 | 1 | No 5's left to switch to 6's. Just subtract 1 | |
7 | 1-1=0 | 0 | No 6's left to switch to 7's. Just subtract 1 |
Later Goodstein sequences increase for a very large number of steps. For example, G(4) starts as follows:
Base | Hereditary notation | Value | ||||
---|---|---|---|---|---|---|
2 |
| 4 | ||||
3 |
-1=2 ⋅ 32+2 ⋅ 3+2 | 26 | ||||
4 | 2 ⋅ 42+2 ⋅ 4+1 | 41 | ||||
5 | 2 ⋅ 52+2 ⋅ 5 | 60 | ||||
6 | 2 ⋅ 62+2 ⋅ 6-1=2 ⋅ 62+6+5 | 83 | ||||
7 | 2 ⋅ 72+7+4 | 109 | ||||
\vdots | \vdots | \vdots | ||||
11 | 2 ⋅ 112+11 | 253 | ||||
12 | 2 ⋅ 122+12-1=2 ⋅ 122+11 | 299 | ||||
\vdots | \vdots | \vdots | ||||
24 | 2 ⋅ 242-1=242+23 ⋅ 24+23 | 1151 | ||||
\vdots | \vdots | \vdots | ||||
B=3 ⋅ 2402653209-1 | 2 ⋅ B1 | 3 ⋅ 2402653210-2 | ||||
B=3 ⋅ 2402653209 | 2 ⋅ B1-1=B1+(B-1) | 3 ⋅ 2402653210-1 | ||||
\vdots | \vdots | \vdots |
Elements of G(4) continue to increase for a while, but at base
3 ⋅ 2402653209
3 ⋅ 2402653210-1
3 ⋅ 2402653209
However, even G(4) doesn't give a good idea of just how quickly the elements of a Goodstein sequence can increase.G(19) increases much more rapidly and starts as follows:
Hereditary notation | Value | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+2+1 | 19 | ||||||||||||
+3 | |||||||||||||
+3 | ≈ 1.3 x 10154 | ||||||||||||
+2 | ≈ 1.8 x 102184 | ||||||||||||
+1 | ≈ 2.6 x 1036305 | ||||||||||||
| ≈ 3.8 x 10695974 | ||||||||||||
-1=7 ⋅
{}+7 ⋅
+ … {}+7 ⋅ 88+2+7 ⋅ 88+1+7 ⋅ 88 {}+7 ⋅ 87+7 ⋅ 86+7 ⋅ 85+7 ⋅ 84 {}+7 ⋅ 83+7 ⋅ 82+7 ⋅ 8+7 | ≈ 6.0 x 1015151335 | ||||||||||||
7 ⋅
{}+7 ⋅
+ … {}+7 ⋅ 99+2+7 ⋅ 99+1+7 ⋅ 99 {}+7 ⋅ 97+7 ⋅ 96+7 ⋅ 95+7 ⋅ 94 {}+7 ⋅ 93+7 ⋅ 92+7 ⋅ 9+6 | ≈ 5.6 x 1035942384 | ||||||||||||
\vdots | \vdots |
In spite of this rapid growth, Goodstein's theorem states that every Goodstein sequence eventually terminates at 0, no matter what the starting value is.
Goodstein's theorem can be proved (using techniques outside Peano arithmetic, see below) as follows: Given a Goodstein sequence G(m), we construct a parallel sequence P(m) of ordinal numbers in Cantor normal form which is strictly decreasing and terminates. A common misunderstanding of this proof is to believe that G(m) goes to 0 because it is dominated by P(m). Actually, the fact that P(m) dominates G(m) plays no role at all. The important point is: G(m)(k) exists if and only if P(m)(k) exists (parallelism), and comparison between two members of G(m) is preserved when comparing corresponding entries of P(m). Then if P(m) terminates, so does G(m). By infinite regress, G(m) must reach 0, which guarantees termination.
We define a function
f=f(u,k)
31+1 | |
f(100,3)=f(3 |
+2 ⋅ 32+1,3)=\omega
\omega1+1 | |
+\omega2 ⋅ 2+1=\omega\omega+1+\omega2 ⋅ 2+1
Each term P(m)(n) of the sequence P(m) is then defined as f(G(m)(n),n+1). For example, and . Addition, multiplication and exponentiation of ordinal numbers are well defined.
We claim that
f(G(m)(n),n+1)>f(G(m)(n+1),n+2)
Let
G'(m)(n)
G(m)(n+1)=G'(m)(n)-1
Then
f(G(m)(n),n+1)=f(G'(m)(n),n+2)
f(G'(m)(n),n+2)>f(G(m)(n+1),n+2)
G'(m)(n)=G(m)(n+1)+1
G(4)(1)=22
G(4)(2)=2 ⋅ 32+2 ⋅ 3+2
f(22,2)=\omega\omega
f(2 ⋅ 32+2 ⋅ 3+2,3)= \omega2 ⋅ 2+\omega ⋅ 2+2
\omega\omega-1
Thus the sequence P(m) is strictly decreasing. As the standard order < on ordinals is well-founded, an infinite strictly decreasing sequence cannot exist, or equivalently, every strictly decreasing sequence of ordinals terminates (and cannot be infinite). But P(m)(n) is calculated directly from G(m)(n). Hence the sequence G(m) must terminate as well, meaning that it must reach 0.
While this proof of Goodstein's theorem is fairly easy, the Kirby–Paris theorem, which shows that Goodstein's theorem is not a theorem of Peano arithmetic, is technical and considerably more difficult. It makes use of countable nonstandard models of Peano arithmetic.
The above proof still works if the definition of the Goodstein sequence is changed so that the base-changing operation replaces each occurrence of the base b with instead of .More generally, let b1, b2, b3, ... be any non-decreasing sequence of integers with .Then let the term of the extended Goodstein sequence of m be asfollows:
An simple modification of the above proof shows that this sequence still terminates. For example, if and if,then
f(3 ⋅
44 | |
4 |
+4,4)=3
\omega\omega | |
\omega |
+\omega=f(3 ⋅
99 | |
9 |
+9,9)
f(3 ⋅
44 | |
4 |
+ 4,4)
f((3
99 | |
⋅ 9 |
+9)-1,9).
The extended version is in fact the one considered in Goodstein's original paper, where Goodstein proved that it is equivalent to the restricted ordinal theorem (i.e. the claim that transfinite induction below ε0 is valid), and gave a finitist proof for the case where
m\le
| |||||||
b | |||||||
1 |
\omega\omega | |
\omega |
The extended Goodstein's theorem without any restriction on the sequence bn is not formalizable in Peano arithmetic (PA), since such an arbitrary infinite sequence cannot be represented in PA. This seems to be what kept Goodstein from claiming back in 1944 that the extended Goodstein's theorem is unprovable in PA due to Gödel's second incompleteness theorem and Gentzen's proof of the consistency of PA using ε0-induction. However, inspection of Gentzen's proof shows that it only needs the fact that there is no primitive recursive strictly decreasing infinite sequence of ordinals, so limiting bn to primitive recursive sequences would have allowed Goodstein to prove an unprovability result. Furthermore, with the relatively elementary technique of the Grzegorczyk hierarchy, it can be shown that every primitive recursive strictly decreasing infinite sequence of ordinalscan be "slowed down" so that it can be transformed to a Goodstein sequence where, thus giving an alternative proof to the same result Kirby and Paris proved.
The Goodstein function,
l{G}:N\toN
l{G}(n)
l{G}
H\alpha
f\alpha
l{G}
H | |
\epsilon0 |
f | |
\epsilon0 |
l{G}
H\alpha
\alpha<\epsilon0
H | |
\epsilon0 |
l{G}.
(For any two functions
f,g:N\toN
f
g
f(n)>g(n)
n
l{G}(n)=
H | |||||||
|
(1)-1,
where
\omega(n) | |
R | |
2 |
n=
m1 | |
2 |
+
m2 | |
2 |
+ … +
mk | |
2 |
m1>m2> … >mk,
l{G}(n)=
f | |||||||
|
(f | |||||||
|
( … (f | |||||||
|
(3)) … ))-2
Some examples:
n | l{G}(n) | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 20 | 2-1 | H\omega(1)-1 | f0(3)-2 | 2 | ||||||||||||||||||||||
2 | 21 | 21+1-1 | H\omega(1)-1 | f1(3)-2 | 4 | ||||||||||||||||||||||
3 | 21+20 | 22-1 |
(1)-1 | f1(f0(3))-2 | 6 | ||||||||||||||||||||||
4 | 22 | 22+1-1 |
(1)-1 | f\omega(3)-2 | 3·2402653211 − 2 ≈ 6.895080803×10121210694 | ||||||||||||||||||||||
5 | 22+20 | 22+2-1 |
(1)-1 | f\omega(f0(3))-2 | > A(4,4) > 10101019727 | ||||||||||||||||||||||
6 | 22+21 | 22+2+1-1 |
(1)-1 | f\omega(f1(3))-2 | > A(6,6) | ||||||||||||||||||||||
7 | 22+21+20 | 22-1 |
(1)-1 | f\omega(f1(f0(3)))-2 | > A(8,8) | ||||||||||||||||||||||
8 | 22 | 22+1-1 |
(1)-1 | f\omega(3)-2 | > A3(3,3) = A(A(61, 61), A(61, 61)) | ||||||||||||||||||||||
\vdots | |||||||||||||||||||||||||||
12 | 22+22 | 22+22+1-1 |
(1)-1 | f\omega(f\omega(3))-2 | > fω+1(64) > Graham's number | ||||||||||||||||||||||
\vdots | |||||||||||||||||||||||||||
19 |
+21+20 |
+22-1 |
(1)-1 |
(f1(f0(3)))-2 | |||||||||||||||||||||||
Goodstein's theorem can be used to construct a total computable function that Peano arithmetic cannot prove to be total. The Goodstein sequence of a number can be effectively enumerated by a Turing machine; thus the function which maps n to the number of steps required for the Goodstein sequence of n to terminate is computable by a particular Turing machine. This machine merely enumerates the Goodstein sequence of n and, when the sequence reaches 0, returns the length of the sequence. Because every Goodstein sequence eventually terminates, this function is total. But because Peano arithmetic does not prove that every Goodstein sequence terminates, Peano arithmetic does not prove that this Turing machine computes a total function.