def HC(P,w):
def Q():
P(w)
return
return NIHC(Q)
Note that HC is a haltchecker! There are two cases
to consider: either P(w) halts or it does not.
def HC(P,w):
def Q(x):
P(w)
return
return AIHC(Q)
Note that HC is a haltchecker! There are two cases
to consider: either P(w) halts or it does not.
def HC(P,w):
def Q1(x):
P(w)
return 42
def Q2(x):
return 42
return EQ(Q1,Q2)
Note that HC is a haltchecker! There are two cases
to consider: either P(w) halts or it does not.