XNews

Axiom Releases 16M-Line Lean Formalization of Stacks Project

Axiom Releases 16M-Line Lean Formalization of Stacks Project

Axiom released a 16-million-line formalization of the entire Stacks Project in Lean, preserving the library's highly interconnected structure and optimized code quality. The formalization covers thousands of definitions, lemmas, and theorems across algebra, geometry, topology, and number theory, built by an agent swarm as a verified, reusable resource for human-AI collaboration.

Event version 1.

Key insights

Scale and scope

The release comprises 16 million lines of Lean code formalizing the entire Stacks Project. It spans thousands of definitions, lemmas, and theorems across algebra, geometry, topology, and number theory.

Structure preserved

The formalization retains the Stacks Project's highly interconnected structure rather than isolating single theorems. Code quality was optimized during the process.

Agent swarm construction

An agent swarm built the library in real time as a verified and reusable resource. The work is positioned for an era of human-AI collaboration.

Intended use

The library is intended for AI agents to discover, utilize, contribute to, and grow. Axiom describes the completion as only a starting point.

Source posts