User:IssaRice/Computability and logic/K is recursively enumerable: Difference between revisions
| Line 9: | Line 9: | ||
'''Proof.''' Let <math>\phi_0, \phi_1, \phi_2, \ldots</math> be a standard enumeration of the partial recursive functions. | '''Proof.''' Let <math>\phi_0, \phi_1, \phi_2, \ldots</math> be a standard enumeration of the partial recursive functions. | ||
We can define the diagonal partial function <math>d(x) := \phi_x(x) + 1</math>. This is a partial recursive function because both <math>\phi_x</math> and <math>x \mapsto x+1</math> are, and we can obtain <math>d</math> via substitution. Thus, <math>d = \phi_e</math> for some <math>e \in \mathbf N</math>. | We can define the diagonal partial function <math>d(x) := \phi_x(x) + 1</math>. This is a partial recursive function because both <math>\phi_x</math> and <math>x \mapsto x+1</math> are, and we can obtain <math>d</math> via substitution. Thus, <math>d = \phi_e</math> for some <math>e \in \mathbf N</math>. (Actually, is it really so simple to show <math>d</math> is partial recursive? We're not just using a fixed <math>\phi_x</math>, but rather we are allowing the partial function index to move around.) | ||
But now <math>K = \operatorname{domain} d = \operatorname{domain} \phi_e = W_e</math>. Since a set is recursively enumerable iff it is the domain of some partial recursive function, this shows that <math>K</math> is recursively enumerable. | But now <math>K = \operatorname{domain} d = \operatorname{domain} \phi_e = W_e</math>. Since a set is recursively enumerable iff it is the domain of some partial recursive function, this shows that <math>K</math> is recursively enumerable. | ||
Revision as of 20:08, 9 January 2019
Proofs
Finding a partial recursive function that enumerates K
This proof is from Enderton.[1]
Proof. 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 . (Actually, is it really so simple to show is partial recursive? We're not just using a fixed , but rather we are allowing the partial function index to move around.)
But now . Since a set is recursively enumerable iff it is the domain of some partial recursive function, this shows that is recursively enumerable.
Discussion. The definition of doesn't seem to be important. Actually, I think we can just take . 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
- ↑ Herbert Enderton. Computability Theory. p. 80