i
News
News · 2026-12-04

AI-generated mathematical texts are error-prone, so people are using AI to fix them

Dataist Dataist

AI-generated mathematical texts are full of errors — people are trying to fix them with AI

Cover: AI-generated mathematical texts are error-prone, so people are using AI to fix them

After OpenAI published more than 700 mathematical papers in October, it emerged that some of the code accompanying them did not match the claims in the texts. Researchers at ETH Zurich developed HumanLean, a system that looks for discrepancies between Lean proofs and their explanations for human readers, and adds comments to make the formalizations easier to read. In a test involving nine papers, reviewers found no discrepancies. But mathematicians disagree over whether another AI-based tool can solve the problem of making proofs understandable.

HumanLean helps check and simplify AI-generated proofs

Where texts and code diverge

Alongside its papers, OpenAI published files containing code intended to help verify mathematical results. But within a few months, it became clear that many programs did not support the claims in the accompanying texts. Even correct code can be difficult for mathematicians to understand.

A group led by Martin Vechev, a professor of computer science at ETH Zurich, found discrepancies in publications by OpenAI and startup Axiom Math, as well as in 29 other proofs created with AI that it reviewed. Typically, the code solves the problem in a different way from the one described in the paper. The result may still be correct, but the reasoning in the text and the program differs.

Some errors are more serious: the code does not always state the paper’s main theorem correctly, and sometimes does not prove it at all. In a separate review of OpenAI’s October publication, British mathematician Kevin Buzzard found 38 such cases. OpenAI did not respond to WIRED’s request for comment.

This year, leading labs said they had solved hundreds of major mathematical problems, demonstrating that their models can reason and write code. To make solutions machine-verifiable, researchers translate problems from natural language and mathematical notation into a sequence of logical steps in the Lean programming language. This process is called formalization: Lean automatically checks the proof, making verification more efficient.

But the number of such papers is growing, while there are not enough experts to review them. The code is also often difficult to read because it was not written by a team of people. Vechev notes that the same problem arises when translating human explanations into Lean not only in mathematics, but also, for example, when writing and checking software.

How HumanLean works

HumanLean tries to find errors and make formalizations easier to understand by adding assumptions and references to external results. The process has several stages:

An AI agent — Astra from OpenAI in the case described — analyzes the proof and identifies its goal, assumptions, and arguments.
A second, independent agent checks the proof for discrepancies; any problems it finds are sent separately to people.
AI agents rebuild the proof steps with additional explanations.
After a final review, the results are combined into a single paper.

HumanLean was tested on the formalization of nine mathematical papers on different topics. Reviewers found no discrepancies in the results. The experiment also showed that the system can make Lean code shorter by removing unnecessary claims.

The debate over AI’s role

Leonardo de Moura, an AWS scientist and co-founder of the nonprofit Lean FRO, which develops the Lean language and theorem-proving system, considers errors in problem statements a serious issue. But he doubts that adding another AI-based tool is the right way to solve it. Differences in the reasoning of a proof are less concerning if the result itself passes verification.

Ashwin Swaminathan, a member of Axiom Math’s technical staff, explains that Lean checks every proof with a machine, so a theorem’s correctness does not depend on whether someone can follow the human-written reasoning step by step. He describes the discrepancies between code and text found by Vechev’s group as intentional: Axiom Math’s agents were tuned to produce correct and efficient proofs. According to Swaminathan, the theorems are the same in both versions, and every proof has been checked. Differences in the wording have since been found and corrected.

Mathematicians have criticized companies for publishing work that does too little to help people understand the results. Vechev agrees that labs should publish clearer versions of their solutions and urges them to use HumanLean. He says the system is compatible with several large language models.

The limits of verification

The difficulty of simplifying Lean code became especially clear after Anthropic researcher Levent Alpöge published a proof of the Riemann hypothesis in late November, one of mathematics’ best-known problems. It ran to more than 17 million lines; Alpöge later called the result “a parody of garbage.” Over the past couple of weeks, mathematicians have shortened the proof to about 100,000 lines. De Moura says it is not yet clear whether HumanLean can simplify it further.

Lean can check whether a formal proof is valid, but it cannot determine whether the proof is intuitive, simple, or understandable. In de Moura’s view, if the goal is to explain mathematics to people, human involvement is still necessary.

Dataist’s take: HumanLean targets two distinct problems at once: checking whether a formal proof matches its accompanying text and making the code easier to read. The test on nine papers shows that the system handled verification in that sample, but it does not by itself answer whether mathematical texts will become easier to understand without human involvement.

Daily AI news

Every day we pick what actually matters in AI and explain it plainly — no hype, no filler. Subscribe if you want to follow where the industry is going.

Only what matters — every day

Follow on X