News for hackers. Stuff that matters.
Re:Lean Verification of the Riemann Hypothesis by magimas on Saturday November 21, 2026 @01:38PM (#50592189)
you can't formalize physics
Re:Lean Verification of the Riemann Hypothesis by chorsestudios on Saturday November 21, 2026 @01:55PM (#50592361)
why not?
Re:Lean Verification of the Riemann Hypothesis by xiaoyu2006 on Saturday November 21, 2026 @02:57PM (#50593009)
Because experiments are ground truth.
Re:Lean Verification of the Riemann Hypothesis by tim333 on Sunday November 22, 2026 @08:09AM (#50599370)
Even so you may be able to formalize the theories if not nature itself.

Riemann never meant much to me but as a physics enthusiast the big one is combining quantum theory with general relativity. They are mathematically inconsistent although nature follows both so it should be possible to fix the maths.

Re:Lean Verification of the Riemann Hypothesis by burnerRhodov3 on Sunday November 22, 2026 @11:27PM (#50607476)
but can you brute force a theory from ground truth data?
Re:Lean Verification of the Riemann Hypothesis by Tadpole9181 on Saturday November 21, 2026 @03:08PM (#50593130)
They're only half right. The formalization of physics is called Hilbert's Sixth Problem[0] and there has been progress formalizing specific subdomains just fine for practical purposes.

But there's no unified theory, as quantum field theory and relativity don't get along and we still need a model for quantum gravity. So it's not possible to formalize the whole system because we genuinely don't know how the whole system works to form it's axioms.

[0] https://en.wikipedia.org/wiki/Hilbert%27s_sixth_problem

Re:Lean Verification of the Riemann Hypothesis by magimas on Saturday November 21, 2026 @04:44PM (#50593942)
no I'm fully right.

You cannot formalize physics. You can formalize some physical theories, but that's not the same as formalizing physics.

Physics isn't mathematics with different axioms. The ground truth is nature, not some axioms you need to fulfill. A formally verified theory can turn out to be physically wrong.

Just as an example because I see they suggest it as a project on their page:

I can formalize a tight binding Hamiltonian of graphene. I can write it down and then prove that this structure of the Hamiltonian means I get real eigenvalues, distributed symmetrically around 0, I get the [Dirac cone](https://en.wikipedia.org/wiki/Dirac_cone) a specific high symmetry points in momentum space etc. but at no point can I prove that this is actually a good/realistic model for graphene.

I could have chosen a very different Hamiltonian that includes spin orbit coupling or electron-electron interactions or different atomic orbitals or couplings to atoms further away etc. pp.

The only verification that can tell me which choice is a good one (not a correct/True one because you just don't have that in physics) is an experiment.

Re:Lean Verification of the Riemann Hypothesis by morpheos137 on Saturday November 21, 2026 @05:42PM (#50594369)
If the universe is empirically demonstrated to be be a mathematical structure you can indeed formalize and derive physics from first principles. In this case empericism confirms the particular map is correct not that there is one. To me it is inconceivable how you get observed physics with stable laws and conservations everything is not a mathematical structure.
Re:Lean Verification of the Riemann Hypothesis by svara on Saturday November 21, 2026 @06:39PM (#50594751)
> If the universe is empirically demonstrated to be be a mathematical structure

Their point is you can't do that. And they're right - this is, famously, Popper's point. You can empirically demonstrate it's not some mathematical structure, but not the converse.

Re:Lean Verification of the Riemann Hypothesis by tim333 on Sunday November 22, 2026 @08:16AM (#50599416)
Still if the mathematical structure corresponds exactly to all experiments then it's probably that. Our current ones don't.
Re:Lean Verification of the Riemann Hypothesis by ordu on Saturday November 21, 2026 @06:25PM (#50594661)
> You cannot formalize physics (and that's not what Hilbert's 6th problem is about). You can formalize some physical theories, but that's not the same as formalizing physics.

Yes, it is a totally correct statement, but the thing is we are talking English, and in English the word "physics" can mean either "a collection of physics theories" or "the underlying reality these theories describe". The exact meaning depends on the context. Your statement provides a context to interpret "physics" in the latter sense. "Formalizing physics" definitely asks for the former meaning of the word "physics".

So, while you are totally correct, it doesn't mean that you've proven that formalizing physics is impossible. Quite the contrary, you claimed that one can formalize physics (in the meaning "some physical theories").

> The only verification that can tell me which choice is a good one (not a correct/True one because you just don't have that in physics) is an experiment.

I'm not into the project of formalizing physics, so I don't know how they choose their terminology, but if it was me choosing it... First, I'd chose "physics" and "the reality" to avoid using "physics" as referent to both. Second, I'd say that any "formalized physical proof" is true. I'm not sure how words I'd choose to talk about correctness of predictions of physical statements/theories. Maybe "empirical validity"? Why to invent a terminological bicycle if it was invented already? Though, maybe physics uses some other terms for that? If so, then we could stop talking about truth at all, and use "logically valid" to refer to statements that were formally proven.

Re:Lean Verification of the Riemann Hypothesis by dev_dan_2 on Saturday November 21, 2026 @02:20PM (#50592676)
not with that attitude
Re:Lean Verification of the Riemann Hypothesis by BurningFrog on Saturday November 21, 2026 @03:04PM (#50593094)
Since we don't know all of physics, I assume you're right.

But you probably can formalize our current understanding of physics, which seems useful?

Re:Lean Verification of the Riemann Hypothesis by schleck8 on Saturday November 21, 2026 @05:02PM (#50594082)
That's exactly how Mathlib and Lean work, and apparently that was sufficient to solve two mathematical physics problems to a significant degree (NS fully, YM partially).
Re:Lean Verification of the Riemann Hypothesis by kdavis on Sunday November 22, 2026 @02:46AM (#50597222)
prove it