Note:If this question is better suited for a different site, please tell me in the comments.
Summary:Is there a proof for the impossibility of the halting problem that doesn't involve calling it on itself.
The impossibility of the halting problem is demonstrated in most computer science courses in the following proof.
function does_halt(function){
if function.doesfinish{
return true
else{return false}
function paradox()
{if does_halt(paradox())
{
while(true){}
}
}
As shown above, the does_halt function is supposed to return true if the function does not enter an infinite loop, and false otherwise.
But the proof demonstrates that the function cannot give a correct answer, because the function will finish if does_halt returns false, and will never finish if does_halt returns true.
This proof however requires the use of does_halt in the tested function.This is perfectly legitimate as a proof, but doesn't say much about other cases.
Is there an established proof for the impossibility of the halting problem that doesn't call it on itself?And if not, could a halting function that worked on all functions that don't include a halting function within them theoretically be written?