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 as follows?

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

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

Since is semirecursive, there is some recursive relation such that . And since is recursive, it has a recursive total characteristic function . Our goal, then, is to try to define in terms of . A first attempt is to define as follows:

The problem is that is only a semicharacteristic function. And it seems there is no way to get a characteristic function for 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.