Axiom Math, a $1.6 billion startup, has announced the formal verification of the Stacks Project, a massive open-source reference library in mathematics. The company aims to create a verified foundation for AI agents, arguing that rigorous mathematical structures can help prevent the proliferation of low-quality AI-generated content, or "AI slop," in both mathematics and software development.
What Happened
On Wednesday, Axiom Math confirmed it had successfully formally verified the Stacks Project, one of the largest bodies of mathematics written by humans. Initiated by Columbia mathematician Johan de Jong in 2005, the project covers results from college-level algebra to advanced ideas in algebra, geometry, and number theory. Axiom’s fleet of AI agents translated the library’s approximately 7,654 pages into about 16 million lines of computer-checked code using the Lean programming language.
Formal verification involves rewriting proofs as code that a proof assistant checks line by line to ensure logical soundness. This process is critical for the Stacks Project because its theorems and definitions are deeply interconnected; each result builds upon previous ones. Axiom CEO Carina Hong noted that maintaining consistency across such a large and delicate structure was initially uncertain, stating, "Things that are big and things that are delicate in life just don’t go together."
To achieve this, Axiom employed a parallelized approach where AI agents identified and worked on tasks independently within a loose hierarchical structure. According to technical staff member Ashvin Swaminathan, the agents "were finding tasks for themselves and identified things that they could work on in parallel." The company also trained its own models to develop a "human sense of taste" for mathematical aesthetics, moving beyond simple correctness to preserve the elegance of the original work.
Why It Matters
The verification of the Stacks Project addresses a significant gap in formalized mathematics, particularly in algebraic geometry, which Swaminathan described as a "huge black hole" in existing formal libraries. By providing a verified substrate, Axiom enables researchers and developers to build new proofs and software on a foundation that is already logically checked, rather than starting from scratch. UCLA mathematician and Fields Medal winner Terence Tao has previously argued that "the more formalized proofs you have, the more formalized proofs you can make," highlighting the compounding value of such resources.
Beyond pure mathematics, the achievement has implications for the software industry. As AI agents increasingly write code, ensuring that this software is free from bugs and security vulnerabilities becomes more difficult. Axiom posits that mathematics is the ideal domain for building these verified foundations because the skills are transferable. "Agents can read our code, understand it, and build new infrastructure on top of it," Swaminathan said. Hong added that without a reusable, high-quality library, agents risk making "bad engineering choices" early on that are difficult to correct as they push the frontier.
Axiom’s approach also contrasts with other verification startups. Hong stated that the company’s decision to train its own models specifically for mathematical reasoning is an approach "most other verification startups haven’t taken." The company, founded in March 2025 by the 25-year-old Stanford dropout, raised a $200 million Series A led by Menlo Ventures earlier this year. Hong has openly challenged other coding companies to attempt formalization at this scale, signaling a competitive shift toward rigor in AI-generated outputs.
The Bottom Line
Axiom Math’s formal verification of the Stacks Project demonstrates the potential for AI agents to handle complex, interconnected logical structures at scale. By creating a verified foundation in mathematics, the company aims to provide a reliable substrate for future AI-generated software and scientific work, challenging the industry to prioritize logical consistency and quality over speed.