5 ms·
I've been excited about Lean for years, not because of correctness guarantees, but because it opens the door to doing maths using software development methods.
by oersted 1y ago
I've been excited about Lean for years, not because of correctness guarantees, but because it opens the door to doing maths using software development methods.
Libraries of theorems and mathematical objects, with well defined abstractions that are ergonomic to apply in target use cases. Accompanied by good documentation, focused less on how the theorems are proven (how the functions are implemented), and more on what to use them for and how. With proper version control and package management.
I believe that all these practices could vastly improve collaboration and research velocity in maths, as much or more than AI, although they are highly complementary. If maths is coding, AI will be much better at it, and AI will be more applicable to it.
- vonnik 1y agoOut of curiosity, does anyone know the mathematicians actively leaning into AI + Lean?
- thechao 1y agoTerence Tao posts on mathstodon fairly regularly about lean, AI, and math. I'm not going to interpret his posts.
- oersted 1y agoTerence Tao is well known for being enthusiastic about Lean and AI and he regularly posts about his experiments. He is also a serious research mathematician at the top of his game, considered by many one of the best mathematicians alive. This might be biased by the fact that he is such a good communicator, he is more visible than other similarly good mathematicians, but he is a Fields medallist all the same.
- griffzhowl 1y agoKevin Buzzard has been the main mathematician involved with Lean This is a recent talk where he discusses putting it together with LLMs (he's somewhat sceptical it'll be revolutionary for producing new mathematics any time soon) https://www.youtube.com/watch?v=K5w7VS2sxD0 https://www.youtube.com/watch?v=K5w7VS2sxD0
- kronicum2025 1y agoI'm leaning a lot into AI + lean. It's a fantastic tool to find new proofs. The extremly rigid nature of lean means you can really check programs for correctness. So that part of AI is solved. The only thing that remains is generating proofs, and that is where there's nothing in AI space right now. As soon as we do get something, our mathematical knowledge is going to explode.
- anon291 1y agoAs a a hobbyist mathematician / type theorist, chatgpt et al are great at 'looking up' theorems that you want to exist but that you may not have read about yet. It's also good at connecting disparate areas of math. I don't think lean subsumes AI. Rather, lean allows you to check the AI proof. ChatGPT genuinely does have a knack for certain lines of thought.
- nyrikki 1y agoLLMs and Lean are orthogonal, neither subsumes either. They both can be useful or harmful, do to their respective strengths and trade offs. PAC/statistical learning is good at needles in the haystack problems assuming that the tail losses, simplicity bias, and corpus representation issues are acceptable and you understand that it is fundamentally existential quantification and control for automation bias etc… Lean is a wonderful collection of concepts and heuristics but due to Rice and Gödel etc… will not solve all problems with software development. How Gödel’s second incompleteness theorem shows that you can prove anything, without that proof being meaningful is a lens into that. It is horses for courses, and remember that even in sub-TC total functional programming, proving and arbitrary functions is very hard, while constructing one is far more tractable. Even those proofs don’t demonstrate semantic correctness. History is riddled with examples of people using powerful tools that elegantly explain flawed beliefs. The 2009 crash and gaussian copula as an example. Get all the value you can out of these tools, but use caution, especially in math, where superficially similar similarities often have conflicting conventions, constraints, and assumptions. Obviously if you problem is ergotic with the Markov property, both will help, but Automated theorem proving and PAC learning will never be a meta theory of the other IMHO.
- eynsham 1y ago> Gödel’s second incompleteness theorem shows that you can prove anything, without that proof being meaningful is a lens into that. What has Gödel incompleteness to do with that? We can just take any sentence φ as an axiom, and we’ve a trivial proof thereof.
- anon291 1y ago> How Gödel’s second incompleteness theorem shows that you can prove anything, That is not at all what it says. > They both can be useful or harmful, If a proof is admitted into lean, there is no doubt as to its truth. There is no way in which lean can be construed as harmful. > The 2009 crash and gaussian copula as an example. There is nothing mathematical about the economics behind the 2009 crash. Such things are statistical measurements, which admit the possibility of failure, not mathematical conclusions that are demonstrably true.
- thaumasiotes 1y ago> I've been excited about Lean for years, not because of correctness guarantees, but because it opens the door to doing maths using software development methods. > Libraries of theorems and mathematical objects, with well defined abstractions that are ergonomic to apply in target use cases. Accompanied by good documentation, focused less on how the theorems are proven (how the functions are implemented), and more on what to use them for and how. How is any of that different from what we had in math before Lean?
- lanstin 1y agoIt is more software ish. You don't just have a citation to earlier results, you can import the library. And you don't have to trust collaborators as much, the proof engine validates. And you can use github to coordinate large projects with incremental but public progress.