News for hackers. Stuff that matters.
Re:Computation as a Universal and Fundamental Concept by Maxatar on Friday July 10, 2026 @01:17PM (#48862667)
>Recently it's been shown that there are real, physical processes which are undecidable

I want to push back a bit on this claim along two dimensions.

Imagine a physical Turing machine built out of atoms, gears, levers, and an electron parked on the read/write head and ask whether that electron ever crosses some fixed plane in space, which it does only when the machine enters its halt configuration. That's now a purely physical question about a trajectory (does this electron ever reach a certain target), yet answering it for the whole family of such machines is literally the halting problem, so there's a physical process that's undecidable.

Your examples about physical processes being undecidable are all basically just this... there examples of using reflections of light, or the flow of liquid, etc... and demonstrating that these physical processes in principle are sufficient to model a universal Turing machine.

And while it's fascinating that certain things you may not have expected can be used to model computation, it's misleading, or rather it's too strong of a claim to believe that there exist actual/real physical processes whose outcomes are undecidable. That's a subtle but very common misinterpretation of what undecidability is.

Undecidability, whether in physics or computer science, only applies to the infinitely broad class of a problem as a whole, it never applies to a specific instance of a problem. So it can never be the case that there's a certain configuration of reflections for which it's undecidable whether a ray of light reaches a target. Nor can it be the case that for a specific lattice of atoms, it's undecidable whether it has a spectral gap or not. It can only be the case that for the problem as a whole where the parameter space is entirely unbounded, there is no single algorithm that can decide if a ray of light reaches a specific target for all possible arbitrary (and infinitely many) configurations. Once you fix a specific system, then the undecidability goes away.

Not claiming that you are necessarily making this misconception, but I often see people misinterpret undecidability to mean that there exists a specific problem, like with specific inputs, where it's somehow impossible to know what the answer will be. Undecidability always requires an infinite family of instances, and it's a statement about the nonexistence of a single algorithm that correctly answers every instance in that family. It says nothing about any particular instance being unknowable/undecidable.

Re:Computation as a Universal and Fundamental Concept by joelshep on Friday July 10, 2026 @02:46PM (#48863667)
I may be misremembering Godel's proof or misunderstanding your last paragraph, but I thought Godel's proof actually presented a specific undecidable statement. The hope then was that somehow undecidable statements could be cordoned off from decidable statements, and Turing's result showed that that wasn't possible. Perhaps that's what you mean by "the nonexistence of a single algorithm that correctly answers every instance in that family"?
Re:Computation as a Universal and Fundamental Concept by GoblinSlayer on Friday July 10, 2026 @06:37PM (#48866198)
It's a gap between physics and mathematics. Undecidable statements exist mathematically, but don't exist physically: mathematics and physics have different concepts of existence. Ironically, even mathematical universe hypothesis deliberately limits mathematics-as-physics to specifically resemble physics of a spontaneous material world, and this limitation is just an axiom.
Re:Computation as a Universal and Fundamental Concept by justinpombrio on Friday July 10, 2026 @08:41PM (#48867238)
There's no such thing as an undecidable statement. A single statement can't be undecidable. Undecidability is a property of a class of statements.

For example, you can ask whether a Java program, run with infinite memory, will eventually halt. For any particular Java program, there's obviously an algorithm that says whether it halts or not. The algorithm is a single statement, which says either "yes" or "no". Might be hard to figure out which is the correct algorithm, but the Java program is fixed so the algorithm is definitely one of the two.

However, there is no algorithm which can take an arbitrary Java program as input and determine whether it will halt. It's about the class of all possible programs.

Re:Computation as a Universal and Fundamental Concept by scapp on Saturday July 11, 2026 @12:58AM (#48868898)
That's a different meaning of the word "undecidable". You're talking about undecidable problems [1]. The meaning in Gödel's incompleteness theorem is different and is a synonym with independent [2].

[1] https://en.wikipedia.org/wiki/Undecidable_problem

[2] https://en.wikipedia.org/wiki/Independence_(mathematical_log...

Re:Computation as a Universal and Fundamental Concept by masfuerte on Saturday July 11, 2026 @07:56AM (#48871249)
> For any particular Java program, there's obviously an algorithm that says whether it halts or not. The algorithm is a single statement, which says either "yes" or "no".

This isn't true.

In general, if a program hasn't halted yet you don't know if it will.

In particular, consider the Collatz conjecture. You can't even tell if your Java implementation of it will halt for a particular input, until it does.

https://en.wikipedia.org/wiki/Collatz_conjecture

Re:Computation as a Universal and Fundamental Concept by Twey on Saturday July 11, 2026 @09:39AM (#48871969)
And yet there is a correct algorithm — it's either the const yes algorithm or the const no algorithm.

We don't _know_ which algorithm it is, but that's not relevant to the definition of undecidability, which only requires that the algorithm exist.

Re:Computation as a Universal and Fundamental Concept by masfuerte on Saturday July 11, 2026 @09:45AM (#48872016)
Cheers, I had missed the nuance.
Re:Computation as a Universal and Fundamental Concept by Twey on Monday July 13, 2026 @04:55AM (#48889718)
In constructive mathematics I think you'd be right: to call a problem decidable would require you to produce the algorithm that decides it, so you couldn't call the Collatz conjecture decidable (nor could you call it undecidable!). But the usual definition of decidability is classical.

This is slightly bizarre now I think about it: the definition of decidability allows the algorithm selection to be undecidable!

Re:Computation as a Universal and Fundamental Concept by sgt101 on Friday July 10, 2026 @01:43PM (#48862962)
I may have been making this claim, I need to think about this for a while and re read what you have written.

This is very helpful though, thank you.

Re:Computation as a Universal and Fundamental Concept by eth0up on Friday July 10, 2026 @01:23PM (#48862714)
If I am wrong, please pardon. I suspect I am. But was this comment edited by Claude? I ask specifically because it is well written, substantive, all which is expected here, but the "push back" part, to me, must be a) an artifact of Claude, either by osmotic assimilation (Which is happening to many innocent users) or b) Claude itself.

Feel free to flag this comment if I get an answer. I do want to know.

Re:Computation as a Universal and Fundamental Concept by Maxatar on Friday July 10, 2026 @01:27PM (#48862754)
No Claude was not involved in any way in me writing it, and honestly it's kind of getting depressing how many comments are constantly questioning peoples use of LLMs.
Re:Computation as a Universal and Fundamental Concept by helterskelter on Friday July 10, 2026 @01:39PM (#48862901)
Just a heads up, "I want to push back on" is an idiom Claude frequently uses.

It is depressing though, writing feels like it's in part becoming a game of outpacing the latest LLM's idiosyncrasies so we can signal authenticity, which perversely, is achieved through using an LLM enough so that you can become familiar with its flavor of communication.

Re:Computation as a Universal and Fundamental Concept by jojogeo on Friday July 10, 2026 @01:48PM (#48863028)
This is what makes me sad about the AI age; many articles now have the same phrasing, the same analogies, the same quips, structure, the same wording; once you start to see it there's no going back.

I actually laughed quite a lot to begin with, GPT models saying things like "...might look like P, but is NP wearing a hat and a lab coat..." and "...is a haunted house disguised as a git repository..."; but alas when you've heard them a million times everywhere it really starts to bite.

Re:Computation as a Universal and Fundamental Concept by eth0up on Friday July 10, 2026 @01:37PM (#48862869)
Yeah, that's why I invited the flag. But do not overlook how fucking depressing the endless LLM generated comments actually are too.

My apologies, and I do appreciate your reply.

Re:Computation as a Universal and Fundamental Concept by dbtc on Friday July 10, 2026 @05:14PM (#48865374)
The other day, while reading, my AI-dar triggered on some typical claudisms, but then I remembered I was reading from a paper book that was printed in 1997...
Re:Computation as a Universal and Fundamental Concept by eth0up on Friday July 10, 2026 @07:32PM (#48866715)
Unsettling. I hereby commit to self doubt on this matter exclusively. I will leave this fight to others.

What was the book in 1997? That's about the time of my first UAP sighting.

Re:Computation as a Universal and Fundamental Concept by jesuslop on Friday July 10, 2026 @08:59PM (#48867410)
I think Gödel undecidable sentence is always relative to a formal system (the title of the paper spoke about systems in the expressive power rank of Russell's Principia, of which he gives one particular example assuming it shows how his methods apply to the whole family of systems), but now Hilbert problem #6 still stands for the lack of a comprehensive axiomatization of Physics, as its modern heir the mass-gap millennium problem, that still also lingers, so we don't have a controllable notion of naked/absolute undecidability for physical phenomena or for arbitrary assertions unbound by explicit logic rules in general.
Re:Computation as a Universal and Fundamental Concept by peter_m1 on Saturday July 11, 2026 @09:02AM (#48871696)
Also, correct me if I'm wrong, the mass gap problem involves quantum physics, not classical, so the underlying math/logic is different.
Re:Computation as a Universal and Fundamental Concept by jesuslop on Saturday July 11, 2026 @02:21PM (#48874354)
mmh I'd don't say that much, I think the logic and math foundations is common in both classic and quantum theories, only content changing, so you would say "import mathlib" from both classic-phys.lean and quant-phys.lean if writing Lean proof assistant code (I am guessing the "import" command). Concepts from linear algebra as eigendecomposition, to say something, will be used in both applications.
Re:Computation as a Universal and Fundamental Concept by wasabi991011 on Friday July 10, 2026 @11:45PM (#48868526)
Agreed, and I'll add: the universe is sufficiently messy and complex that some of the claimed undecidability results may never occur in practice.

For your Turing machine example: even if we built such a machine, it would never truly be giving an answer to the halting problem, because any stray cosmic particle could excite the electron and cause it to cross whatever plane.

For a more realistic example: the ground state of an molecule is a physically relevant quantity, and in theory any molecule alone should lose energy and attain it's ground state, even if finding the ground state electronic configuration is undecidable. But in reality, no molecule is ever truly isolated and so would never actually be guaranteed to enter it's ground state (or if it were truly isolated, it would not be observed at all rendering the question moot)

Re:Computation as a Universal and Fundamental Concept by peter_m1 on Saturday July 11, 2026 @08:57AM (#48871662)
A quantum Turing machine would be needed to simulate a truly quantum process. Stochasticity exists in classical systems, but that's an entirely different type of randomness.
Re:Computation as a Universal and Fundamental Concept by pocksuppet on Saturday July 11, 2026 @11:34AM (#48872928)
Quantum computers can be simulated on classical computers, but it takes exponential time (completely impractical).
Re:Computation as a Universal and Fundamental Concept by Twey on Saturday July 11, 2026 @09:36AM (#48871948)
Quantum computation is not super-Turing: anything you could solve with a quantum Turing machine you could also solve with a classical Turing machine, albeit sometimes a lot slower. We know how to emulate quantum systems in classical systems.
Re:Computation as a Universal and Fundamental Concept by SideQuark on Saturday July 11, 2026 @04:46AM (#48870115)
> … so there's a physical process that's undecidable.

No, since you cannot physically build a Turing Machine. A Turing machine requires infinite tape. Any physically realizable machine doesn’t have that, so has finite states, so is decidable: enumerate the states in finite time - it halts or repeats, so all programs on a finite state machine are decidable.

Your example is not an undecudable physical process.

Godel things also don’t apply: Godel theorems are about proof of this or that from within the same system. In logic one can prove such things from an outside system, then construct towers, avoiding Godel theorems. Godel theorems also require a model of integers including multiplication (without multiplication, such systems were proven complete and decidable). However the universe does not contain a model of integers, as the physical universe is not unbounded: relativity places a finite limit in spacetime on what can interact.

Mixing math as reality fails at these requirements.

Re:Computation as a Universal and Fundamental Concept by RandomLensman on Saturday July 11, 2026 @06:50AM (#48870802)
How to build a Turing machine to tell which one of ten atoms of a radioactive element decays next?
Re:Computation as a Universal and Fundamental Concept by peter_m1 on Saturday July 11, 2026 @08:55AM (#48871651)
That would be a quantum Turing Machine as radioactivity is a quantum process.
Re:Computation as a Universal and Fundamental Concept by RandomLensman on Saturday July 11, 2026 @08:57AM (#48871663)
How would that work as current understanding from quantum theory is that we cannot predict which atom decays next? Is there a quantum algorithm that can do that?
Re:Computation as a Universal and Fundamental Concept by GoblinSlayer on Sunday July 12, 2026 @07:39AM (#48880334)
The decay process is calculated as

sqrt(1-exp(-t/T))|1> + sqrt(exp(-t/T))|0>

Re:Computation as a Universal and Fundamental Concept by RandomLensman on Sunday July 12, 2026 @08:14AM (#48880546)
How do you use that to predict which atom decays next?
Re:Computation as a Universal and Fundamental Concept by GoblinSlayer on Monday July 13, 2026 @11:26AM (#48894162)
The decayed state exists, it's the second term sqrt(exp(-t/T))|0>
Re:Computation as a Universal and Fundamental Concept by RandomLensman on Tuesday July 14, 2026 @04:25AM (#48903725)
How do you predict which atom decays next from there?
Re:Computation as a Universal and Fundamental Concept by GoblinSlayer on Tuesday July 14, 2026 @10:31AM (#48907523)
Since the decayed state exists, then any. Your question tries to assume sqrt(exp(-t/T))=0, which is false.
Re:Computation as a Universal and Fundamental Concept by RandomLensman on Wednesday July 15, 2026 @02:27AM (#48916973)
My point was that we cannot predict which atom decays next.

If you want to claim that we could predict which specific atom decays next, I'd really like to see a lot more explaintion and exposition as it would upend current understanding.

Re:Computation as a Universal and Fundamental Concept by GoblinSlayer on Wednesday July 15, 2026 @11:40AM (#48922529)
The trick is that you can't predict something that doesn't happen even if you feel otherwise.
Re:Computation as a Universal and Fundamental Concept by RandomLensman on Wednesday July 15, 2026 @12:52PM (#48923698)
Atoms don't decay? Radioactive decay isn't a thing?

But at least we agree there is nothing we can predict.

Re:Computation as a Universal and Fundamental Concept by GoblinSlayer on Thursday July 16, 2026 @06:59AM (#48932849)
We can predict decay process as

sqrt(1-exp(-t/T))|1> + sqrt(exp(-t/T))|0>

Re:Computation as a Universal and Fundamental Concept by RandomLensman on Thursday July 16, 2026 @07:42AM (#48933177)
I give you ten atoms of Po210, you tell me which one will be next to turn into Pb206. What's your algorithm to do that?
Re:Computation as a Universal and Fundamental Concept by GoblinSlayer on Thursday July 16, 2026 @11:58AM (#48936311)
My algorithm is at least to not predict it as not what it is. All ten atoms decay according to the formula above.