AutoformBench tests AI models on 341 Lean 4 formalization tasks

The authors of an arXiv paper have introduced AutoformBench, a benchmark of 341 formalization tasks in Lean 4 drawn from 24 advanced mathematical sources.

Their starting point is that AI systems are increasingly capable of producing machine-checked Lean proofs of advanced mathematical results. Real formalization, they argue, involves more than proving isolated theorems. It requires building the definitions and intermediate lemmas that connect a result to a formal library. Existing evaluations, by their account, often hand models isolated theorem statements in settings where much of that supporting theory is already available in Mathlib.

AutoformBench is set up differently. Mathematicians experienced in Lean formalized and audited each target statement, and the corresponding Lean proof is left to the agent being evaluated. Each problem sits inside a broader mathematical development. The agent receives the informal proof, but it has to translate that proof into Lean while constructing the missing definitions, intermediate lemmas and supporting infrastructure.

The authors compared the performance of frontier models on these problems. They report a largely shared difficulty frontier: success depends less on the mathematical domain than on a model's ability to construct the missing formal infrastructure. The data and code are available in the facebookresearch/autoformbench repository on GitHub.

Key facts

  • AutoformBench contains 341 Lean 4 formalization tasks drawn from 24 advanced mathematical sources.
  • Lean-experienced mathematicians formalized and audited each target statement; the evaluated agent has to supply the Lean proof.
  • Agents get the informal proof and must also construct missing definitions, intermediate lemmas and supporting infrastructure.
  • In a comparison of frontier models, the authors found that success depends less on mathematical domain than on building that missing infrastructure.
  • Data and code are available at github.com/facebookresearch/autoformbench.

Why it matters

The benchmark targets a gap the authors see between current tests and real formalization work. If much of the supporting theory for a theorem already exists in Mathlib, a test mostly measures how well a model proves that one statement. AutoformBench also asks for the groundwork: the definitions and lemmas that link a result to a formal library. The reported finding points the same way, tying success more to that construction ability than to the branch of mathematics.

Who it affects

The work is most relevant to researchers who build or evaluate AI theorem provers and formalization agents. It also concerns mathematicians who formalize results in Lean and want to judge how much of a larger development an agent can carry, beyond closing a single stated theorem.

How to use it

The data and code are at https://github.com/facebookresearch/autoformbench. In the task design, an agent starts from an informal proof and an audited Lean target statement, then has to produce the Lean proof along with whatever definitions, intermediate lemmas and infrastructure are missing. Teams evaluating a prover can treat that as a test of development building as well as theorem proving.

How solid is it

This account rests on the abstract of an arXiv paper. The task count, the number of sources and the role of the mathematicians who audited the target statements are stated plainly. The headline finding is the authors' own: the abstract gives no success rates, scores or model rankings, and it does not say how the shared difficulty frontier was measured.

Risks and caveats

The abstract does not name the frontier models that were compared, list the 24 mathematical sources or the domains they cover, or describe the evaluation setup, such as the agent harness, compute or token budgets and scoring method. Readers should check those details before drawing conclusions about any particular model. The finding is also worded with care: the difficulty frontier is described as largely shared, and domain is said to matter less, which is different from not mattering at all.

“We find a largely shared difficulty frontier: success depends less on mathematical domain than on models' ability to construct missing formal infrastructure.”

— The AutoformBench authors, in the paper's abstract