whatisgithub

What is atlas-lean?

facebookresearch/atlas-lean — explained in plain English

Analysis updated 2026-05-18

160LeanAudience · researcherComplexity · 5/5Setup · hard

In one sentence

A huge library of university math automatically converted from 26 textbooks into Lean 4, a language where proofs are checked by computer.

Mindmap

mindmap
  root((atlas-lean))
    What it does
      Formalizes 26 math textbooks
      Verifiable Lean 4 proofs
    Tech stack
      Lean 4
      AI autoformalization
    Use cases
      Reusable proof building blocks
      Train AI formalizers
      Browse via visualizer
    Audience
      Math researchers
      AI researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Reuse verified formal proofs as building blocks for new mathematical formalization work.

USE CASE 2

Train or benchmark AI systems that automatically write formal math proofs.

USE CASE 3

Browse and compare informal textbook statements against their Lean 4 versions in the web visualizer.

What is it built with?

Lean 4AI formalization

How does it compare?

facebookresearch/atlas-leanlean-dojo/torchleanjzshischolar/pyleaner
Stars1605514
LanguageLeanLeanLean
Setup difficultyhardhardhard
Complexity5/55/54/5
Audienceresearcherresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Working with the library requires familiarity with Lean 4 and formal mathematics tooling.

So what is it?

ATLAS is a large library of university-level mathematics that has been automatically converted from textbook form into a formal, machine-verifiable format called Lean 4. Lean is a programming language designed for writing mathematical proofs in a way a computer can check for correctness, rather than relying on human review. The conversion process, called autoformalization, was carried out by AI language models that read informal textbook statements and proofs and rewrote them in Lean code. The library draws from 26 textbooks covering a wide range of advanced mathematics: real analysis, algebra, algebraic geometry, topology, number theory, probability, statistics, combinatorics, differential geometry, and theoretical computer science. As of May 2026, it contains about 631,000 lines of code, 46,203 mathematical declarations, and 42,837 proved results, which is a 92.7 percent proof rate. Roughly 71 percent of the target statements from the source textbooks have been formalized so far. The purpose of the library is to provide reusable building blocks for future mathematical formalization work, both for researchers doing it by hand and for AI systems doing it automatically. Having a large corpus of verified formal mathematics in one place makes it easier to train better AI formalizers, to test whether new tools can prove known results, and to build on existing proofs rather than starting from scratch. Each book in the library comes with the Lean source files, a list of which textbook statements were selected for formalization, and a report with automated quality scores covering faithfulness and proof correctness. A web-based visualizer lets you browse the library, compare the original informal statement with its Lean version, and see how theorems depend on each other. This is an active and ongoing project from Facebook Research. External contributions are welcome. The project is not a finished product but rather a growing corpus that the team is continuing to expand and curate.

Copy-paste prompts

Prompt 1
Explain what Lean 4 and autoformalization mean, using this ATLAS library as an example.
Prompt 2
Show me how theorems in the ATLAS library depend on each other using the web visualizer.
Prompt 3
What is the current proof rate and how many results has ATLAS formalized so far?
Prompt 4
Help me understand how AI models were used to convert textbook proofs into Lean code here.

Frequently asked questions

What is atlas-lean?

A huge library of university math automatically converted from 26 textbooks into Lean 4, a language where proofs are checked by computer.

What language is atlas-lean written in?

Mainly Lean. The stack also includes Lean 4, AI formalization.

How hard is atlas-lean to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is atlas-lean for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.