# AutoformBot: Formalizing Mathematics at Scale

*Ahmad Rammal, Niket Patel, Fabian Gloeckle, Amaury Hayat, Julia Kempe, Remi Munos, Charles Arnal, Vivien Cabannes*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150745) · [OpenReview](https://openreview.net/forum?id=fhuGQ1zcqk) · [Open on the map](../papers.html#p150745)

Category: [LLM Agents, Evals & Benchmarks](../pcat/17.md) › [Long-Horizon Coding and Proof Benchmarks](../pgroup/99.md) · Type: new method · Keywords: autoformalization, multi-agent systems, mathematics verification, Lean 4, textbooks, formal libraries

Areas: [AI Agents](../areas/agents.md) › Agent Benchmarking › Agentic code and proof generation; [Evaluation & Benchmarks](../areas/evaluation.md) › Language Model and Agent Benchmarks › Formal Mathematics Benchmarks

## Summary
AutoformBot is a multi-agent system that automatically translates informal textbooks into a large verified library of Lean 4 definitions and proofs, producing over 50,000 declarations and 500 thousand lines of code.

## Explained to a 5-year-old
We have a team of robot helpers that read math books and turn the words into a special language that computers can understand. They work together to make a big library of math facts that are checked to be correct. This helps people trust the math they use. It makes learning and using math easier and safer. The helpers can handle many books at once, so we can learn a lot of math quickly.

## Explained to a 5-year-old, longer
Imagine a big group of friendly computers that love reading math books. They look at the words and pictures in the books and try to understand what the math ideas are. Then they write down those ideas in a special language that a math computer program can check. The computers work together, sharing their thoughts and helping each other finish the job. They keep track of which ideas depend on others, so they can build the math step by step. All the written math is stored in a huge library called ATLAS. This library contains many thousands of math facts, like definitions and proofs. Because the computers check each fact, we can be sure the math is correct. The project used more than twenty different textbooks covering topics like algebra and probability. It created over fifty thousand small pieces of math code and half a million lines of text. This makes it possible for researchers and students to use reliable math without spending years typing it by hand. In short, the system turns everyday math books into a trustworthy digital collection that anyone can use.

## For a technical reader
The system uses many LLM agents that cooperate to read textbook text and generate formal Lean 4 code. It integrates verification tools and a version-control workflow to ensure correctness and manage dependencies across thousands of translations. The result is a large, machine-checked library of mathematical definitions and proofs that can be reused by researchers and developers. This approach reduces the manual effort required for formalizing mathematics and provides a reliable foundation for automated verification.

## Problem
Automating the translation of informal mathematical textbook prose into machine-checked formal definitions and proofs at scale is challenging due to the complexity of natural language and the need for rigorous verification.

## Method
The approach employs thousands of LLM agents coordinated by formal verification tools, dependency-aware task scheduling, and collaborative version control to parse and translate textbook content into Lean 4 code.

## Results
The approach produced a verified library of over 50,000 Lean 4 declarations and 500 thousand lines of code from more than 20 textbooks, demonstrating that large-scale autoformalization is economically and technically feasible.

## Contributions
A multi-agent framework for scalable autoformalization and a large-scale formal library (ATLAS) covering graduate-level mathematics.

## Practical relevance
Enables small teams to verify both human- and machine-generated mathematics at research level, opening new possibilities for reliable mathematical knowledge.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150745)
