| ▲ | ex-aws-dude 3 hours ago |
| Is it possible for Collatz to be end up being undecidable since its kinda similar to asking if the algorithm always terminates? |
|
| ▲ | daeken 3 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 3 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 3 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 an hour ago | parent | next [-] | | 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. | |
| ▲ | pluralmonad an hour ago | parent | prev [-] | | I read it as arbitrary input. So basically an incomplete program with part of itself externalized as user input. |
| |
| ▲ | gf000 3 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 3 hours ago | parent | prev [-] | | The input is within a known range, no? |
| |
| ▲ | gaflo 2 hours ago | parent | prev [-] | | It can't be proven to be unprovable. If it were false, there would be a counter-example. |
|
|
| ▲ | QuesnayJr 3 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 3 hours 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 3 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 |
| |
|
| ▲ | pixl97 3 hours ago | parent | prev | next [-] |
| It's always possible that we were just asking nonsensical questions, but the process of learning that should teach us something new. |
|
| ▲ | 2 hours ago | parent | prev [-] |
| [deleted] |