Is the Kleene’s set of all computable ordinals computable? The answer is, no. It is an old result, but I think trying to prove it yourself is a good exercise to learn some basics when it comes to ordinals.
Note, in the proofs below ordering = well-ordered set.
Proof #1
Suppose is computable, then it is listable:
. Using ALL we can construct a new computable ordering:
.
is computable, therefore in the list ALL, so it has some index
:
. We can now give
as an input to
and obtain a contradiction:
and
. Therefore,
is not computable.
Proof #2
Suppose the set of all computable ordinals is computable. Then it is listable: ALL[i] = (I will conflate
with
). We can construct a new computable ordering:
def <_ALL(m,n):
(b1, x) = unpair(m)
(b2, y) = unpair(n)
if b1 == b2:
b = ALL[b1]
return b(x, y)
else:
return b1 < b2
is a computable ordering of type
.
is a computable ordering of type
.
If we could prove that , then this would prove that
is not in the list ALL. Let’s do that.
For every we can construct a new computable ordering
:
ALL' = copy(ALL)
ALL'[0], ALL'[i] = ALL[i], ALL[0]
def <_ALL'(m, n):
(b1, x) = unpair(m)
(b2, y) = unpair(n)
if b1 == b2:
b = ALL'[b1]
return b(x, y)
else:
if b1 < i and b2 == i:
return False
elif b1 == i and b2 < i:
return True
else:
return b1 < b2
For every there exists an order-preserving bijection
s.t.
:
def g(x):
(k, z) = unpair(x)
if k != 0 and k != i:
return x
else:
if k == 0:
return pair(i, z)
else:
return pair(0, z)
Therefore ordering also has the order type
. Next, let’s take the initial segment of
, namely
.
has the order type
. Because
is a proper subset of
,
. Since we can perform the same procedure for every
,
.
So a computable ordering of type is not in the list ALL. Yet,
is computable. So either:
- ALL is not a full list of computable ordinals, which means it is not computable, or
is not computable, but
unpair(x)andALL[i](x,y)are computable, which only leaves the list ALL to be not computable.
Thus, ALL is not computable and therefore the set of all computable ordinals is not computable.