The prose version of the proof runs past a quarter of a million pages. Claude called it the book. Its Theorem 1 opens by pointing out that a number other than one half must be either bigger or smaller than one half. Levent Alpöge, the Anthropic mathematician who found the proof with an internal version of Claude, decided that nobody should be asked to read that. What he published instead is a library for the Lean proof assistant, 17 million lines long, with a short note on how it came about.

The library proves the Riemann Hypothesis. The hypothesis says that the zeros of one particular function all lie on a single line, which means the prime numbers are spread out about as evenly as chance would spread them. It has been mathematics' most famous open problem for well over a century. The library also proves the generalised version for the related functions that count primes in arithmetic progressions, such as the primes that end in 7.

Alpöge's note traces the core idea to an old argument that settled the same question in a simpler world, where curves over finite fields stand in for the integers. That argument relies on multiplicity, roughly a function vanishing many times over at one point, which over the integers would mean something like differentiating whole numbers. Alpöge supplied the analogy and did the steering. Claude pulled ahead once the proof needed heavy machinery from automorphic forms on higher-rank groups, an area Alpöge had never made his own. The step he singles out is Claude's idea to imitate multiplicity with a long chain of so-called theta lifts, whose length grows with the square root of the range of primes being counted. He expects the argument to shrink dramatically, even though he has yet to master much of the mathematics around his own result.

With no readable paper, everything rests on the Lean. Scott Aaronson pointed out that Lean's kernel has had bugs that let people prove 0 = 1, a hole a motivated AI could exploit. The people who maintain Lean and Mathlib, its shared library of formal mathematics, still took only about a day to declare the proof correct. Nobody read the 17 million lines. Two independent tools confirmed that the theorem in Alpöge's library is exactly Mathlib's own statement of the hypothesis, written and vetted by experts before any proof existed. The exported proof then went through Lean's own kernel and through several checkers written separately in other programming languages, two of which come with a formal proof that they cannot accept a false proof.

At MIT, Andrew Sutherland rebuilt everything in a sandbox with no network and got an export that matched the published one byte for byte. He also combined the proof with an independent formalisation of an old equivalent of the hypothesis due to Guy Robin. The result is a statement about sums of divisors of ordinary integers with no zeta function anywhere in it. A community repository has since taken over the code to make it faster to build and readable to people, with the logic of the proof left alone.

On the day Alpöge's proof appeared, Ravi Vakil of Stanford posted a second proof of the generalised hypothesis on his blog. Alessandro Masullo wrote it by hand, 940 pages with no AI involved. Brian Conrad, a Stanford number theorist, had spent months checking it, with encouraging results so far. Vakil rushed it out mid-revision. Within hours, several readers reported problems they had found with the help of AI models. One of them turns on a subtle difference between two kinds of basis in functional analysis.

With Tristan Buckmaster and other collaborators, Alpöge also released proofs, formalised in Lean, that the Euler and Navier–Stokes equations of fluid flow can blow up in finite time. Terence Tao ranked the three results by how digested they are, from a readable paper for Euler down to the Riemann proof, which exists only as Lean. Over the summer, Anthropic had written up a smaller Claude result about the zeros of the same function, adding that it did not expect those techniques to lead to a proof of the hypothesis. The prediction proved right in the narrowest possible sense, since different techniques did the job.

The book is the risky part

Side by side, the two proofs turn the old order of trust upside down. The manuscript written for people, in the form mathematics has trusted for centuries, had months of expert attention and still sprang leaks within hours of meeting machine-assisted readers. The proof nobody can read earned a certificate in a day. Certainty now lives in the formal version, while the prose is there to explain. Alpöge's choice to publish only Lean follows from that. A quarter of a million pages of machine prose would have been worse than nothing, impossible to check and easy to quote.

Software is heading into the same split. An agent's pull request description, its design notes and its upbeat summary at the end of a run are the book. They read fluently and run long, which makes them the part a reviewer can least afford to trust. The tests, types and checks that pass or fail without anyone's opinion are the Lean. Reviewing agent work by reading its explanation means checking the book. Before long the same standard reaches people. Once machine-written changes routinely arrive with evidence a machine can check, a human-written change backed only by a confident description starts to look like Masullo's manuscript, the riskier submission however good its author.

Checked like a stranger's binary

How the proof was checked matters as much as the proof. The checks treated the artifact as possibly hostile, whatever anyone thought of its author, because a 17-million-line output from an optimiser is exactly where a kernel bug would get found and used. The community shrank what had to be trusted to a statement a few lines long plus the library definitions under it. Then it attacked that small base from several independent directions at once. Anyone who has vetted a dependency after a supply-chain scare knows the routine of pinning the build, reproducing it elsewhere and running checkers that share no failure mode.

Mathematics had one advantage that software rarely has. The question fit in a few lines and sat in Mathlib, vetted by experts, long before the answer arrived. A 17-million-line answer could be accepted in a day because the question was that small. Most codebases have no such statement, since people reading the code used to stand in for one. As agents write more of the code, the specification becomes the part worth an engineer's best hours, because it is the only part someone still has to read.

The mathematicians have already moved on to the next job. The community repository is refactoring the proof for human readers. Every cleanup still has to prove the same theorems, so the checkers catch any change in meaning. The next record worth watching is the shortest proof that passes those checks. Expect a model to set it, with a mathematician steering it toward the idea worth keeping.