Remix.run Logo
▲ aabajian 2 hours ago

I would really like a proof of the Collatz conjecture. To me, it's the absolute easiest problem to understand (even easier that Fermat's Last Theorem), but just mind-numbingly hard.

▲kaffekaka 2 hours ago | parent | next [-]

Goldbach is as easy to understand I think.

▲Jtariiiii 11 minutes ago | parent [-]

Goldbach requires understanding what a prime number is.

▲ex-aws-dude 2 hours ago | parent | prev | next [-]

Is it possible for Collatz to be end up being undecidable since its kinda similar to asking if the algorithm always terminates?

▲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.

▲layer8 an hour ago | parent | next [-]

See https://en.wikipedia.org/wiki/Collatz_conjecture#Undecidable....

I believe the claim results from Conways paper in conjunction with https://en.wikipedia.org/wiki/Counter_machine#Two-counter_ma....

▲PhilipRoman an hour ago | parent | prev | next [-]

There is an encoding of: Turing machine -> Minsky machine -> generalized Collatz function https://wiki.bbchallenge.org/wiki/Generalized_Collatz_Functi...

▲soVeryTired an hour ago | parent | prev [-]

Yeah, it's a result of John Conway's [0]

[0] https://en.wikipedia.org/wiki/Collatz_conjecture#Undecidable...

▲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

▲ 2 hours ago | parent [-]
[deleted]
▲ 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.

▲whoishiding 2 hours ago | parent | prev | next [-]

I'd replace 'hard' with 'out of reach'

▲imeanwhatdoikno 2 hours ago | parent [-]

The same Scott Aaronson was a guest on Polylog and tasked with arranging various unsolved problems in the order he thought they were going to be solved. Collatz ended up being after "Core complexity questions settled" but before "Quantum Gravity"

https://www.youtube.com/watch?v=0xa_JFSUEDg

▲kasperni an hour ago | parent | prev [-]

It is only Wednesday, a lot can happen before the week is over.