| ▲ | daeken 2 hours ago |
| No one has ever proven it to be unprovable, but I've often wondered the same thing. That said, "asking if an algorithm always terminates" is something we do all the time, and that's not unprovable; the halting problem refers to a system able to decide if any arbitrary algorithm terminates. You can "solve the halting problem" on individual cases, but can't do it for everything. |
|
| ▲ | mafuy 2 hours ago | parent | next [-] |
| To add a technical detail: This is true, iff you assume that a program (I prefer that term over algorithm) is static, i.e. does not receive any input. This is commonly assumed, which I think is why parent did not mention it. Without the assumption, a WINE or NES64 emulator would be a trivial counterexample to the claim. |
| |
| ▲ | _flux 2 hours ago | parent | next [-] | | What is this distinction? If you have a program that takes input, you can replace it with a static program that has an array that enumerates the input. Or do you mean the case that the input is infinitely long? I'm not sure how to analyze the termination of such programs when paired with such input in the first place. | | |
| ▲ | ngruhn 11 minutes ago | parent [-] | | I think the point is that the input is not fixed. The proof would have to be over all inputs that the programs accept. E.g. you can have the "concrete" program that simulates a Turing machine. Proving that it halts over all inputs (all Turing machines), means you're back to the halting problem. |
| |
| ▲ | gf000 2 hours ago | parent | prev | next [-] | | Well, the simpler counterexample would be simply the Universal Turing machine taking another Turing machine as input. But even so, there are programs that take input and provably halting and those that don't take and not known whether it halts. | |
| ▲ | stemchar 2 hours ago | parent | prev [-] | | The input is within a known range, no? |
|
|
| ▲ | gaflo an hour ago | parent | prev [-] |
| It can't be proven to be unprovable. If it were false, there would be a counter-example. |