
Key points
- Axiom Math formally verified the Stacks Project using AI agents.
- The output comprises approximately 16 million lines of Lean code.
- The project covers roughly 7,654 pages of advanced mathematics.
Axiom Math announced on Wednesday that its AI agents had formally verified the Stacks Project, a major library of mathematical results. This verification translates human-written mathematics into computer-checked code to ensure logical soundness.This means AI can now check millions of lines of complex math to ensure they are correct.The verification of the Stacks Project into Lean code provides a machine-checkable basis for further formalization efforts.
The evidence
TechCrunch reported that the startup converted roughly 7,654 pages of the Stacks Project into about 16 million lines of code.reported The Stacks Project began in 2005 as an open-source reference by Johan de Jong.reported Mathematicians have contributed to it continuously since then.
Columbia mathematician Peter Woit described the Stacks Project as having nothing comparable in the field. He compared it to the famous Bourbaki books, which rebuilt mathematics from its foundations in the 20th century.reported This context highlights the scale and importance of the verified library.
The decision
Axiom Math aims to build a verified foundation that AI agents can rely on for writing software. The company plans to eventually use this foundation for scientific work. This approach seeks to avoid the spread of unchecked proofs, often called AI slop.
The startup invested $1.6 billion to pursue this verification strategy.reported It bets that mathematics can avoid being flooded with incorrect results by standing on firmer ground. This involves using formal verification to check every step of a proof.
The takeaway
Formalizing math requires rewriting proofs as code in a programming language called Lean. A proof assistant then checks the code line by line for logical errors. If the proof passes, mathematicians can trust that it is logically sound.
Engineers use similar formal verification methods to confirm that chip designs work correctly. Researchers in France have also used this technique to catch bugs in software. That software calculates family benefits, showing the practical application of these methods.
Building on this
Developers can use this verified library as a trusted base for building complex software systems. The 16 million lines of Lean code provide a foundation that AI agents can rely on.reported This reduces the risk of errors propagating from unchecked mathematical assumptions.
The interconnected nature of the Stacks Project means that each theorem builds on previous ones. Maintaining these connections across millions of lines of code was a significant challenge. Developers must ensure that any new code respects these existing dependencies.
Axiom Math’s approach suggests that AI agents can be used to formalize large bodies of knowledge. This could accelerate the verification of other mathematical libraries or scientific theories. However, the process is resource-intensive and requires careful management of complex dependencies.
Why it matters
- Enterprise IT buyers can use verified mathematical foundations to reduce errors in software development.
- The scale of the Stacks Project verification demonstrates the potential of AI agents for large-scale formalization.
- Formal verification methods used here are already applied in chip design and benefit calculation software.
- The project addresses the growing concern of AI-generated unchecked proofs in mathematics.
Topics: AI agents, formal verification, Lean, mathematics, software development
Updated
Then / now / next
The Stacks Project existed as a human-written open-source reference library of mathematics.
Axiom Math has formally verified the entire project using AI agents and Lean code.
The company plans to use this foundation for AI agents to write software and do science.
Story timeline
- Then The Stacks Project existed as a human-written open-source reference library of mathematics.
- 05 Nov 2026 Axiom Math wants to keep AI slop out of mathematics
- Now Axiom Math has formally verified the entire project using AI agents and Lean code.
- Next The company plans to use this foundation for AI agents to write software and do science.
The strongest doubt
Counterpoint from the sources
Axiom Math was initially unsure if the project would work due to the delicate interconnectedness of the results.
For readers
Developers
- Can use the 16 million lines of Lean code as a verified foundation for software.
- Must manage complex dependencies between interconnected theorems when building new systems.
Researchers
- Can rely on a formally verified library for advanced mathematical work.
- May apply similar formal verification methods to other scientific theories.
Investors
- Axiom Math has raised $1.6 billion to build this verified foundation.
- The company aims to expand beyond mathematics into software and science.
Ask the article
Local keyword search of this article; no generated answers.Did this article give you the evidence you needed?
Your choice stays on this device. No public tally.Terms in this story
Stacks Project
An open-source reference library of mathematics started in 2005.
Lean
A programming language used for rewriting mathematical proofs as code.
Formal verification
A method of checking code line by line to ensure logical soundness.
AI slop
A term for unchecked or low-quality AI-generated content, including proofs.
Questions readers ask
What is the Stacks Project?
The Stacks Project is an open-source reference library of mathematics started in 2005 by Johan de Jong.
How many lines of code were generated?
The AI agents generated approximately 16 million lines of Lean code from the Stacks Project.
What programming language was used for verification?
The proofs were rewritten as code in a programming language called Lean for formal verification.
Connected stories
Reading receipt
- Axiom Math formally verified the Stacks Project using AI agents.
- The output comprises approximately 16 million lines of Lean code.
- The project covers roughly 7,654 pages of advanced mathematics.
Still open: How long will it take to verify other large mathematical libraries?
Still open: What specific software applications will Axiom Math build first using this foundation?