HumanLean Flags Proof-Code Mismatches Across OpenAI's Math Papers
ETH Zurich's HumanLean audits AI-generated Lean proofs for code-paper mismatches and rewrites them for humans, after reviews found 38 unstated theorems in OpenAI's 700-paper math release.

Why it matters
- OpenAI released roughly 700 AI-generated math papers in October 2025.
- Kevin Buzzard's separate review found 38 instances where code did not state or prove the paper's main theorem.
- HumanLean formalized nine math papers in testing with no mismatches found by human reviewers.
- A Lean proof of the Riemann hypothesis posted in late November ran over 17 million lines and has since been cut to about 100,000.
- Vechev's group audited publications by OpenAI, Axiom Math, and 29 other AI-assisted proofs.
OpenAI released roughly 700 AI-generated mathematics papers in October, and months of auditing have now confirmed that a substantial share of the accompanying code does not match the claims in the papers themselves. A team at ETH Zurich has built a system to find those mismatches automatically and to rewrite the code so humans can follow it.
The system is called HumanLean, and its lead developer says the problem it targets extends well beyond one company's release. "People don't fully understand the widespreadness of this problem," ETH Zurich computer science professor Martin Vechev said of AI math inconsistencies. His group identified mismatches across publications by OpenAI, startup Axiom Math, and 29 other AI-assisted math proofs it audited.
What did the audits actually find?
Most of the inconsistencies are mismatches between the method a paper describes and the logic the code actually executes. The problem still gets solved, but in a different way than the paper suggests. More consequentially, Vechev's team found the code files sometimes do not correctly state, let alone prove, the paper's main theorem.
A separate review of OpenAI's October release by British mathematician Kevin Buzzard found 38 instances of that same failure. OpenAI did not respond to WIRED's request for comment.
The stakes sit at the center of the AI industry's current proof-of-capabilities push. Frontier labs claimed to have solved hundreds of major math problems this year in a bid to showcase that their models have the logic and reasoning capabilities to write code. To make these solutions machine-checkable, labs translate — or "formalize" — the problem from everyday language and notation into logical steps in the open-source programming language Lean. That translation step is where the errors enter.
Vechev said the underlying difficulty is a shortage of qualified readers. "There are not enough human experts to check many of these things which are, on top of that, very hard to read because they're not human-generated," he said. "This problem is emerging not just in mathematics but in anything where you are translating from some human language, like human math, into Lean," he added, pointing to writing and verifying software as an adjacent case. "Being human-readable is so important."
How does HumanLean work?
The system attacks both problems — inconsistency and illegibility — by essentially annotating formal proofs with assumptions and cited external results. The pipeline runs in stages:
- An AI agent, OpenAI's Astra in this implementation, audits the proof and lays out its goal, assumptions, and arguments.
- A second, independent agent checks for inconsistencies and files them separately for human review.
- AI agents then reconstruct the proof's steps with the added annotations.
- A final check merges everything into one publication.
In a test where the group formalized nine math papers across various topics, human reviewers found the system returned no mismatches. The same experiment showed HumanLean can also compress formalizations by cutting unnecessary statements.
Why does readability matter if Lean verifies everything?
Not everyone in the field agrees the mismatches are a defect. Leonardo de Moura, an AWS scientist and cofounder of Lean FRO, the nonprofit behind the Lean theorem prover, called mistakes in stating problems "serious" but questioned whether adding another AI tool to the pipeline is the right fix. He argued that inconsistencies in how a proof is argued matter less if the solution still stands up.
Axiom Math goes further and disputes the framing entirely. "Because Lean machine-verifies every proof, a theorem's correctness does not depend on following the human-written argument step by step," said Ashvin Swaminathan, a member of the technical staff at Axiom Math. The inconsistencies Vechev's team identified are "intentional," he said, because "we instructed our agents to produce valid, efficient proofs … That is the expected outcome, not an inconsistency: The theorems proved are the same, and every proof is verified." Swaminathan added that the statement mismatches had already been identified and corrected.
The disagreement cuts to what these releases are for. Mathematicians have accused AI companies of not caring about advancing human understanding of their results, arguing labs should make a greater effort to make them digestible. Vechev agrees and urges the labs themselves to adopt HumanLean, noting it is compatible with multiple large language models.
What happened with the 17-million-line Riemann proof?
The readability question has a concrete and extreme data point. In late November, Anthropic researcher Levent Alpöge posted a Lean solution to math's most famous problem, the Riemann hypothesis, running more than 17 million lines — which he later called a "travesty of slop."
Mathematicians have since whittled that proof down to roughly 100,000 lines in the past couple of weeks. De Moura says it is unclear whether an AI tool like HumanLean would help refine it further. His caution points to a limit of automated cleanup: "Lean can check if a formal proof is correct, but it cannot check whether it's intuitive, if it's simple, if it's straightforward. These are very subjective," he said. "If the goal is to have an exposition to humans, humans will be in the loop."
What comes next?
The HumanLean result — zero mismatches on nine formalized papers — is a small benchmark against a problem measured in hundreds of releases and one 17-million-line proof. De Moura's position defines the open question: whether machines can compress and annotate formal mathematics into something humans find intuitive, or whether that final judgment stays, permanently, with the humans in the loop.
Source: wired.com
More from Rebecca Stone
Show full bio
Correspondent covering companies, deals and strategy in artificial intelligence and machine learning at AI In Context.
1,061 articles
Related articles
- OpenAI and Anthropic Claim AI Models Refuted the Exponential Time Hypothesis
- OpenAI Publishes 370+ AI-Generated Math Results, Drawing Expert Scrutiny
- OpenAI's 700 papers and a claimed Riemann proof leave mathematics reeling
- OpenAI says internal model likely solved at least five of ten First Proof research math problems
- Four Labs, One Blueprint: How AI Security Agents Converged in 2026