AI agents rewrote mathematics into 16 million lines of code
Axiom Math says its agents formally verified the Stacks Project, turning about 7,654 pages of theorems into 16 million lines of Lean that a machine can check.
AI news faster than on the site — on Telegram KARMAZIN MEDIA

Axiom Math says its AI agents have formally verified the Stacks Project, one of the largest open libraries of human mathematics. That is roughly 7,654 pages of theorems rewritten into about 16 million lines of Lean, a language a computer can check line by line.
Johan de Jong started Stacks in 2005 as an open reference that runs from college algebra up through advanced algebraic geometry and number theory. The results are tightly linked, so the agents had to keep every dependency intact instead of dumping a loose translation.
The company is valued around $1.6 billion. Founder Carina Hong left a Stanford math Ph.D. and launched Axiom in March 2025; in March this year it raised a $200 million Series A. The agents ran in parallel, picking their own chunks of work, while the team trained in-house models to develop a sense of mathematical taste.
For mathematicians this fills a hole: Lean had almost no foundation in algebraic geometry, and now it does. For software the bet is different. If agents write more of the world's code, they need a verified base instead of another pile of generated slop.
Hong even dared coding companies to match formalization at this scale. For now it looks like agents can be trusted with math, if you first make them prove every line.
AI agents
AI agents
Tools