Axiom Math says it has released a machine-verified formalization of the Stacks Project, a widely used online reference in algebraic geometry. The company describes the release as a 16-million-line Lean library covering material corresponding to roughly 7,500 pages of mathematical text, produced with an AI-agent workflow and linked back to source material.[1][2]
The important claim is not that an AI system has independently “solved” algebraic geometry. The Stacks Project is an established body of work written by human mathematicians. The potential advance is different: converting a large mathematical reference into a corpus whose statements and proofs can be checked by Lean’s small trusted kernel. If the release is reproducible and its scope holds up under review, it could make formal verification more useful as infrastructure for researchers—and give AI systems a much stronger target than plausible-looking prose.
By the numbers
- 16 million lines: Reported size of Axiom Math’s Lean library.[2]
- About 7,500 pages: Approximate scale of the Stacks Project material the company says it formalized.[1][2]
- 0 unresolved
sorryplaceholders reported: Axiom Math says the release contains no admitted proof gaps of that common Lean form.[2]

What has been released—and what “verified” means
The Stacks Project is a living, collaboratively maintained reference spanning commutative algebra, sheaves, schemes, cohomology and other foundations used throughout modern algebraic geometry. Its web-native format and extensive cross-linking have made it a practical reference, but, like ordinary mathematical literature, it is written in human language. A reader must determine whether definitions match across sections, whether citations apply in a given setting and whether every proof step is sound.
Lean changes that mode of use. In a Lean formalization, definitions, theorem statements and proof terms are encoded in a precise language. The Lean kernel checks whether each proof establishes the theorem under the declared rules and prior dependencies. A successfully compiled library therefore offers a specific assurance: its encoded results follow from its encoded foundations. That is stronger and more mechanically repeatable than a natural-language proof, although it is not a guarantee that the formal statement perfectly captures the intended informal theorem.
Axiom Math’s announcement frames the library as source-linked: individual formal results are connected to relevant Stacks Project material.[2] That provenance layer matters. A formal corpus without it can be difficult for mathematicians to navigate or audit; a citation graph can let a user move from a familiar tag, definition or lemma in the source text to the executable counterpart and its dependencies. It also makes omissions, interpretive choices and scope boundaries easier to inspect.
The reported absence of sorry is meaningful but needs precise interpretation. Lean permits sorry as an explicit placeholder for an unproved claim during development. A library with none does not necessarily mean every informal argument has been captured exactly as readers expect. It does mean the project is not relying on that conspicuous mechanism to skip proof obligations. Reviewers will still want to build the released code themselves, inspect the project’s axioms and dependencies, and sample source links and theorem translations.
Why scale changes the technical and economic equation
Formal mathematics has a long history, and Lean already has a substantial community-maintained library, Mathlib. What makes this announcement notable is the asserted breadth of a coherent, advanced reference rather than a collection of isolated showcase theorems. Algebraic geometry is especially demanding because its concepts are layered: a result about schemes can depend on constructions in category theory, commutative algebra, topology and sheaf theory. Recreating that dependency structure in a proof assistant is labor-intensive.
Axiom Math says an AI-agent swarm carried out the work.[2] In this usage, “swarm” should not be read as a single model producing a 16-million-line proof in one pass. The practical architecture is likely to involve decomposition: agents work on bounded tasks, search existing lemmas, propose code, run the checker, repair failures and coordinate dependencies. The key control is that Lean can reject a proposed proof immediately when it does not type-check.
That feedback loop is a potentially consequential use of AI. Language models are good at generating candidate code and mathematical language, but they can state false lemmas, omit hypotheses or cite irrelevant results with confidence. In an ordinary mathematical workflow, finding such errors may require substantial expert review. In a formal workflow, many errors become compiler failures. The model can generate many attempts; the checker supplies a hard acceptance criterion.
That does not remove the human work. Someone must choose representations, establish interfaces between theories, resolve ambiguities in the source, manage library design and decide what constitutes a faithful formal counterpart. It also does not make all theorem proving easy: automated systems can get stuck on a missing general lemma or on a poor abstraction just as human formalizers can. But it may reduce the marginal cost of turning well-scoped, already-known mathematics into verified artifacts.

From static reference to executable research infrastructure
A source-linked formal corpus could be useful to mathematicians in ways that a conventional textbook or web reference cannot. A researcher could inspect the exact hypotheses of a theorem, ask Lean whether a proposed specialization follows, reuse a proof as a dependency, or discover which prior results are actually required. Changes to a definition can trigger a rebuild that identifies downstream breakage rather than leaving inconsistencies for a future reader to find.
It could also improve the quality of mathematical software. Algorithms in computer algebra, cryptography and scientific computing often rest on results whose conditions are subtle. Formal libraries do not automatically prove that an implementation is correct, but they can provide a more reliable layer of specifications and reusable theorems from which verified algorithms may be developed.
For AI developers, the value is equally concrete. A formal repository is training and evaluation material with an unusually clean signal: proof attempts either compile or fail. Source links add another signal, connecting informal mathematical exposition to formal statements. That pairing may support systems that translate literature into Lean, retrieve relevant lemmas, explain formal proofs in readable language or help researchers test conjectures against a checked body of knowledge.
There is a market implication as well. AI companies and research labs have invested heavily in models that can write code, yet general-purpose coding benchmarks are becoming less informative as systems improve. Formal mathematics offers a demanding domain where success is not based on style or a human grader’s impression. A tool that reliably expands and maintains verified libraries could become valuable to academic groups, proof-assistant ecosystems and organizations building high-assurance software. The near-term business case is likely to be tooling and services rather than automated discovery of major new theorems.
The verification questions that remain
The scale claim should be assessed through the artifact, not the announcement. A 16-million-line repository can include generated files, repeated boilerplate, documentation, imports and supporting infrastructure as well as original proof code. Lines of code are a useful measure of engineering scale, not a direct measure of mathematical novelty or of one-to-one coverage. Likewise, “formalizing the Stacks Project” can mean different things: formal counterparts for all principal results, a selected body of material, or a library designed around the project’s organization.
Independent users should therefore look for a public, pinned repository; reproducible build instructions; exact Lean and dependency versions; licensing; a machine-readable map from Stacks tags to formal declarations; and documentation of any axioms beyond Lean’s standard logical foundation. They should also examine whether statements retain the relevant hypotheses and whether major proofs are genuinely present rather than hidden behind very strong imported assumptions. Commentary examining the announcement has similarly emphasized that verification and coverage are separate questions, and that public inspection is central to evaluating both.[3]
There are conceptual limits, too. The kernel verifies a formal statement, not the social meaning of a theorem name, a source citation or a modeling decision. If a source passage is ambiguous, formalization forces a choice; that is often beneficial, but it can also expose places where a clean informal narrative has left assumptions implicit. Human domain experts remain necessary to assess the translation.
What to watch next
The next milestone is community use. Mathematicians will test whether the library is navigable, whether its abstractions work for new proofs, and whether its source links are accurate enough to make it a daily research aid. Lean developers will assess integration with existing ecosystem conventions and the maintenance burden. The release will be more significant if outside contributors can reproduce builds and extend the work without relying on Axiom Math’s internal agent system.
A second test is whether the approach generalizes. Formalizing a mature, carefully edited project is an excellent setting for AI-assisted verification because there is a rich source text and a known mathematical destination. Frontier research is messier: definitions shift, proofs contain intuition and gaps may be productive rather than defects. The likely path forward is not the replacement of mathematicians, but a division of labor in which people set directions and judge meaning while machines help turn stable arguments into durable, checkable components.
Editor’s Take
I see the practical opportunity here as a build system for mathematics, not a claim that a model has acquired human-level mathematical understanding. The compelling part is the feedback loop: agents can attempt enormous amounts of formal work, while a kernel enforces a binary technical standard. That is a far better foundation for reliable AI assistance than asking a model to sound persuasive about a proof.
The number to watch is not 16 million lines. It is the fraction of useful Stacks material that independent mathematicians can locate, compile, audit and reuse with minimal friction. If source links, dependency maps and reproducible builds make that easy, this can become valuable shared infrastructure. If the corpus is hard to inspect or its coverage is looser than the headline suggests, it will remain an impressive internal demonstration. Open artifacts and external extensions will decide which outcome it is.
References
- The Information Machine – https://www.theinfomachine.fyi/daily/2026-11-08
- Axiom Math, “The Stacks Project Formalized” – https://axiommath.ai/research/the-stacks-project-formalized/
- AI Proved What?, “Stacks Project Lean” – https://aiprovedwhat.com/episodes/ax06-stacks-project-lean/?utm_source=openai
