HumanLean System Aims to Standardize and Verify AI-Generated Mathematical Proofs
In the months since the release of AI-assisted mathematical code, it has become evident that much of this output does not align with the claims in accompanying natural language papers. The code that is correct has also proven challenging for humans to follow. Now, a group of researchers has developed a system to reduce inconsistencies and improve readability, aiming to make machine math more trustworthy. ETH Zurich computer science professor Martin Vechev notes that AI math inconsistencies have been identified across publications by OpenAI, startup Axiom Math, and 29 other AI-assisted math proofs they audited. These mismatches primarily involve the method laid out by the paper differing from the actual logic conducted in the code, meaning the problem is solved but through a different process than suggested. More consequentially, the team found that code files sometimes do not correctly state, let alone actually prove, the paper's main theorem.
A separate review of OpenAI's October release by British mathematician Kevin Buzzard identified 38 instances of such mismatches, though OpenAI did not respond to WIRED's request for comment. Frontier labs claimed to have solved hundreds of major math problems this year to showcase their models' reasoning capabilities. To make these solutions machine-checkable, they translate—or formalize—the problem from everyday language and notation into logical steps using the open-source programming language Lean. This process automates solution verification, making it much more efficient. However, Vechev emphasizes that there are not enough human experts to check many of these things, which are also very hard to read because they are not human-generated. Being human-readable is so important that his team created HumanLean to stamp out errors and make reading formalizations easier by annotating them with assumptions and cited external results.
HumanLean operates by first having an AI agent—OpenAI's Astra in this case—audit the proof to lay out the goal, assumptions, and arguments. Another independent agent then checks for inconsistencies, which are filed separately for human review. The proof's steps are then reconstructed by AI agents with the additional annotations and merged into one publication after a final check. In a test where the group used their system to formalize nine math papers across various topics, human reviewers found it returned no mismatches. AWS scientist Leonardo de Moura, cofounder of Lean FRO, describes mistakes in stating problems as serious, though he questions whether adding another AI tool is the solution. He notes that because Lean machine-verifies every proof, a theorem's correctness does not depend on following the human-written argument step by step.
Ashvin Swaminathan, a member of the technical staff at Axiom Math, argues that the inconsistencies between Lean code and human-written arguments identified by Vechev's team are intentional, as their agents were instructed to produce valid, efficient proofs. He maintains that the theorems proved are the same and every proof is verified, making the argument style less concerning. However, he adds that the statement mismatches had already been identified and corrected. Mathematicians have accused AI companies of not caring about advancing human understanding of their releases, arguing they should make a greater effort to make their results digestible. Vechev agrees that companies should publish versions of their solutions that are more easily understood by humans and urges labs to use HumanLean, noting it is compatible with multiple large language models. HumanLean can also make formalizations easier to read by cutting unnecessary statements, as the experiment on nine papers demonstrated.
The challenge of condensing Lean code has been spotlighted since Anthropic researcher Levent Alpöge posted a Lean solution to math's most famous problem, the Riemann hypothesis, in late November, running more than 17 million lines long—which he later called a travesty of slop. Mathematicians have already been able to whittle the Riemann hypothesis proof down to a mere 100,000 or so lines in the past couple of weeks, and de Moura says it is unclear whether an AI tool like HumanLean would help refine it further. De Moura emphasizes that Lean can check if a formal proof is correct, but it cannot check whether it is intuitive, if it is simple, or if it is straightforward; these are very subjective. If the goal is to have an exposition for humans, humans will be in the loop.
Vechev's team continues to refine HumanLean to address the growing gap between AI-generated mathematical solutions and human comprehension. The system's ability to annotate proofs with assumptions and merge verified steps offers a path toward more trustworthy AI mathematics, though limitations remain regarding readability and intuition. As AI models grow more capable of formalizing complex problems, the integration of tools like HumanLean may become essential for ensuring that machine-verified results also serve the broader mathematical community. The ongoing dialogue between AI developers and mathematicians highlights the need for standards that balance machine verification with human accessibility.
Source credits
By Isabella Ward from WIRED. Edited by SetuGeo.