Levent Alpöge and Claude recently proved the Riemann Hypothesis, a 167-year-old conjecture that the primes are spread out as evenly as possible.
Riemann was a deceptively simple statement that none of the world’s mathematicians could solve. People say this might mean the end of the world — or, if they’re feeling less catastrophic, only the end of mathematics. After all, what purpose do we mere mortals have in a world where AI can solve our hardest technical problems?
I find that framing foolish. We’re seeing the beginning of a new era of mathematics, one I’m incredibly excited about: not the end of human intelligence, but one where the types of intelligences that can contribute to mathematics have widened extraordinarily.
To understand what I mean, come sit in with me on the first class of Princeton’s first class for math majors: MAT 216. This is the hardest math class available to freshmen, at the world’s best university for math.
It’s filled with IMO medallists and prodigies. The first class, we won’t be able to find a seat, because it’ll be packed with students. Wait a week, and half of them will drop off. By the end of the year, only a tiny fraction will remain math majors, and of those, a handful will decide to pursue it in academia.
The people who make it through the class are some of the smartest kids in the world. But most of them won’t make it professionally, because historically the bar for becoming a contributing mathematician is absurdly high. You have to be really smart to make it: the smartest out of a pool of already very smart people.
I was one of those kids who dropped out of math. It was too hard for me. I wasn’t smart enough.
Specifically, the problem I ran into was that I just couldn’t model everything in my head. There were so many parts that I had to understand fully, and I couldn’t ever check that my understanding of any specific part was correct.
To try to solve any problem I had to build an edifice in my head of all the theorems and how they fit together. But it always felt slippery to me. I never knew where I was right or wrong — just that the problem didn’t make sense to me because some part of my understanding of this complex model was broken.
I think my understanding of complex mathematics was supposed to be built by putting together smaller models. But I could never figure out how to check if my small models were correct, and so when I couldn’t solve a large problem, I didn’t know which model was wrong, which part to learn more about.
On the other hand, I had no problems in college at all with coding and computer science. And I think that a large part of why I could code but not do math was because I could check and correct my understanding of any system against the compiler and tests.
The computer let me offload my problem-solving. For any specific subsection of any problem, I could go deep. I could make sure I understood every detail by checking against the compiler and tests, and then, with that understanding, package it up into an abstraction — which I could use to model it for any future problem that I was trying to build on top of it. The modeling required for engineering was not only in my head but also in the computer: an automated, software-based checker.
I’m not an academic mathematician but if my experience of trying to do proof-based math was anything to go by, I’m sure the most gifted mathematicians are people who are capable of forming these models in their head without any automated checking. In some ways, perhaps intelligence is a measure of how big a model you can hold in your head. But that pool of people is very, very small.
One of the most interesting things about Lean is that it gives us this software — for everybody else to productively model and think about mathematics, and perhaps work on a very small part of it that can contribute to a greater cause.
To the layperson, 17 million lines of Lean may seem like a garbled mess that we’ll never understand. But this is not the end state. We’re already seeing intelligent mathematicians simplify it into smaller pieces that we can comprehend. Out of this complexity, we have started to extract patterns.
I notice that people who despair most about the role of AI in software and now math think that the models are coming up with these abstractions on their own — that they’re superhuman and we contribute nothing to this technical discovery.
In my experience as a software engineer, this is not true. To explain to you why, I want to take an example of something people are doing a lot of today: rewriting programs into Rust.
The AI-psychosised hype-bros will say you don’t really need to understand Rust, that you can speed up your program by simply telling an agent to “go rewrite it better”.
They’re right. You probably can meaningfully speed up your program by having Claude rewrite it in Rust.
But when I hear this, I think a lot about the cerulean quote from The Devil Wears Prada:
You go to your closet and you select that lumpy blue sweater, because you’re trying to tell the world that you take yourself too seriously to care about what you put on your back. But what you don’t know is that that sweater is […] actually cerulean.
You’re also blithely unaware of the fact that in 2002 Oscar de la Renta did a collection of cerulean gowns, and then, I think it was Yves Saint Laurent, wasn’t it, who showed cerulean military jackets. And then cerulean quickly showed up in the collections of eight different designers, and then it filtered down through the department stores, and then trickled on down into some tragic Casual Corner, where you no doubt fished it out of some clearance bin.
[… It’s] sort of comical how you think that you’ve made a choice that exempts you from the fashion industry, when in fact you’re wearing a sweater that was selected for you by the people in this room, from a pile of stuff.
Yes, you can rewrite your program in Rust. Do you know why? Because a bunch of extremely gifted programmers developed Rust, with a lot of care, by building a beautiful abstraction over it. That lets you verify your fast program is memory safe because Rust tells you at compile time instead of crashing mid-run when you mess up.
Your fast, rewritten program is powered by an abstraction that captures millions, if not billions, of years of expensive runtime lessons from segfaulting programs, boiled down to a simple syntax your AI agent can manipulate to write you a fast, memory-safe program. Claude is good at using building blocks but still bad at creating them from scratch.
Software is like this all the way down. It’s been like this since the very first compilers were built in the 50s. We build tools on these abstractions. They never really go away. They just power the next generation, quietly and without asking for applause.
Finally — do you want to know a secret? Programmers who understand Rust and AI are the ones who will build the best programs.
I will tell you from experience that you can assemble a pile of vibecoded Rust on top of itself if you’re simply reproducing the behavior of a program that is already well tested. But when you start building new functionality into that program, you’ll need to understand both Rust and the way that AI falls down in writing it, if you want any hope of building a program that does anything novel without falling over itself all the time in mysterious ways.
Perhaps Riemann was something similar: a pre-defined, easily verifiable way to advance math that was built through decades of human labour. AI is going to come by and smash all of that. But from it, we’ll start to see something more interesting emerge.
I dropped out of math early, because I didn’t make it. But I don’t feel bad, becuase arguably, Levent didn’t make it either. Which is incredible. Levent was a Harvard valedictorian. He did his PhD in mathematics at Princeton. Levent is objectively one of the smartest people in the world, but mathematicians will say that Levent’s resume did not obviously make him a star.
What Levent knew how to do, though, was use technology. With it, he won. I don’t think this is a coincidence. Technology has been the field that has both had immense demand for specialists and also produced enormous output for the world over the last few decades.
All those kids who dropped out of math? Many went on to work in technology, either as quants, researchers, or engineers. These are fields that model the world through software.
“The best minds of my generation are thinking about how to make people click ads,” we heard often in the 2010s. It’s true! Ads were the problems we knew how to solve, then, with technology.
Software powered trillions of dollars of market value, and propelled huge changes across the world. The trillians are important, because you don’t create trillions of dollars in value for the human race with the intelligence of one or two lone geniuses. Works of that scope are built on a mountain of abstractions and the work of tons of people; atop a pile of programs we started building in the 50’s.
Until now mathematics has been the work of craftsmen. There’s been no way to build what people know on top of each other. With Lean and LLMs, the number of people who can work on mathematics has increased a hundred- or thousand-fold. Levent’s discovery is the first of a new era: one where it’s not just Levent and Claude, but where even the engineer who optimized the GPUs that Fable Six was trained on could contribute part of her mind to this puzzle.
I wouldn’t be surprised if we are eventually able to create libraries on Lean that represent different forms of math (perhaps even letting a layperson like me play with different modules in order to put them together and see what happens). But this isn’t the way that anyone has done mathematics up till now, so there’s very little infrastructure for it. We aren’t used to it yet.
What will be the Rust of mathematics? I don’t know, but I’m excited to see it. We’re at the dawn of a new era.


