←News detail

Rohan PaulUpdated Nov 5 02:25

Axiom Math Releases a 16-Million-Line Lean Formalization Library of the Stacks Project

AI summary

Axiom Math has released a complete formalized version of the Stacks Project, totaling 16 million lines of Lean code, preserving its highly interconnected structure while optimizing code quality. The work was carried out by a swarm of agents, with humans responsible for tasks such as allocating architecture, core definitions, and individual proofs; every completed proof was verified by Lean and linked back to the original text and dependencies. This free, open-source library makes much of modern algebraic geometry available as computer-verifiable code, allowing mathematicians and AI models to directly reuse verified definitions and theorems.

Why read this

AI score 65

Axiom Math used a swarm of agents to convert the Stacks Project into 16 million lines of Lean code, demonstrating the feasibility of large-scale vibe coding in formal mathematics.

Topics

Tags

Quoted post

Axiom

@axiommathai

Most think vibecoding at scale is slop. Here’s a counterexample. Today we release a 16M-line formalization of the entire Stacks Project, critical infra underlying modern math, with optimized code quality and its highly interconnected structure preserved. A mathematical city 🌆 https://t.co/KMTNXpdr6s

View original

Most think vibecoding at scale is slop. Here’s a counterexample. Today we release a 16M-line formalization of the entire Stacks Project, critical infra underlying modern math, with optimized code quality and its highly interconnected structure preserved. A mathematical city 🌆 https://t.co/KMTNXpdr6s

View original post

Body

Vibe coding at scale has a reputation for slop, so Axiom Math formalized the Stacks Project to show otherwise.

Mathematicians usually trust a proof because experts read it; Axiom Math turned an entire field’s reference book into Lean code, so a computer can now confirm the logic line by line.

Axiom ran its agent swarm like an engineering org, with humans assigning some agents the architecture, others core definitions and others individual proofs.

Lean checks every completed proof, and each tagged result links to its original text and dependencies, so the pieces fit together like panes of the Louvre’s pyramid.

And nothing entered the library unless the logic held.

All these means that now we have a free, open-source library where a big chunk of modern algebraic geometry exists as computer-checked code instead of only as text in a book.

In practice, anyone (a mathematician or an AI model) who wants to prove something new in this field can now reuse these already-verified definitions and theorems instead of rebuilding them, and a computer will flag any step that doesn’t follow.

Source

Rohan Paul