Definition (computable set, computably enumerable set)

Let $X\subseteq \N^k$.

The characteristic function of $X$ is $$ \begin{align*} χ_X(\v n) = \begin{cases} 1, &\v n\in X, \\ 0, &\v n\not\in X. \end{cases} \end{align*} $$ $X$ is called computable if $χ_X$ is computable.

The pseudo-characteristic function of $X$ is $$ \begin{align*} ψ_X(\v n) = \begin{cases} 1, &\v n\in X, \\ \uparrow, &\v n\not\in X. \end{cases} \end{align*} $$ $X$ is called computably enumerable if $ψ_X$ is computable.

If $X$ is computable, then so is $\N^k \setminus X$.

If $X$ is computable, then $X$ is computably enumerable. (Proof)

If $X\subseteq \N$, the following are equivalent:

  1. $X$ is computably enumerable;

  2. $X$ is the domain of a partial computable function; (Proof)

  3. $X$ is the range of a partial computable function; (Proof)

  4. $X=\emptyset$ or $X$ is the range of a total computable function. (Proof)