upvote
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).

reply
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!

reply
Unfortunately no, I'm not a very good person to ask - I'm a programmer who is fascinated by this stuff from afar, not a mathematician or other practitioner of Lean.

However, I will say this - Lean is not like cryptography, it's more like a language for describing formal statements, just like the language we learned in school to write mathematical formulas, plus a "compiler" for this language that verifies the proof you wrote is correct. The complexity comes from two or three places: Lean requires rigurous formal versions of every statement you make, whereas most math you see even in math papers is more informal than that (e.g. you can't just say "n numbers in in increasing order" in Lean, you have to give the exact statements, e.g. For every x_i, x_j in $numbers, x_i <= x_j <=> i < j; or use a library that defines this if you can find one) ; and the actual math proofs for RH and many of these other theorems that are recently published is extremely advanced - that's why no one has been able to find these proofs until now.

I think that if you're really interested in learning this, your best bet is to look for / use AI to show you some Lean proofs for theorems you are familiar with from your math education (say, prove Pythagoras' theorem), and then try your hand at translating some textbook proofs into Lean to see the difference between informal and formal proof.

But I don't think Lean itself can help you get an intuition for an area of math you are not familiar with. I believe it would be very much the opposite - Lean requires extreme rigour and handling each nitty gritty detail, whereas building an intuition usually requires looking at the bigger picture and focusing at the core concepts while ignoring (initially) the many many details.

reply
Maybe it’s more like a game. And that Lean is a “good physics engine”. And a good physics engine doesn't itself give you a good sense of intuition. But you interact with a world built from it and that world is “sound” and so you can grow good intuition.
reply
> 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?

reply
The proof of the correspondence between propositions and types is not “vibes” and significantly predates AI. It happened independently several times but the reason it’s named the Curry-Howard correspondence is because of Howard’s paper “The formulae-as-types notion of construction” from 1969 which he dedicated to Curry.

There seems to be a free copy of it here https://github.com/Mzk-Levi/texts/blob/master/The%20Formulae...

reply
You're confusing abstract type theory constructs and the concrete Lean implementation.

To prove that Lean corresponds one-to-one with the abstract type theory you'd have to formally verify Lean. (And formal verification is a pseudoscience, no software is formally verified.)

reply