AI & Models
Axiom Math formally verifies the Stacks Project in Lean
Axiom Math, a $1.6 billion startup, formally verified the Stacks Project, one of the largest bodies of mathematics ever written, as roughly 16 million lines of Lean code.
Axiom Math, a startup valued at $1.6 billion, said Wednesday it has formally verified the Stacks Project, an open-source algebraic-geometry reference that mathematicians regard as one of the largest bodies of mathematics ever assembled by humans. Columbia mathematician Peter Woit has called the project without real precedent, comparing it to the 20th-century Bourbaki books that rebuilt mathematics from its foundations.
Johan de Jong, a Columbia mathematician, started the Stacks Project in 2005 as a community-maintained reference spanning college-level algebra through advanced algebraic geometry, geometry, and number theory. Axiom’s AI agents translated the library’s roughly 7,654 pages into about 16 million lines of Lean, a programming language mathematicians use to rewrite proofs as code so a proof assistant can check each line for logical soundness — the same technique engineers use to verify chip designs, and that researchers in France have used to catch bugs in benefit-calculation software.
The scale was the hard part: Stacks’ theorems and definitions are deeply interconnected, so Axiom had to keep every cross-reference intact across the entire 16-million-line codebase. “We were not sure if vibe coding would be able to preserve the beauty of Stacks,” said CEO Carina Hong, a 25-year-old who dropped out of a Stanford math PhD program to found the company in March 2025. Rather than impose a strict hierarchy, Axiom let its agents find and divide tasks among themselves — an approach Hong expects to define much of AI’s future work. Axiom also trained its own models specifically for math, which Hong says sets it apart from most other verification startups.
The result fills what technical staff member Ashvin Swaminathan described as one of the field’s largest gaps in formalized mathematics — algebraic geometry, which had little prior Lean coverage for researchers checking new work. Axiom, which raised a $200 million Series A led by Menlo Ventures in March, argues each verified result becomes a reusable building block for future proofs. Fields Medal winner Terence Tao has made the underlying bet simply: the more formalized proofs exist, the more new ones become possible — a dynamic Axiom hopes extends from mathematics to the software AI agents write and, eventually, to science.
Why it matters
Axiom is betting that formal verification becomes the substrate AI coding agents build on to avoid producing “slop” — and it’s daring other AI coding companies to attempt formalization at this scale.