User:IssaRice/Computability and logic/Characteristic function of a semirecursive set

From Machinelearning

By definition, the characteristic function of a recursive set is recursive (and total). However, semirecursive sets are defined in terms of recursive relations without using the characteristic function terminology. This raises the question of how to phrase semirecursive relations in terms of characteristic functions.

What if we try to define a characteristic function for a semirecursive relation S as follows?

χS(x,y)={1S(x,y)0¬S(x,y)

Actually we should distinguish between different levels of badness of χS, and ask separately if it is well-defined, total, and recursive.

First, given any x and y, exactly one of S(x,y) or ¬S(x,y) holds. So it seems χS is well-defined. Also in each case, we assign some number to χS(x,y), so it is total.

Since S is semirecursive, there is some recursive relation R such that S(x,y)t(R(x,y,t)). And since R is recursive, it has a recursive total characteristic function χR. Our goal, then, is to try to define χS in terms of χR. A first attempt is to define g as follows:

g(x,y)=μt[χ¬R(x,y,t)=0](x,y)=Mn[χ¬R](x,y)

The problem is that g is only a semicharacteristic function. And it seems there is no way to get a characteristic function for S using the processes for defining recursive functions. (Can we prove this? We shouldn't be able to prove it in general, because recursive sets are semirecursive!)

Semicharacteristic function

  • see exercise 8.3 in Boolos, Burgess, Jeffrey.