Why is the collection of effectively enumerable sets effectively enumerable? The proof I've seen (Peter Smith, Intro to Godel's Theorems) uses a function $F$ that first enumerates the possible programs (algorithms); let $f$ denote this latter computable function. So far so good. Say $f(n) = \Pi_n$ (the nth algorithm). But that is not yet the output desired - the domain of $\Pi_n$ is the desired output of our enumerating function. If you say, just run the algorthim $\Pi_n$ to get its domain $W_n$ - that is a problem since our as our function $F$ is to produce output $W_n$ in its totality in a finite number of steps (since $F$ is to be a computable function that with input n produces output $W_n$). But if $W_n$ is infinite, the usual way to produce $W_n$ from $\Pi_n$ requires an infinite number of steps generally (using the diagonals in $\mathbb N\times \mathbb N$ for computing, given $(i,j)$, $\Pi(i)$ for $j$ steps). How do we produce $W_n$ from $\Pi_n$ in a finite number of steps as required if $F$ is to be an effective listing of the effectively enumerable sets $W_1,W_2, \cdots$?
Thank you.