|
| ▲ | daeken 2 hours ago | parent | next [-] |
| 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 an hour 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 an hour 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. | |
| ▲ | gf000 an hour 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 an hour ago | parent | prev [-] | | The input is within a known range, no? |
| |
| ▲ | gaflo 44 minutes ago | parent | prev [-] | | It can't be proven to be unprovable. If it were false, there would be a counter-example. |
|
|
| ▲ | QuesnayJr 2 hours ago | parent | prev | next [-] |
| It's definitely possible. There's a broader class of "generalized Collatz problems" that is equivalent to the halting problem. |
| |
| ▲ | mafuy an hour ago | parent [-] | | Is this true? Generalized Collatz problems are known as an obstacle to proving the halting behavior of some programs, but I've never heard that they themselves are halting problem equivalents. | | |
|
|
| ▲ | justonceokay 2 hours ago | parent | prev | next [-] |
| The halting problem is about determining if /any/ input algorithm halts. This is undecidable. However, if you take a specific algorithm (such as collatz) you can prove whether or not that halt under certain conditions without touching the halting problem. Right now even you (no offense) could probably cough up an inductive proof that fib(x) halts for any integer x. My point is only that the existence of the halting problem doesn't really help us understand the collatz conjecture, even if both problems have a similar shape |
| |
|
| ▲ | an hour ago | parent | prev | next [-] |
| [deleted] |
|
| ▲ | pixl97 2 hours ago | parent | prev [-] |
| It's always possible that we were just asking nonsensical questions, but the process of learning that should teach us something new. |