Axiom formalizes entire Stacks Project in Lean
Axiom released a roughly 16-million-line Lean formalization of the Stacks Project, a massive algebraic-geometry reference built over two decades. The machine-checkable library preserves the source’s interconnected structure and gives AI agents a reusable mathematical foundation. [Axiom](https://axiommath.ai/), [Stacks Project](https://stacks.math.columbia.edu/)
This is a compelling counterexample to the idea that AI-generated code at scale is inherently slop: formal verification makes correctness mechanically testable, while the real challenge becomes faithful translation and long-term maintainability.
- –The project converts thousands of definitions, lemmas, and theorems into a reusable Lean dependency graph rather than a flat code dump.
- –Lean can catch invalid proofs and broken dependencies, but humans still need to verify that formalized statements accurately reflect the original mathematics.
- –A public, machine-checkable algebraic-geometry library could become powerful infrastructure for theorem search, automated proving, and future AI agents.
- –The important benchmark is not line count; it is whether external mathematicians can build on, audit, and extend the resulting library.
DISCOVERED
1h ago
2026-11-04
PUBLISHED
3h ago
2026-11-04
RELEVANCE
AUTHOR
LinusEkenstam