User:IssaRice/Computability and logic/K is recursively enumerable
Proofs
Finding a partial recursive function that enumerates K
This proof is from Enderton.[1]
Let be a standard enumeration of the partial recursive functions.
We can define the diagonal partial function . This is a partial recursive function because both and are, and we can obtain via substitution. Thus, for some .
But now . Since a set is recursively enumerable iff it is the domain of some partial recursive function, this shows that is recursively enumerable.
Using programs
References
- ↑ Herbert Enderton. Computability Theory. p. 80