Existence of Recursively Inseparable Pair of Recursively Enumerable Sets – Logic

logic

If $A$ and $B$ are recursively enumerable sets that are said to be recursively inseparable if they are disjoint, but there is no recursive set that contains $A$ and is disjoint from $B$, show that a recursively inseparable pair of recursively enumerable set exists.

Are there any standard proofs that show this result? I've tried searching online but I haven't been able to find anything concerning the nature of recursively inseparable pairs.

Best Answer

The wikipedia article lists two. The second one is related to Godel's second incompleteness theorem.

"Let # be a standard Gödel numbering for the formulas of Peano arithmetic. Then the set A = { #(ψ) : PA ⊢ ψ} of provable formulas and the set B = { #(ψ) : PA ⊢ ¬ψ} of refutable formulas are recursively inseparable. The inseparability of the sets of provable and refutable formulas holds for many other formal theories of arithmetic (Smullyan 1958)."