Video wird geladen...
Video konnte nicht geladen werden
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 🌆
6,134,281 Aufrufe • vor 21 Stunden •via X (Twitter)
54 Kommentare

Stacks is the working foundation for an entire field. Unlike a single-theorem repo, this mathematical city consists of thousands of definitions, lemmas, and theorems spanning algebra, geometry, topology, and number theory. We witnessed an agent swarm theory-build in real time.

From the Bourbaki movement to de Jong, legends constructed the cathedral of algebraic geometry piece by piece, in a formal logic way. They created it for future generations. Our swarm built this library as a verified and reusable resource, for an era of human-AI collaboration.

The Stacks project captures the crown jewel of modern mathematics. Like sending Voyager's golden record to outer civilization, we want AI agents to discover, utilize, contribute, and grow this masterpiece. This completion is only a starting point: visit

my stupidass can’t check the math TY for this

My reaction when we finished Stacks

back to back. and we’re not slowing down!

Algebraic geometry is the hardest subject in math, and one that made me feel like I reached my intellectual ceiling. So proud to see our swarm just formalized stacks… a full circle moment ❤️

RIP slop code!!

Touché.

Another week - another milestone - we are really pushing the boundaries of math and seeing the future of software engineering - life is fun on the edge 🎉

I'm tempted to clone @aaswaminathan01's voice and hook it up to my coding agent.

@aaswaminathan01 please do and send us the clip!

stacks project as verified code is a big deal

Exactly. Math as code, code as math.

whoa, that's some serious engineering right there 🔥

This is amazing! AI is taking some of the hardest maths in the world and making it easier to build on imagine what comes next!

Is this the end of slop mathematics?!

That's some seriously impressive engineering work.

Genuinely top 3 startup right now, hyperbullish Axiom!

We're just getting started!

Impressive launch. Very clear to me that this is important as a foundation to unlock more discoveries with agents. Very inspiring work!

thank you. that’s exactly how we see it. verified foundations are what let agents build without rechecking every step.

Algebraic geometry was hands down my favorite subject during my master's degree. What fascinated me most was the Italian school: astonishing geometric intuition, but a lack of formal rigor that eventually led to subtle errors until Zariski and Grothendieck rebuilt the foundations. What we’re building now feels like the next natural step.

beautifully put Rubén!

impressed formalizing 16 million lines while preserving the connections b/w definitions and theorems is huge

Comment:

Formalizing math at scale

16M lines and counting

how did you draw the ownership boundaries between the definition agents & proof agents?

the stacks project already delineates these boundaries, so it was a matter of designing agents tailor-made to execute these tasks

gonna browse the site tonight just to see the geometry chapters lol

what was the hardest part of keeping definitions compatible across chapters so the Lean structure stayed faithful to the original Stacks text?

yes, the premise of our work was to guarantee high reusability and compatibility across the library, enabling future formalizations to be done with ease

This is a huge achievement. Preserving structure at this scale is seriously impressive.

@CarinaLHong Congrats Carina and Axiom!!

@CarinaLHong thank you Stephanie! onward & upward!

how do i volunteer my tokens? seriously take them

Vibe codes no longer a pile of bricks 🙏

haha finally

A good counterexample to the idea that AI code at scale has to be sloppy.

keeping the structure intact is the part that impresses me most here.

The progress for Stacks really snuck up on me. I remember watching CFSG internally, and popping into the Stacks slack channel only to see it was basically already done. Incredible the pace of progress at this company!!!

CFSG set the playbook. Stacks was the swarm running at full speed.

16M lines of the Stacks Project? how are you checking the formalization stays consistent across the dependent chapters?

16M lines formalizing the entire Stacks Project vibecoding at scale just built a mathematical city!

a city where every building has been inspected by the Lean kernel

incredible staff. AI is disrupting math on so many levels, love it. this is really how agent swarms should write code.

Thank you, Rohan!

16M lines of formalized math with the dependency graph intact… formal verification is entering a whole new era 💀

I’m really trying to make sense of the tip on my matcha, then this gets released and I instantly give up my math career 🫡 unbelievable work

haha, thank you Linus!

I’m still not sure most people understand the accomplishment here. big kudos.

16M lines is literally insane btw.

and every line compiles.

