Undecidability of Arithmetic
To show that in a suitable sense arithmetic is undecidable, we reduce the halting problem to arithemetic.
We will produce for each register machine P a sentence
in the language of arithmetic such that the sentence is true if and only if P halts. To do that we produce a sentence
such that if and only if
P beginning with the left-hand configuration eventually reaches the right-hand configuration.
The sentence
will say "there is a number
and a sequence
of
-tuples such that
is the
th configuration of the machine.
Instead of using a sequence of
-tuples, we'll actually just use a single sequence of length
. The conditions on the relations between the configuration tuples are easy, if a bit long, to write out—they are a lot like what we already did to reduce the halting problem to logical truth. The hard part is finding a way to talk about a sequence of numbers. ("There is an
-tuple of numbers such that ...")
The standard way of coding sequences of numbers as a single number is to use exponents on prime numbers. Unfortunately, elementary arithmetic does not include exponentiation, only addition and multiplication. Of course, we can define exponentiation, but only by using finite sequences. We thus, once, have to code finite sequences without exponentiation. Then, we can use the trick to define exponentiation and never look back.
We need a more elementary coding of finite sequences. We'll use the one everyone does, the one Gödel invented, using the so-called Gödel
function.
With the
function, we can, in effect, quantify over arbitrary finite sequences of numbers and so we can write down a formula
, where
abbreviates
that says:
-- ProfessorShaughanLavine? - 30 Mar 2005