Let $W\subseteq\omega$ be an infinite c.e. set. Show that there is an infinite $X\subseteq W$ such that $X$ is computable.

Solution 1:

Take a computable surjection $f : \omega \to W$.

Define $V = \{f(x) \mid x \in \omega$ and $\forall y < x (f(y) < f(x))\}$. Clearly, $V \subseteq W$.

Then $V$ is decidable. For to decide whether $v \in V$, simply keep generating $f(x)$ for $x = 0, 1, \ldots$ until we come up with the first output $\geq v$. If this is $v$, then $v \in V$; otherwise, $v \notin V$.

And $V$ is infinite. For if $f(x) \in V$, take the smallest $y$ such that $f(y) > f(x)$; then $f(y) \in V$.