User:IssaRice/Computability and logic/K is recursively enumerable

From Machinelearning
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

K:={x:xWx}

Proofs

Finding a partial recursive function that enumerates K

This proof is from Enderton.[1]

Proof. Let ϕ0,ϕ1,ϕ2, be a standard enumeration of the partial recursive functions.

We can define the diagonal partial function d(x):=ϕx(x)+1. This is a partial recursive function because both ϕx and xx+1 are, and we can obtain d via substitution. Thus, d=ϕe for some eN. (Actually, is it really so simple to show d is partial recursive? We're not just using a fixed ϕx, but rather we are allowing the partial function index to move around. To be more rigorous, I think we need to say that ϕx(x)=Φ(x,x), where Φ is the two-place universal function. Since the universal function is partial recursive, we can be sure that we can use the expression "ϕx(x)" and move the index around. Even more formally, we can say d=compose(Φ;id11,id11).)

But now K=domaind=domainϕe=We. Since a set is recursively enumerable iff it is the domain of some partial recursive function, this shows that K is recursively enumerable.

Discussion. The definition of d doesn't seem to be important. Actually, I think we can just take d(x)=ϕx(x). But it seems Enderton did the plus one to make a further point (namely, that it looks like we might be diagonalizing out of this class of functions, but luckily we're not, thanks to our objects only being partial functions).

Using programs

Peter Smith. An Introduction to Gödel's Theorems. p. 24.

References

  1. Herbert Enderton. Computability Theory. p. 80