KEY POINTS
- ETH Zurich researchers created HumanLean to annotate AI-generated Lean proofs and flag inconsistencies for human review.
- Audits found code that did not match the accompanying papers, including cases where the main theorem was not stated correctly.
- Experts disagree on how serious the mismatches are and on whether another AI tool will fix the problem.
A group of researchers led by ETH Zurich professor Martin Vechev has built a system called HumanLean, which aims to catch inconsistencies in AI-generated math proofs and make them easier for people to read, WIRED reported.
The effort follows a large release by OpenAI in October, when the company published roughly 700 AI-generated math papers along with code files meant to help verify the results. According to WIRED, it has since become apparent that much of this code does not match the claims made in the accompanying papers, and that even correct code is hard for humans to follow.
Vechev's group found such problems in work from OpenAI, the startup Axiom Math and 29 other AI-assisted proofs it audited. Most were mismatches between the method described in a paper and the logic actually carried out in the code, meaning the problem is solved but in a different way than described. More seriously, the team found code that sometimes fails to state the paper's main theorem correctly. A separate review of the October release by British mathematician Kevin Buzzard found 38 such cases. OpenAI did not respond to WIRED's request for comment.
The proofs are written in Lean, an open-source programming language that lets computers check each logical step automatically. HumanLean works in stages. An AI agent, OpenAI's Astra in this case, audits a proof to set out its goal, assumptions and arguments. A second, independent agent looks for inconsistencies and files them separately for human review. The proof is then rebuilt with added annotations on assumptions and cited outside results, and merged into a single publication after a final check.
In a test on nine math papers across different topics, human reviewers found no mismatches in HumanLean's output. The experiment also showed that the tool can shorten formalizations by removing unnecessary statements. Vechev says AI labs should publish versions of their results that people can understand, and he urged them to adopt HumanLean, which works with multiple large language models. He added that the issue reaches beyond mathematics to any task that translates human language into Lean, such as verifying software.
Not everyone is convinced. Leonardo de Moura, an AWS scientist and cofounder of Lean FRO, called errors in stating problems serious but questioned whether adding another AI tool is the solution. He said differences in how a proof is argued matter less if the solution holds. Ashvin Swaminathan of Axiom Math said those differences were intentional, since the company told its agents to produce valid, efficient proofs, and that the statement mismatches had already been found and corrected.
The readability issue drew attention in late November, when Anthropic researcher Levent Alpöge posted a Lean solution to the Riemann hypothesis that ran past 17 million lines. He later described it as a "travesty of slop," according to WIRED. Mathematicians have since trimmed it to around 100,000 lines, and de Moura said it is unclear whether HumanLean could shorten it further. Lean can confirm correctness but not whether a proof is intuitive, he noted, so humans will remain in the loop.
