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.
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.
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.
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.
I don't understand the implication that emulators are an analog of the halting problem. The halting problem is a decision problem, emulators don't make a decision, i.e. they don't attempt to determine if the program they're running will halt or loop.
Not necessarily. There are potentially three kinds of Collatz sequences: those that reach 1, those that reach a cycle that does not include 1, and those that never reach a cycle. If a cycle exists that doesn’t include 1, then that could theoretically be found and would be a counterexample. But it’s also possible that no such cycles exist, but the conjecture is still false because there are sequences that never reach a cycle. No such sequence can be verified mechanically (it’s infinite) and it may be impossible to prove that it never reaches 1.
Maybe I don't understand, but proving that the conjecture is undecidable would mean that an infinite sequence or a cycle exists. For either case, you could find a specific example. Let's disregard the possibility of a cycle because it's trivial to verify. For an infinite sequence, you would have to prove that we can't determine whether it is finite or not. Is that not paradoxical, as if it were finite, you could compute its length? So by proving that you can't compute its length, wouldn't that be equivalent to the statement that the conjecture is false? We just have not found an example for this yet (and in the case of the conjecture being true, will never find it).
I know this problem has wasted a lot of mathematician's time, so the chance that I am missing something with my line of thinking is on the high side.
Replies (2)
Without the assumption, a WINE or NES64 emulator would be a trivial counterexample to the claim.
Replies (4)
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.
Replies (2)
But even so, there are programs that take input and provably halting and those that don't take and not known whether it halts.
Replies (2)
Replies (1)
I know this problem has wasted a lot of mathematician's time, so the chance that I am missing something with my line of thinking is on the high side.