logoalt Hacker News

tsimionescu • yesterday at 6:46 AM • 2 replies • view on HN

Virtually everything in this comment is false.

A program is a proof - via the Curry-Howard theorem. This is proven, not trusted or vibed.

Lean is not "compiling a proof-proving program to C", it is verifying if the proof is correct. Beyond implementation bugs in Lean, it is not possible for a Lean proof to compile if the proof is wrong, or vice versa (for a Lean proof not to compile if the proof is valid). And implementation bugs in Lean are not likely in these cases, since multiple different Lean compilers (one of which is itself formally verified to match the Lean forma system) have verified the proof of the RH.

Human mathematicians are incomparably more error prone than Lean in verifying proofs. The truth of this proof of the RH (and of the many other Lean-verified results from the last few days) is much more certain than any human-verified proof can ever be.

Edit: what would make sense to say, and it does have a profound meaning to the whole field of (human) mathematics, is that we still don't actually know what is the proof of the Riemann Hypothesis. We now know with 100% certainty, or as near as can be, that this proof exists - but since no human has been able to actually go through it and explain it to other humans, we still don't know what it is in some sense. Once it will be made explainable to the mathematical community at large, that is when it will become known in a real sense that mathematicians can work with (beyond abandoning any work that was trying to disprove the RH today, as we now know that can't succeed).


Replies

tito • yesterday at 12:27 PM

Thanks for the context. As someone who thinks for example, elliptic curve cryptography is incredible but doesn’t understand it much…it seems this Lean stuff is kind of in that category? Happy for any further explanation like you’ve provided.

Part of my idea before building this Riemann@home tool is that Lean proofs will become a more frequent occurrence in my newsfeed and I want some understanding of what it all is.

A new idea since is with Lean + LLM now more people can explore the frontiers of mathematics. And since math has a funny way of underpinning our universe, this AI stuff is a bit like getting a superfast spaceship you can travel without leaving your bedroom. So in some sense it seems the journey of understanding math is at a new beginning. Though the pros say it’s over?

Happy to be encouraged or dissuaded but figured you were a good person to ask. Thanks in advance!

➕ show 1 reply
otabdeveloper4 • yesterday at 2:18 PM

> A program is a proof - via the Curry-Howard theorem

No, a type system for a model of computation is a proof.

You understand the difference?