upvote
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