r/mathematics • u/TeluguFilmFile • 2d ago
Discussion Isn't checking a Lean code-based proof better and more efficient than the regular peer review process (that may be subject to human error)? Going forward, isn't it efficient to automatically require Lean proofs for every result while also rewarding digestible expositions of the Lean proofs?
Isn't checking a Lean code-based proof better and more efficient than the regular peer review process (that may be subject to human error)? Going forward, isn't it efficient to automatically require Lean proofs for every result while also rewarding digestible expositions of the Lean proofs?
49
Upvotes
99
u/Particular_Extent_96 2d ago
Peer review is generally about more than just establishing the correctness of a proof. It's also about judging significance, judging the presentation/readability of the results, and so on.
On your point about Lean formalisation being preferable to regular peer review, this is what Scott Aaronson had to say about the RH proof:
So I guess at least one very smart person agrees with you. Personally, everything is moving so fast that I no longer have much faith in my own ability to predict the future, and can't really bring myself to have strong opinions like this at the moment.
26
u/apnorton 2d ago
There's a few issues with this:
9
u/Stabile_Feldmaus 2d ago
This process has two components: Correctness and relevance. Correctness can indeed be checked much faster and more reliably with AI. Relevance, (Is this paper interesting, does it fit to the journal) is subjective and can, almost by definition, not be done by AI.
Ideally yes, but practically it still takes a lot of tokens to formalise results. So researchers or groups with a lot of funding would have (yet another) unfair advantage.
4
u/araujoms 2d ago
Mathematics is not just proofs. For example, Serre is famous for his definition of intersection multiplicity. You can't evaluate the "correctness" of a definition via Lean.
3
u/dld2517 2d ago
No. It isn’t the same. I am understanding it like this: lean tells me that I have connected all my dots. It tells me that I don’t have any “dangling chads” still out there. I’ve tied all my strings. It tells me I’ve built a valid bridge from point A to point B. It does not comment on the efficiency of such structure. Think about it this way: when I put a destination into GPS, the algorithm generates several routes. There could be infinite routes but the algorithm generates a finite number. The evaluator (author / peer reviewer) is responsible for evaluating the quality of the route, including its efficiency.
3
u/LitespeedClassic 2d ago
I asked Claude to estimate how much it would cost in tokens to produce a Lean proof of one of my theorems. Estimate was $60k. Until that comes down, it can’t be required.
3
u/ixid 1d ago
Yes, we wouldn't have had the ridiculous abc proof drama with this approach, as Mochizuki's group can't get past the infamous corollary 3.12 in Lean, that Scholze and Stix identified as a fatal flaw.
5
u/peter-bone 2d ago
Mathlib in Lean is an attempt to formalise as much known mathematics as possible, which has been ongoing for almost a decade. So yes the goal is to formalise everything in this way, including new proofs. Previously this was done by hand but it was very slow. AI is speeding that up a lot. A team had been working on formalising FLT for almost 10 years and then AI recently did it in a few days, although the quality isn't yet high enough for mathlib. The Mathematics Autoformalization Project launched recently to use AI for this work.
2
u/navetzz 2d ago
Knowledge and facts are different things.
We want insight not check a tickbox
2
u/jimbelk Professor | Group Theory, Topology, Dynamical Systems 2d ago
It's very hard to predict what it will be like to publish a pure mathematics paper in 10 years time. Some basic questions:
I should emphasize that I don't know the answers to any of these four questions, but based on the answers, the situation might be any of:
2
u/clippy_is_a_prick 2d ago edited 2d ago
Lean might be right 99% of the time even, but when a bug does happen - its software, it 100% will happen at some point - your going to wish peer review was still in place. Think about it like this, say the Riemann Hypothesis remained at 17 million lines and no one bothered to check it, so we call it a day and have AI build a system around it to solve problems, that system requires infrastructure, time money etc and then at the very end we find out it doesnt work. Oops, guess we should have double checked, except we cant, because we dont understand what was made.
The issue basically boils down to having "faith" in a system. Lean itself is a exceptional tool, theres no denying its usefulness but when it becomes too complicated to comprehend and is made by something - such an AI - that is notorious at exploiting computer based programs it becomes less about understanding and you are just placing your faith in it being right.
My suggestion is the structure should be something like:
* human based concept, developed to the point of semi viable principle
* validate principle with Lean, if it fails, re-iterate with step 1
* Use AI and Lean to expand proof once core principle is established
* Result is a core principle thats functional and understandable, with expansion that is largely incomprehensible but provides basically confidence in the principle
I also have a load of misgivings on how inference works in AI, how much money these gigantic proofs likely cost, how viable it is to keep going like this etc but this comment is long enough
1
u/RecognitionSweet8294 2d ago
I think the step from translating your informal proof into a formal proof would take a lot of work if you don’t use a machine.
That might outweigh the costs of double checking your informal proof.
1
u/CSMasterClass 2d ago
Lean checks for correctness.
A human is needed to evaluate things like "interest" or "relevance" --- or "beauty" or "cleverness" or "usefulness" ... on Donner and Blitzen.
1
u/systembreaker 1d ago
The answer is probably not the all or nothing thing you want to hear.
It's a technical tool, like any technical tool there are pros and cons and tradeoffs.
1
u/Tricky-Lingonberry-5 1d ago
Maybe future math papers would not be about proving theorems. Instead, you attach lean certificates of your theorems in a paper which is about a totally new mathematical territory and the author only tries to convince the significance of that territory and expose some general themes about the proofs, the objects or some other insights.
Like coming up with group theory and proving bunch of results about groups, giving general tools used in the arguments, how your group theory makes other complicated proofs easier to understand and so on.
1
u/Optimal-Savings-4505 1d ago
Yes, I think it's much better. It used to be the case that mathematicians would leave proofs to be pondered for generations, and people would eventually concede that "well maybe it's true then" after time had passed without objections. For a field so concerned with objective truth, the peer review process has traditionally been a bit heuristic, to put it mildly.
1
u/Internal_Ticket_9742 22h ago
I think thar is inevitable.
The same thing happened in the field of data science/machine learning and more broadly to applied maths related fields. Nearly every paper is accompabied by a github repo to reproduce the results whenevet possible, and to check that the implementation matches the abstract paper.
Enforcing reproducibility is always a good thing in science.
0
u/Negative_Gur9667 2d ago
I feel like peer reviewing doesn't make sense anymore.
A few years ago, we needed to do that so we could be sure a proof is correct and some other things.
But now, where LLMs spit proofs out in masses, they are outmatching the capacity to review. People don't have enough time to check all of it. Here comes Lean.
Math is more like data science now. Maybe all theorems should be gathered in a big database, all Lean verified, and we should work together on them.
0
u/Contramuliericultist 2d ago
At least for checking validity, yes, since I have personally struggled for weeks on errors in multiple published math papers, until AI audits found the errors for me. I am pretty sure one author even discovered the error himself, since his phd student working on a similar problem replaced the false statement by another argument, but unfortunately there is not a very established way to handle errors in published math papers.
0
u/Hefty_Character5002 2d ago
Yeah a proof verified by Lean seems to be a better gurantee for correctness than human peer review. I have come across a few papers with up to 400 citations ( a lot for my subfield) with erroneous statement and proofs.
I have myself had to publish corrections to a paper I published. So peer reviewed doesn't mean error free.
0
u/BVBmania 2d ago
Mathematics already has a semi-formal syntax different from standard language (exists, implies). t's not far of that the theorems will all be proven in Lean as a new language of mathematics. Then maybe they will be translated into normal language for us plebs.
0
u/hollywoodboul 1d ago
It is objectively better than peer review for verification but anything that reduces dependence on elite referees and allows outsiders to contribute is going to rankle some people.
Here is the real question: if presented with a paper proof candidate, is there more value for the elite referee to verify that candidate - or for them to work on understanding proven Lean formalizations?
Actually, the genie is out of the bottle, so it's not a real question if they want to keep working in mathematics...