r/AskSciTech • u/CityWorried9115 • Feb 04 '22
Does the halting problem block the possibility of perfection?
I was investigating about the possibility of human immortality. I dunno if it is a necessity, but it would be very great if we could have bugless programs or perfect cells in the far, far future. A guy on Reddit said that a program could be proven to have no bugs too.
But then someone said that because of the halting problem, it takes gazillion years and more to prove that a complicated enough program has no bugs. I thought that if we had very long time to calculate we could eventually do it, but can we? Is it proven that we cannot make a bugless system in reality? What if universe-sized computer calculates about solar-system sized system? Could it make it perfect one day? Also, can a powerful enough AI get rid of bugs inside itself?
I know humans today can't do those things, but I mean the biggest and the most powerful computer we could make calculating to the end of time. Is there a proven theorem/calculation regarding those questions, that we, in the far far future, can do those things or can't because of the halting problem?
1
u/SoInsightful Feb 05 '22
What on earth does the halting problem have to do with the existence of bugs? Or human immortality? And why would proving that a program is bugless take a gazillion years? It feels like we're just throwing around sciency buzzwords.
1
u/FingerRoot Feb 05 '22
The halting problem has to do with how an algorithm that:
cannot exist.
You can also apply this to “bugs” — but this just means that you can’t have an algorithm that accurately reports a bug when fed the following: a program that reports the opposite of the algorithm.
We could come up with an algorithm to find errors in DNA because we care about finding errors for specific inputs, not any input imaginable.