atlas-lean  by facebookresearch

Autoformalized textbook mathematics library at scale

Created 1 month ago
265 stars

Top 96.3% on SourcePulse

GitHubView on GitHub
Project Summary

ATLAS (Autoformalized Textbook Library At Scale) addresses the challenge of formalizing vast amounts of mathematical knowledge by automatically translating informal textbook statements and proofs into Lean 4 code. It targets researchers and engineers in formal verification and theorem proving, providing a scalable foundation of reusable formal mathematical building blocks. The project aims to accelerate the development of formal mathematical libraries by leveraging LLMs for autoformalization.

How It Works

The core of ATLAS is the AutoformBot pipeline, which systematically converts informal mathematical content from undergraduate and graduate textbooks into formal Lean 4 definitions, statements, and proofs. This approach leverages LLMs to achieve unprecedented scale in formalization, generating a comprehensive library across diverse mathematical fields. Each book's formalization includes evaluation reports on faithfulness, proof integrity, and code quality, enabling systematic assessment and improvement of the generated artifacts.

Quick Start & Requirements

To build the full library, execute bash lake build. The project requires specific pinned Lean and Mathlib versions, managed via the lake build system. A visualizer is available at https://rammalahmad.github.io/atlas/ for browsing and inspecting formalizations. The autoformalization harness can be found at https://github.com/facebookresearch/autoform-bot. The companion paper is available at https://arxiv.org/abs/2605.29955.

Highlighted Details

  • Formalizes content from 26 mathematics textbooks across various fields.
  • Comprises over 630,000 lines of code, with 483,917 lines of Lean code.
  • Features 46,203 declarations, with 92.7% of them proved.
  • Achieved formalization for 71.3% of targeted textbook statements.

Maintenance & Community

ATLAS is an active, machine-generated extension effort led by Ahmad Rammal, Niket Patel, Fabian Gloeckle, Amaury Hayat, Julia Kempe, Remi Munos, Charles Arnal, and Vivien Cabannes. The project is continuously scaling its corpus, curating generated code, and improving alignment with Mathlib conventions. External contributions are welcomed.

Licensing & Compatibility

The license type and compatibility notes for commercial use or closed-source linking are not explicitly stated in the provided README.

Limitations & Caveats

As a machine-generated library, ATLAS is an ongoing effort requiring curation and refinement to fully align with Mathlib conventions. While proof rates are high (92.7%), the formalization of statements is at 71.3%, indicating ongoing work to cover all targeted textbook content. The project is not a finished product and is subject to the inherent limitations of automated formalization.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
40 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and Junyang Lin Junyang Lin(Core Maintainer at Alibaba Qwen).

InternLM-Math by InternLM

0.2%
546
Math LLM for bilingual reasoning tasks
Created 2 years ago
Updated 1 year ago
Starred by Yineng Zhang Yineng Zhang(Inference Lead at SGLang; Research Scientist at Together AI), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
3 more.

Math-Verify by huggingface

0.2%
1k
Math evaluator for LLM outputs in mathematical tasks
Created 1 year ago
Updated 6 months ago
Starred by Dan Abramov Dan Abramov(Core Contributor to React; Coauthor of Redux, Create React App) and Edward Sun Edward Sun(Research Scientist at Meta Superintelligence Lab).

LeanDojo by lean-dojo

0.4%
815
Machine learning for theorem proving in Lean
Created 3 years ago
Updated 5 months ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Vincent Weisser Vincent Weisser(Cofounder of Prime Intellect), and
3 more.

DeepSeek-Math-V2 by deepseek-ai

0.2%
2k
LLM for self-verifiable mathematical reasoning
Created 7 months ago
Updated 7 months ago
Feedback? Help us improve.