Automatic Textbook Formalization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gloeckle, Fabian, Rammal, Ahmad, Arnal, Charles, Munos, Remi, Cabannes, Vivien, Synnaeve, Gabriel, Hayat, Amaury
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910100480851968
author Gloeckle, Fabian
Rammal, Ahmad
Arnal, Charles
Munos, Remi
Cabannes, Vivien
Synnaeve, Gabriel
Hayat, Amaury
author_facet Gloeckle, Fabian
Rammal, Ahmad
Arnal, Charles
Munos, Remi
Cabannes, Vivien
Synnaeve, Gabriel
Hayat, Amaury
contents We present a case study where an automatic AI system formalizes a textbook with more than 500 pages of graduate-level algebraic combinatorics to Lean. The resulting formalization represents a new milestone in textbook formalization scale and proficiency, moving from early results in undergraduate topology and restructuring of existing library content to a full standalone formalization of a graduate textbook. The formalization comprises 130K lines of code and 5900 Lean declarations and was conducted within one week by a total of 30K Claude 4.5 Opus agents collaborating in parallel on a shared code base via version control, simultaneously setting a record in multi-agent software engineering with usable results. The inference cost matches or undercuts what we estimate as the salaries required for a team of human experts, and we expect there is still the potential for large efficiencies to be made without the need for better models. We make our code, the resulting Lean code base and a side-by-side blueprint website available open-source.
format Preprint
id arxiv_https___arxiv_org_abs_2604_03071
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Automatic Textbook Formalization
Gloeckle, Fabian
Rammal, Ahmad
Arnal, Charles
Munos, Remi
Cabannes, Vivien
Synnaeve, Gabriel
Hayat, Amaury
Artificial Intelligence
We present a case study where an automatic AI system formalizes a textbook with more than 500 pages of graduate-level algebraic combinatorics to Lean. The resulting formalization represents a new milestone in textbook formalization scale and proficiency, moving from early results in undergraduate topology and restructuring of existing library content to a full standalone formalization of a graduate textbook. The formalization comprises 130K lines of code and 5900 Lean declarations and was conducted within one week by a total of 30K Claude 4.5 Opus agents collaborating in parallel on a shared code base via version control, simultaneously setting a record in multi-agent software engineering with usable results. The inference cost matches or undercuts what we estimate as the salaries required for a team of human experts, and we expect there is still the potential for large efficiencies to be made without the need for better models. We make our code, the resulting Lean code base and a side-by-side blueprint website available open-source.
title Automatic Textbook Formalization
topic Artificial Intelligence
url https://arxiv.org/abs/2604.03071