AI math has a paper-and-code problem, ETH Zurich review shows

When OpenAI released more than 700 AI-generated mathematics papers in October, the company accompanied them with code files intended to help mathematicians verify some of the content.

File photo: ETH zurich
File photo: Ank kumar, CC BY-SA 4.0 · source This adaptation is licensed under CC BY-SA 4.0.

AI math has a paper-and-code problem, ETH Zurich review shows

When OpenAI released more than 700 AI-generated mathematics papers in October, the company accompanied them with code files intended to help mathematicians verify some of the content. The months since have shown that much of that code does not match the claims in the papers — and in the worst cases, the code does not prove the main theorem at all. Researchers at ETH Zurich have now built a tool, HumanLean, designed to audit such proofs and make them readable by humans. The question is whether the answer to errors in AI mathematics should be more AI.

The October flood

On 6 October, OpenAI released more than 700 AI-generated papers with results tied to over 370 previously unsolved mathematical problems (Science). To help the inundated mathematicians, the company also published code files that could contribute to verifying some of the mathematics (WIRED).

The programming language in such contexts is typically Lean, a proof system that translates mathematical statements into machine-readable forms that can be definitively verified by a computer. But Lean is not error-free: although the software is praised for guaranteeing correctness, it is vulnerable to bugs that can produce incomplete proofs, and Lean code must go through several additional verification steps before a proof is declared true — as Kevin Buzzard, a mathematician at Imperial College London, points out in an explainer from Nature.

The context became even more striking in late November, when Levent Alpöge, a mathematician at Anthropic, published a Lean "solution" to the Riemann hypothesis consisting of 17 million lines of code generated by Claude. That is according to an essay in The Atlantic, which presents the hypothesis as solved — but this is an opinion piece, and neither WIRED's coverage nor any other source established here independently verifies the claim. It should be treated as contested context, not as fact.

What the audit found

Martin Vechev, a professor of computer science at ETH Zurich, has led his group through an audit of AI-assisted mathematical proofs from OpenAI, the startup Axiom Math, and 29 other AI-assisted proofs. The most common problems are mismatches between the method described in the paper and the logic actually executed in the code — the problem is still being solved, but in a different way than the paper suggests.

More seriously: the code files sometimes do not correctly state — let alone prove — the paper's main theorem. A separate review of OpenAI's October release, conducted by Buzzard, found 38 such cases. OpenAI did not respond to WIRED's request for comment.

It is worth noting that the sources do not specify exactly which portion of the release Buzzard's 38 cases cover, so the scale relative to the full flood is unclear. Another caveat: the audit's findings are known through WIRED's journalism; no primary source from Vechev's group — a paper, preprint, or statement — is available among the accessible sources, so the findings cannot be independently verified from here.

HumanLean: How the pipeline works

Vechev's group has named the system HumanLean. Its purpose is twofold: to stamp out errors and to make the formalizations easier to read, by annotating them with assumptions and cited external results.

According to WIRED, the pipeline works as follows: First, an AI agent — OpenAI's Astra in this case — audits the proof to lay out the goal, the assumptions, and the arguments. Then an independent agent checks for inconsistencies, which are logged separately for human review. The proof's steps are then reconstructed by AI agents with the additional annotations and merged into a single publication after a final check.

In a test in which the group used the system to formalize nine mathematics papers on various topics, human reviewers found no mismatches. That is a promising but small result: nine papers, assessed by the group itself, cannot be established as a robust level of reliability, and the test's results are known only via WIRED's reporting.

Vechev believes labs should publish versions of their solutions that are easier for humans to understand, and he urges the labs themselves to use HumanLean, which according to WIRED is compatible with several large language models.

The counterarguments: Intentional or inconsistent?

The parties are already arguing about the diagnosis itself. Ashvin Swaminathan of Axiom Math calls the inconsistencies between the Lean code and the human-written argument that Vechev's team identified "intentional," 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." He adds that the mismatches in the statements had already been identified and corrected.

The question is thus unresolved in the sources: Vechev's team describes the differences between paper and code as inconsistencies; Axiom Math describes them as a deliberate proof style. The two characterizations have not been reconciled.

Leonardo de Moura, co-founder of Lean FRO, who was not involved in Vechev's project, is skeptical of the solution itself — whether throwing yet another AI tool into the mix is the way forward. That is a counterweight to any simple "AI fixes AI" narrative — and suggests that HumanLean's role should be read as one proposal in an ongoing debate, not as an established answer.

What remains

Several questions remain open. There is no primary publication on HumanLean among the sources, so both the audit findings and the nine-paper test rest on secondary coverage. It is unclear exactly which portion of OpenAI's release Buzzard's 38 cases concern. OpenAI has not commented on the mismatches. The framing dispute between Vechev and Axiom Math is unresolved. And the Riemann claim from The Atlantic is still unverified context.

The concrete news, then, is this: a credible auditing group has documented that AI-generated mathematics in practice has a paper-and-code problem — and that some code files neither state nor prove the main theorem. Tools like HumanLean point toward a solution in which humans get readable, annotated proofs to examine. But whether the labs will accept the invitation, and whether AI-driven auditing actually builds more trust than it creates, has yet to be answered.

AIMag.no
AIMag.no
The AIMag.no editorial team covers artificial intelligence, tools, research, and regulation.

Get the best of AI MAG in your inbox

News, analysis, and ideas at the intersection of AI and society.