This is about proposition 7.17 (first graph principle) in Boolos, Burgess, Jeffrey's Computability and Logic.
The proof in the book defines two functions as follows:


How would one discover such functions? It seems like a first attempt would be:

Of course, the relation
is semirecursive, not recursive, and this is the problem.
If the relation were recursive, then by proposition 7.9 we would know that
is recursive. So the next question is, what is so special about the recursive relation in proposition 7.9? Can we replace it by a semirecursive relation and get a similar result?