Goodstein's theorem

From HandWiki
Short description: Theorem about natural numbers

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[1] showed that it is unprovable in Peano arithmetic (but it can be proven in stronger systems, such as second-order arithmetic). 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.[1]

Hereditary base-n notation

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+ak1nk1++a0,

where each coefficient ai satisfies 0 ≤ ai < n, and ak ≠ 0. For example, to achieve the base 2 notation, one writes

35=32+2+1=25+21+20.

Thus the base-2 representation of 35 is 100011, which means 25 + 2 + 1. Similarly, 100 represented in base-3 is 10201:

100=81+18+1=34+232+30.

Note that the exponents themselves are not written in base-n notation. For example, the expressions above include 25 and 34, and 5 > 2, 4 > 3.

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 0 ≤ ai < n). 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 25 + 2 + 1, it is written in hereditary base-2 notation as

35=2221+1+21+1,

using the fact that 5 = 221 + 1. Similarly, 100 in hereditary base-3 notation is

100=331+1+232+1.

Goodstein sequences

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 (n + 1)-st term, G(m)(n + 1), of the Goodstein sequence of m is as follows:

  • Take the hereditary base-n + 1 representation of G(m)(n).
  • Replace each occurrence of the base-n + 1 with n + 2.
  • Subtract one. (Note that the next term depends both on the previous term and on the index n.)
  • Continue until the result is zero, at which point the sequence terminates.

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+11=31 3 Switch the 2 to a 3, then subtract 1
4 411=3 3 Switch the 3 to a 4, then subtract 1. Now there are no more 4's left
5 31=2 2 No 4's left to switch to 5's. Just subtract 1
6 21=1 1 No 5's left to switch to 6's. Just subtract 1
7 11=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) OEISA056193 starts as follows:

Base Hereditary notation Value
2 221 4
3 3311=232+23+2 26
4 242+24+1 41
5 252+25 60
6 262+261=262+6+5 83
7 272+7+4 109
11 2112+11 253
12 2122+121=2122+11 299
24 22421=242+2324+23 1151
B=324026532091 2B1 324026532102
B=32402653209 2B11=B1+(B1) 324026532101

Elements of G(4) continue to increase for a while, but at base 32402653209, they reach the maximum of 324026532101, stay there for the next 32402653209 steps, and then begin their descent.

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
222+2+1 19
333+3 7625597484990
444+3 1.3×10154
555+2 1.8×102184
666+1 2.6×1036305
777 3.8×10695974

8881=78787+786+785+784+783+782+78+7 +78787+786+785+784+783+782+78+6+ +788+2+788+1+788 +787+786+785+784 +783+782+78+7

6.0×1015151335

79797+796+795+794+793+792+79+7 +79797+796+795+794+793+792+79+6+ +799+2+799+1+799 +797+796+795+794 +793+792+79+6

5.6×1035942384

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.

Proof of Goodstein's theorem

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).[2] 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) which computes the hereditary base k representation of u and then replaces each occurrence of the base k with the first infinite ordinal number ω. For example, f(100,3)=f(331+1+232+1,3)=ωω1+1+ω22+1=ωω+1+ω22+1.

Each term P(m)(n) of the sequence P(m) is then defined as f(G(m)(n),n+1). For example, G(3)(1) = 3 = 21 + 20 and P(3)(1) = f(21 + 20,2) = ω1 + ω0 = ω + 1. 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) be G(m)(n) after applying the first, base-changing operation in generating the next element of the Goodstein sequence, but before the second minus 1 operation in this generation. Observe that G(m)(n+1)=G(m)(n)1.

Then f(G(m)(n),n+1)=f(G(m)(n),n+2). Now we apply the minus 1 operation, and f(G(m)(n),n+2)>f(G(m)(n+1),n+2), as G(m)(n)=G(m)(n+1)+1. For example, G(4)(1)=22 and G(4)(2)=232+23+2, so f(22,2)=ωω and f(232+23+2,3)=ω22+ω2+2, which is strictly smaller. Note that in order to calculate f(G(m)(n),n+1), we first need to write G(m)(n) in hereditary base n+1 notation, as for instance the expression ωω1 is not an ordinal.

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,[1] 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.

Extended Goodstein's theorem

Suppose the definition of the Goodstein sequence is changed so that instead of replacing each occurrence of the base b with b + 1 it replaces it with b + 2. Would the sequence still terminate? More generally, let b1, b2, b3, ... be any sequences of integers. Then let the (n + 1)-st term G(m)(n + 1) of the extended Goodstein sequence of m be as follows: take the hereditary base bn representation of G(m)(n) and replace each occurrence of the base bn with bn+1 and then subtract one. The claim is that this sequence still terminates. The extended proof defines P(m)(n) = f(G(m)(n), n) as follows: take the hereditary base bn representation of G(m)(n), and replace each occurrence of the base bn with the first infinite ordinal number ω. The base-changing operation of the Goodstein sequence when going from G(m)(n) to G(m)(n + 1) still does not change the value of f. For example, if bn = 4 and if bn+1 = 9, then f(3444+4,4)=3ωωω+ω=f(3999+9,9), hence the ordinal f(3444+4,4) is strictly greater than the ordinal f((3999+9)1,9).

Sequence length as a function of the starting value

The Goodstein function, 𝒢:, is defined such that 𝒢(n) is the length of the Goodstein sequence that starts with n. (This is a total function since every Goodstein sequence terminates.) The extremely high growth rate of 𝒢 can be calibrated by relating it to various standard ordinal-indexed hierarchies of functions, such as the functions Hα in the Hardy hierarchy, and the functions fα in the fast-growing hierarchy of Löb and Wainer:

  • Kirby and Paris (1982) proved that
𝒢 has approximately the same growth-rate as Hϵ0 (which is the same as that of fϵ0); more precisely, 𝒢 dominates Hα for every α<ϵ0, and Hϵ0 dominates 𝒢.
(For any two functions f,g:, f is said to dominate g if f(n)>g(n) for all sufficiently large n.)
  • Cichon (1983) showed that
𝒢(n)=HR2ω(n+1)(1)1,
where R2ω(n) is the result of putting n in hereditary base-2 notation and then replacing all 2s with ω (as was done in the proof of Goodstein's theorem).
  • Caicedo (2007) showed that if n=2m1+2m2++2mk with m1>m2>>mk, then
𝒢(n)=fR2ω(m1)(fR2ω(m2)((fR2ω(mk)(3))))2.

Some examples:

n 𝒢(n)
1 20 21 Hω(1)1 f0(3)2 2
2 21 21+11 Hω+1(1)1 f1(3)2 4
3 21+20 221 Hωω(1)1 f1(f0(3))2 6
4 22 22+11 Hωω+1(1)1 fω(3)2 3·2402653211 − 2 ≈ 6.895080803×10121210694
5 22+20 22+21 Hωω+ω(1)1 fω(f0(3))2 > A(4,4) > 10101019727
6 22+21 22+2+11 Hωω+ω+1(1)1 fω(f1(3))2 > A(6,6)
7 22+21+20 22+11 Hωω+1(1)1 fω(f1(f0(3)))2 > A(8,8)
8 22+1 22+1+11 Hωω+1+1(1)1 fω+1(3)2 > A3(3,3) = A(A(61, 61), A(61, 61))
12 22+1+22 22+1+22+11 Hωω+1+ωω+1(1)1 fω+1(fω(3))2 > fω+1(64) > Graham's number
19 222+21+20 222+221 Hωωω+ωω(1)1 fωω(f1(f0(3)))2

(For Ackermann function and Graham's number bounds see fast-growing hierarchy#Functions in fast-growing hierarchies.)

Application to computable functions

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.

See also

References

  1. 1.0 1.1 1.2 Kirby, L.; Paris, J. (1982). "Accessible Independence Results for Peano Arithmetic". Bulletin of the London Mathematical Society 14 (4): 285. doi:10.1112/blms/14.4.285. http://www.cs.tau.ac.il/~nachumd/term/Kirbyparis.pdf. 
  2. M. Rathjen, Goodstein's theorem revisited (lemma 2.2). Accessed 14 August 2022.

Bibliography