您的推理暗示RE = coRE,但这是错误的。您可以尝试找出一个证明,然后查看减少失败的地方。
{x:P halts on input x}{x:(x,w)∈L′ for some w}L′
L={x:p halts on input x}L′={(x,w):p halts on input x in w steps}L′L={x:(x,w)∈L′ for some w}
L={x:(x,w)∈L′ for some w}L′P(x,w)Q(x)wP(x,w)wP(x,w)wQL={x:Q halts on input x}
L={(P,x):P halts on input x}PxHH(P,x)(P,x)∉LGG(x)=H(x,x)(G,G)∈LGGH(G,G)(G,G)∉L(G,G)∉LGGH(G,G)(G,G)∈LH
H