Axiom Math Uses AI Verification to Fight Mathematical Slop and Validate the Stacks Project

TL;DR
- Axiom Math is using AI agents to translate mathematical arguments into machine-checkable formal proofs.
- The company’s effort to formally verify the Stacks Project targets one of the largest and most important open mathematical libraries.
- If successful, the project could provide a stronger trust layer for AI-assisted mathematics by separating plausible-looking answers from proofs checked by a formal system.
Why formal verification matters
In ordinary mathematical writing, readers must evaluate whether every definition is being used correctly, whether hidden assumptions have been introduced and whether each inference follows from earlier results. Peer review and expert scrutiny provide important safeguards, but they do not guarantee that every line of a large body of mathematics has been independently checked.
Formal proof systems offer a different kind of assurance. A theorem is expressed in a precise language, and a proof assistant verifies that the conclusion follows from the stated assumptions under a fixed set of rules. The process is demanding, but it can expose gaps that are easy to overlook in natural-language mathematics.
Formal verification does not prove that a theorem is meaningful or that the definitions capture the mathematician’s intended concept. It does, however, check whether the formal statement follows from the formal premises. That distinction is central to the promise—and the limits—of AI-assisted theorem proving.
AI agents as mathematical collaborators
Axiom Math’s work focuses on AI agents that can operate across the many steps required to formalize mathematics. Those steps may include identifying relevant definitions, locating previously formalized lemmas, decomposing a theorem into manageable subproblems and generating code for a proof assistant.
When an attempted proof fails, an agent can inspect the error, revise its strategy and try again. This makes the system more than a chatbot producing a one-off answer. It becomes part of an iterative engineering process in which every successful result must pass an external verification step.
That workflow is particularly important for advanced mathematics. A formalizer may need to bridge substantial differences between the way a result is written in a textbook and the way it must be represented in a proof assistant. Informal mathematics often suppresses routine details; formal systems require those details to be made explicit.
The scale of the Stacks Project challenge
The Stacks Project is a natural stress test for AI-assisted formalization because of its breadth. It is a continuously developed, freely available collection of material covering topics including schemes, sheaves, cohomology, commutative algebra and algebraic geometry.
Its value lies not only in individual theorems but also in the connections among definitions, propositions and supporting results. Formalizing a small isolated theorem can be relatively straightforward. Formalizing a large mathematical library requires consistent choices about notation, foundational assumptions, data structures and the organization of dependencies.
A successful verification effort would therefore involve much more than translating prose into proof-assistant code. It would require building a durable formal ecosystem in which the library’s concepts can be reused and extended.
That is one reason the project matters to the wider mathematics community. A formally verified version of a major reference work could serve as infrastructure for future research, education and software tools—not simply as a collection of individually checked results.
The fight against “mathematical slop”
The term “mathematical slop” captures a growing concern about low-quality AI-generated mathematical content. Such material may look authoritative while containing subtle errors: an omitted case, an invalid generalization, a nonexistent theorem or a calculation that fails under closer inspection.
The risk is not limited to casual online answers. If AI systems are used to draft research notes, generate educational material or assist with software and scientific work, errors can be copied and amplified before anyone notices them.
Formal verification provides a practical filter. An AI-generated proof that does not compile or pass the proof assistant’s checks cannot be treated as verified. This does not make every accepted proof automatically valuable, but it raises the minimum standard for claiming correctness.
The distinction between generation and verification is crucial. AI may be good at proposing strategies and filling in repetitive formal details, while the proof assistant acts as an independent checker. In that arrangement, the AI does not receive trust merely because it sounds confident. It must produce an artifact that survives mechanical scrutiny.
What success would—and would not—mean
Formally verifying parts of the Stacks Project would be a significant technical achievement, but it would not mean that AI has solved mathematics.
Proof assistants operate within formal foundations and libraries. Their reliability depends on the correctness of the underlying system, the implementation of the trusted kernel and the accuracy of the formal statements. Formalization can also introduce its own challenges: a theorem may be represented in a way that is technically correct but difficult for humans to interpret or connect to ordinary mathematical practice.
There is also a difference between verifying existing mathematics and discovering new mathematics. AI agents may help with both, but formal verification primarily addresses the reliability of the final proof. It does not by itself explain why a theorem is important, identify the best abstraction or replace mathematical judgment.
The most credible near-term outcome is a partnership between human mathematicians, AI systems and proof assistants. Humans can choose definitions, evaluate strategies and decide which questions matter. AI agents can search, translate and automate labor-intensive steps. Formal systems can check whether the resulting proof is valid under the chosen foundations.
A new trust model for AI mathematics
Projects such as Axiom Math’s point toward a layered trust model for mathematical AI.
At the first layer, a language model can suggest an argument. At the second, an agent can turn that suggestion into formal code. At the third, a proof assistant can check the code. Each layer addresses a different failure mode, and only the final verification step provides a machine-checkable basis for accepting the formal claim.
This model could change how AI-generated mathematics is published and consumed. Instead of presenting an answer as simply “correct” or “incorrect,” systems could identify whether it is informal, partially checked, or fully verified against a specified library and set of axioms.
That kind of provenance would be valuable for researchers and educators. It could also help software developers build mathematical tools that distinguish between a generated explanation and a proof whose logical dependencies are available for inspection.
The road ahead
The Stacks Project is large enough that formal verification is likely to be a long-term effort rather than a single announcement or demonstration. Progress will depend on automation, but also on sustained work by mathematicians and formalization experts who can resolve ambiguities and maintain the resulting library.
The project’s broader significance may ultimately be measured not only by how much of the Stacks Project is verified, but by whether the work makes formal mathematics easier to extend. A reusable foundation could allow future AI agents to build on checked results instead of repeatedly reconstructing arguments from unverified text.
That would offer a meaningful response to the spread of unreliable mathematical content. AI would still generate mistakes, but those mistakes would have a clearer path to detection. More importantly, users would have a way to ask not only whether an answer sounds right, but whether its formal proof has been accepted by a trusted verifier.
For mathematics, that is a consequential shift. The value of AI may not lie in producing more confident-looking proofs. It may lie in helping build a world in which confidence is backed by verification.
Get All The Latest Updates Delivered Straight To Your Inbox For Free!