r/programming • u/mttd • 11d ago
“…and the proof is checked in Lean”
https://xenaproject.wordpress.com/2026/11/12/and-the-proof-is-checked-in-lean/
363
Upvotes
r/programming • u/mttd • 11d ago
268
u/apnorton 11d ago
It's worth pointing out because people outside of math circles may not know this: the post author is Kevin Buzzard, who is probably one of the leading (if not the leading) world authorities on Lean/proof assistant usage in mathematics.
I remember watching his MSR talk The Future of Mathematics pretty much when it came out 7 years ago; he's been advocating proof assistant usage for a long time now, and isn't merely someone riding the AI hype cycle.
171
u/IamfromSpace 11d ago
> Question 1. Does the Lean statement match the informal statement?
Exactly the first question. Yes, it’s very likely it proved the statement. But is that what you meant? Is the statement even worth anything? This is not a skill most programmers have developed. I’ve also frequently found that LLM lean proofs need exactly the guidance here.
> 38 [papers] have the property that the Lean code does not even state, let alone prove, the main theorem of the paper.
😳 I have seen this though, that the LLM is sometimes not taking the problem actually head on and thinking about how to work directly on the statement of interest.
47
u/Madsy9 11d ago
If that sentence is followed by:
Then it is probably correct. If not, then the statement deserves way more scrutiny. In the case of LLMs being used both for writing the proof and doing the proof formalization process, note that autoformalization is one of the hardest problems we know of.
7
u/badpotato 10d ago edited 10d ago
I'm not claiming to be an expert in Lean.. but just asking if the Navier–Stokes equation could be proven by something else than Lean since it seem it could be possible with:
So why aren't they trying to prove with something else than lean if there could be some doubt about it?
Furthermore, according to this video, the lean code could use some factoring considering there is about 60% of unused code.
-47
u/totheendandbackagain 11d ago
A developer blog on wordpress? Maybe it's containerised and updated with gitops?