# Axiom formalizes the entire Stacks Project in Lean, creating the largest machine-checked math library ever built

Original title: The Stacks Project, Formalized in Lean

> Hacker News story 50380979 · language: en · submitted 2026-11-05
> Web version: https://zeli.app/story/50380979
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 96 · by [namanbnsl](<https://news.ycombinator.com/user?id=namanbnsl>) · 💬 26
[original](<https://axiommath.ai/research/the-stacks-project-formalized/>) · [HN discussion](<https://news.ycombinator.com/item?id=50380979>)

## Summary

Axiom has released a Lean formalization of the Stacks Project, the 7,500-page open-source foundation of algebraic geometry, spanning 16 million lines of code. Coordinated swarms of AI agents translated and proved thousands of theorems in parallel, preserving the project's permanent tags and linking every Lean declaration back to the original text. The library is open source and available at stacks.axiommath.ai, where researchers can view the formal code side-by-side with the canonical source and explore the dependency graph.

## Key quote

> Rather than treating failed proof attempts as mere obstacles, our agents diagnosed the underlying mathematical obstructions and constructed explicit counterexamples to prove where the original statements broke down.

## HN discussion (26 comments)

### [QuesnayJr](<https://news.ycombinator.com/item?id=50382299>)

> After they announced the formalization of the classification of Finite Simple Groups, I immediately wondered "What would happen if you tried to formalize the Stacks Project?"  Despite also being very long, it's the opposite of the CFSG: instead of a poorly organized set of results that contribute to proving one big theorem, it's instead a carefully-organized set of results that cover a broad area.
>
> The Stacks Project was the model for how mathematics should be done (at least for the pre-LLM era).  Algebraic geometry had lots of poorly organized foundational results that were not really created for themselves, but in order to solve problems in the field.  One person, Aise Johan de Jong, set out to fix it by organizing a project to write out the proofs of all of the results in a carefully organized fashion.  He's led the project since, though of course there are multiple contributors.  The whole thing is thousands of pages.
>
> I would be interested in hearing more about the gaps they uncovered in the existing results, and how they fixed them.

### [eternauta3k](<https://news.ycombinator.com/item?id=50381657>)

> Slightly off-topic, but how far are we from a formally verified stack for (say) a webdav or NFS server?

### [vatsachak](<https://news.ycombinator.com/item?id=50382406>)

> Okay this is actually useful AI formalization. But the stacks project is basically Lean in natural language anyways, so it makes sense why its high quality.

---

## Cite

- Page: https://zeli.app/story/50380979
- Date: 2026-11-05
- Source: axiommath.ai (https://axiommath.ai/research/the-stacks-project-formalized/)
- Hacker News: https://news.ycombinator.com/item?id=50380979

## Other languages

- zh: https://zeli.app/zh/story/50380979 · markdown: https://zeli.app/zh/story/50380979.md
- ja: https://zeli.app/ja/story/50380979 · markdown: https://zeli.app/ja/story/50380979.md
- ko: https://zeli.app/ko/story/50380979 · markdown: https://zeli.app/ko/story/50380979.md
- de: https://zeli.app/de/story/50380979 · markdown: https://zeli.app/de/story/50380979.md
- es: https://zeli.app/es/story/50380979 · markdown: https://zeli.app/es/story/50380979.md
- ru: https://zeli.app/ru/story/50380979 · markdown: https://zeli.app/ru/story/50380979.md
