r/ProgrammerHumor • u/themightydud • Oct 26 '21
GitHub Copilot, the technology that will replace programmers. Also GitHub Copilot...
27k
Upvotes
r/ProgrammerHumor • u/themightydud • Oct 26 '21
View all comments
Show parent comment
1
u/HannasAnarion Oct 27 '21
It is still not theoretically debatable, because the proof of the undecidability of the halting problem lies in the paradox established by the supposed existence of a halting detector.
If there were such a thing as a program that could predict the halting behavior of another program, you could use it to write a 2nd order function that starts looping if the detector says that it will halt, and will halt if the detector says that it will start looping. Running this program on itself then creates a paradox: when it will halt, it loops, and when it will loop, it halts. This is a paradox. Thus, a general solution to predicting computing behavior is impossible. No infinities necessary.