The Riemann hypothesis, from a schoolboy’s tally to seventeen million lines of code
For 167 years the deepest question about the prime numbers defeated everyone who tried it. Then, on one Friday in November, two proofs appeared: one written by a man over twelve years and not yet checked, the other found with a machine in six weeks, checked to its last step, and read by no one.
A note before reading: this essay was drafted with Claude, a model from the same family as the one that helped to find one of the proofs it describes, and it quotes praise of Claude. Its sources are listed at the end.
“One would certainly wish for a rigorous proof of this; I have put the search for one aside for the time being, after a few fleeting and futile attempts.”
Bernhard Riemann, to the Berlin Academy, November 1859
Friday, 20 November 2026
On a Friday in November, two proofs of the most famous problem in mathematics appeared within hours of each other. One was a four-page note on a personal website, from a mathematician at the artificial-intelligence company Anthropic. It pointed to seventeen million lines of computer code that he and a machine had produced in about six weeks. The other was a draft of 940 pages, written without help from any machine by a mathematician who had begun the work as a graduate student at Stanford nearly twelve years before. It was called The Music of the Primes. Its author had meant to spend another year polishing it, and it went out unfinished.
Within a day, independent checkers had replayed every line of the code and found no error. Within hours, the human draft had been handed to machines, which began reporting problems. One proof could be read and had not been checked. The other had been checked and could not yet be read. The rest of us have grown used to living among things that work and cannot be explained. Mathematics never had to.
Both proofs concerned a guess made in 1859. Its story begins with a boy counting.
I A Quarter of an Hour
Brunswick, 1792
In 1792 or 1793, and he could not afterwards remember which, a boy of about fifteen in the German duchy of Brunswick acquired a set of supplements to the logarithm tables, compiled by the mathematician Johann Heinrich Lambert. Among their pages was a table of prime numbers. Carl Friedrich Gauss, a labourer’s son whose schooling the Duke was paying for, began to count them.
A prime is a whole number that nothing divides except itself and one: 2, 3, 5, 7, 11, 13. Every other whole number is made by multiplying primes together, and made in exactly one way. Sixty is two times two times three times five and can be nothing else. The primes are the atoms of arithmetic, and Euclid had shown two thousand years earlier that they never run out. What nobody could say was where the next one would fall. They crowd together at 101, 103, 107 and 109. Then, after 113, there is not another until 127. No formula produces them. They look like an accident.
Gauss counted them in blocks of a thousand, and he saw that the accident had a shape. The primes thin out as the numbers grow, and they thin out at a steady rate. Near a thousand, about one number in seven is prime. Near a million, one in fourteen. Near a billion, one in twenty-one. Each time the count of digits doubles, primes become half as common. In the language of the tables he was holding, the chance that a number is prime is one divided by its logarithm.
He told almost no one. On Christmas Eve 1849, aged seventy-two and the most celebrated mathematician alive, he finally described the discovery in a letter to the astronomer Johann Encke. For years afterwards, he recalled, he had filled an idle quarter of an hour now and then by counting through another thousand numbers, until his tally had passed three million.
It was a strange kind of law. A number is prime or it is not; chance has nothing to do with it. Yet in bulk the primes behave like the winners of a lottery whose odds lengthen as smoothly as a logarithm. And the law was close without being exact. Add up those odds, number by number, for every number below a million, and Gauss’s rule predicts about 78,628 primes. There are 78,498. The next two centuries of the story are contained in that gap of 130. How wrong can the rule be, and what decides it?
II Nine Pages
Göttingen and Berlin, 1859
The answer came from one of Gauss’s last students. Bernhard Riemann was a Lutheran pastor’s son, shy to the point of illness and frail all his life. In the summer of 1859, at thirty-two, he was appointed to the chair at Göttingen that Gauss had held, and on 11 August the Berlin Academy elected him a corresponding member. Custom asked a new member to report on his current work. That autumn Riemann sent the Academy a paper called On the Number of Primes Less Than a Given Magnitude. It is the only thing he ever published about prime numbers: six pages in his own hand, nine in print.
He began with a tool that was already 122 years old. In St Petersburg in 1737, Leonhard Euler had studied a simple endless sum. Take every whole number, raise it to some chosen power, turn it upside down, and add the results: one, plus one over two to that power, plus one over three to that power, and so on for ever. Euler found that the sum over all the numbers is equal to a product that has one factor for each prime. The reason is the atomic fact. Because every number is built from primes in exactly one way, multiplying the prime factors out produces every number once and only once. On one side of Euler’s equation stand all the whole numbers in their ordinary order. On the other stand the primes alone. Whatever can be learned about the sum is knowledge about the primes.
Riemann named the sum with the Greek letter zeta and then did what Euler had not. He let the chosen power be a complex number. A complex number has two parts, and the easiest way to picture one is as a point on a map: the first part says how far east the point lies, the second how far north or south of a baseline that runs east to west across the middle. Feed any point on the map into zeta and a value comes back. Think of the size of that value as the height of the ground at that point, and the zeta function becomes a landscape. Euler’s sum only makes sense in the eastern part of the map. Riemann found the one natural way to continue the landscape across all of it, and then he asked a surveyor’s question. Where does the ground come down to sea level? Where is zeta equal to zero?
Some of the zeros sit at regular, uninformative places far to the west, on the baseline itself. All the others are confined to a strip one unit wide that runs north and south for ever, between the lines marked nought and one. They come in mirror-image pairs, one north of the baseline and one south, so it is enough to follow the northern half. The first lies a little over 14 units north. The next is near 21, the next near 25, and they continue without end, crowding closer as they climb.
Hold that map in mind, because the rest of the story is fought over it. Riemann’s guess concerns the centre line. Every advance for the next century and a half would be a wall built in from the edges, a strip of territory where zeros were proved not to be.
What Riemann showed next is the reason anyone cares. He wrote down an exact formula for the number of primes below any given point. It begins with a smooth estimate in the spirit of Gauss’s and then adds a correction, and the correction is a sum of waves, one wave for each pair of zeros. A zero’s distance north sets the pitch of its wave. Its distance east sets the volume: the further east a zero lies, the faster its wave swells as the numbers grow. Add every wave to the smooth curve and the result is no longer an estimate. It is the true count, every prime in its place. The primes, which look like an accident, are a chord, and the zeros are its notes.
The chord can be seen, if not quite heard. The second chart was computed for this essay from the first thousand zeros. Riemann’s smooth estimate on its own runs through the staircase of the primes like a ramp laid over a flight of stairs. Add the waves of the first ten pairs of zeros and the ramp begins to buckle towards the steps. With a hundred pairs the steps are plain. With a thousand, the curve lies flat between the primes and rises, almost exactly, at 2, 3, 5, 7 and every prime after.
Then came the guess. Every zero Riemann could locate lay on the centre line, at exactly one-half. The strip is symmetrical, so a zero east of centre would have a twin equally far to the west, and the eastern one would sound louder than its neighbours. If every zero stands on the centre line, every wave is as quiet as the arithmetic allows, and Gauss’s rule would never be wrong by much more than the square root of the number being counted to.
A coin gives the feel of it. Toss a fair coin a million times and you expect half a million heads, give or take a few hundred; a miss of more than about fifteen hundred would be astonishing. The size of the wobble is set by the square root of the number of tosses. Riemann’s guess says that the primes keep to Gauss’s law about as faithfully as a fair coin keeps to its own. The gap of 130 at one million is well inside that allowance, and the guess says the error will stay inside it for ever. A single zero off the line would mean a rhythm in the primes louder than chance, a bias running through all of arithmetic.
Riemann wrote that it was very probable all the zeros lay on the line. He would have liked a rigorous proof, he added, but he had set the search aside after a few brief and unsuccessful attempts, because the immediate aim of his paper did not need it. He never published on the question again. Tuberculosis drove him south to Italy, and he died on 20 July 1866 at Selasca, on Lake Maggiore, aged thirty-nine. His housekeeper is said to have burned many of the loose papers he left. What survived went to the university library at Göttingen. Around 1930 the mathematician Carl Ludwig Siegel spent some two years deciphering them: unconnected equations sharing a page, sometimes only one side of an equation written down. In 1932 he published what he had found. Riemann had computed the first zeros by hand, with a method more powerful than anything published in the seventy years since. The nine pages had been the visible part of the work. The rest had waited in a library for someone patient enough to read it.
III The Sleeper’s Question
Paris, 1900
The first great success of Riemann’s method arrived in 1896. Jacques Hadamard in France and Charles-Jean de la Vallée Poussin in Belgium, working independently, proved that Gauss’s rule is correct in the long run. They did it by showing that no zero stands on the eastern edge of the strip: the first wall on the map. A century after the boy’s tally, his law was a theorem. But the edge was as far as anyone could push. Inside the strip the zeros were free, for all anyone could prove, to stand anywhere.
On 8 August 1900, at the Sorbonne, David Hilbert stood before the International Congress of Mathematicians and set out the problems he thought the new century should solve. His published list ran to twenty-three, and Riemann’s guess was part of the eighth. Hilbert is reported to have said later that if he were to wake after sleeping for a thousand years, his first question would be whether the Riemann hypothesis had been proved.
Something unusual then happened to the unproved sentence. Mathematicians began to build on it. Papers opened with the words assume the Riemann hypothesis and went on to prove what would follow, until a large body of mathematics rested on a foundation that nobody had been able to inspect.
The same was done with a stronger version. In 1837 Peter Gustav Lejeune Dirichlet, whose chair at Göttingen Riemann would inherit, had built a family of cousins of the zeta function to study primes in particular patterns, and proved with them that there is no end, for example, to primes ending in 7. Each cousin has zeros of its own. The generalised Riemann hypothesis says that all the zeros of all the cousins lie on the same centre line, and much of the city was raised on that.
The inspections that were possible gave partial comfort. In 1914 G. H. Hardy, at Cambridge, proved that infinitely many zeros lie on the line. Infinitely many is not all. Hardy’s friends told a story of him posting a card to the Danish mathematician Harald Bohr before a rough crossing of the North Sea, announcing that he had proved the Riemann hypothesis. He reasoned that God would not let him drown with such an undeserved reputation. In the same year his collaborator J. E. Littlewood proved something that ought to have frightened everyone who trusted tables. In every table ever compiled, Gauss’s estimate ran slightly too high. Littlewood showed that somewhere it must run too low. The first place where that happens is now thought to be near a number more than three hundred digits long, far beyond any computer. In this subject, evidence that holds for every number anyone has examined can still be false.
The share of zeros proved to be on the line crept upward: more than nothing by 1942, past a third by 1974, a little above two-fifths by 2020. A hundred and sixty years of work had certified fewer than half.
IV Gears and Tea
Cambridge, 1939 · Manchester, 1950 · Princeton, 1972
Alan Turing, by his biographer Andrew Hodges’s account, had decided that the hypothesis was probably false, and he wanted to catch a zero off the line. In March 1939 he asked the Royal Society for £40 to build a machine of meshing gearwheels that would calculate the zeta function mechanically, and he got it. According to Hodges, a friend helped him grind some of the wheels, which were kept in a suitcase in his room. Then the war came, Turing went to Bletchley Park, and the machine was never finished.
He returned to the problem in 1950 with one of the first electronic computers, the Manchester Mark 1. The machine was temperamental, and the run was possible only because, for once, it stayed in working order from three one afternoon until eight the next morning. Turing confirmed that the first 1,104 zeros were on the line, and then checked 1,054 more far up the strip, near a height of 25,000. All of them were on the line. He wrote afterwards that the work had been done in the “optimistic hope” of finding one that was not. By 2004 faster machines had computed the first ten trillion zeros. Every one was on the line, and after Littlewood nobody could call that a proof.
The strangest clue came over tea. In April 1972 Hugh Montgomery, a young number theorist visiting the Institute for Advanced Study in Princeton, was introduced to the physicist Freeman Dyson. Montgomery had been studying how the zeros are spaced along the line and had a formula for the pattern, part of which he could prove, and only by assuming the hypothesis. He described it. Dyson recognised it at once. It was the formula physicists used for the spacing between the energy levels of a heavy atomic nucleus. A function built from the counting numbers was keeping time with the insides of atoms. It has suggested ever since that the zeros are the frequencies of some real vibrating thing that no one has managed to find.
There was one more reason for humility. In a simplified arithmetic that uses only finitely many numbers, a statement analogous to Riemann’s could be posed, and it was proved: by André Weil in the 1940s for the simplest cases, and by Pierre Deligne in 1974 in general, on foundations rebuilt by Alexander Grothendieck’s school in Paris. In between, in 1969, the Russian mathematician Sergei Stepanov found a far more elementary road to part of Weil’s result. He built a polynomial that was forced to vanish, many times over, at every point he wanted to count, and then used the plain fact that a polynomial cannot vanish more often than its degree allows. Remember the trick. The lesson most people drew from the finite world was that the real hypothesis would fall only to someone who built a new theory to hold it. In May 2000 the Clay Mathematics Institute named it one of seven Millennium Problems and put a million dollars on its head.
V The Referee That Cannot Be Charmed
Urbana, 1976 · Ann Arbor, 1998 · Redmond, 2013
While the zeros waited, a different problem changed what a proof could be. In 1976 Kenneth Appel and Wolfgang Haken, at the University of Illinois, settled a puzzle that had stood since 1852: that any map can be coloured with only four colours so that no two neighbouring countries share one. Their argument reduced the question to a great many separate cases and handed the cases to a computer, which spent some 1,200 hours checking them. The university’s mathematics department stamped its outgoing mail “Four colors suffice”. In 1979 the philosopher Thomas Tymoczko argued that, by accepting such a proof, mathematicians had changed what they meant by the word.
They had changed it only by half. What mathematics accepted in 1976 was a check that no person could carry out. It did not have to accept an idea that no person could follow. Anyone could understand what Appel and Haken had done; no one could survey all of it. It was the bargain the rest of us make every day, with medicines and machines, and mathematics had made half of it.
The checking grew. In 1998 Thomas Hales, at the University of Michigan, announced that he had proved Kepler’s conjecture of 1611: that the densest way to stack spheres is the way a greengrocer stacks oranges. His proof was about 250 pages of mathematics resting on some three gigabytes of computer code and data. The Annals of Mathematics appointed a panel of twelve referees. After four years they reported that they were 99 per cent certain the proof was right and too exhausted to go further. Hales then led a team, under the project name Flyspeck, that translated the whole proof into a language a computer could check line by line. They finished in August 2014, sixteen years after the announcement.
Such languages are called proof assistants. The one that matters to this story is Lean, begun in 2013 by Leonardo de Moura at Microsoft Research. A proof in Lean is written as code. A small program called the kernel then checks every step against the rules of logic. The kernel does not tire. It does not defer to a famous name or skim the dull parts, and it cannot be charmed. It also cannot say whether a proof is beautiful or what it means. It answers one question only, which is whether each line follows from the lines before.
Around Lean a volunteer community assembled a shared library of formalised mathematics, called Mathlib. In time it came to hold a precise statement of the Riemann hypothesis, added in a project led by David Loeffler and Michael Stoll, waiting for a proof to be attached. The people who built these tools expected to use them for checking the work of human beings.
In the years when Lean was being built, two young men settled on the same problem. One was Levent Alpöge, then a student of mathematics, who decided privately that the Riemann hypothesis was what he would work towards over decades. The plan, as he later described it, was his secret, and it meant learning every tool he might one day recognise in the problem. Like the boy in Brunswick, he told almost no one. He took a doctorate at Princeton and became a junior fellow of Harvard’s Society of Fellows. The other was Alessandro Masullo, who near the end of his first year of graduate school at Stanford began work on the generalised hypothesis as a student of the number theorist Brian Conrad, and kept at it for nearly twelve years.
VI The Season of Proofs
July to October 2026
By this summer Alpöge was working at Anthropic, and the checking had found another use. On the evening of Sunday, 19 July, while much of the world watched the final of the World Cup, he posted a message on X that began “hello there the jacobian conjecture is false”. It carried a counterexample, found with Claude Fable 5, one of Anthropic’s models, to a problem about polynomial maps that had stood since 1939. The post had no paper behind it, but the mathematics needed none: a counterexample is a formula, and anyone with a computer algebra program could confirm in moments that it does what he said. Within two days Terence Tao had posted an account of it, and others soon explained why it works.
Three weeks later, on 10 August, Anthropic published a research note. A member of its staff who is not a mathematician, Jarred Sumner, had asked an unreleased research version of Claude to make a serious attempt on the Riemann hypothesis and had left the mathematics to the model. Its first effort, some 650 ideas, came to nothing. Sumner asked it to try again, and his later contributions, by Anthropic’s account, were mostly encouragement, along the lines of “keep going.” The second attempt, carried out by about sixty cooperating copies of the model over a day and a half, did not prove the hypothesis either. It did raise the share of zeros proved to lie on the line from 41.6 per cent to 67.2 per cent. Alpöge and his colleague Ralph Furman studied and validated the argument, two outside experts, Brian Conrey and Dan Goldston, read it, and it was checked in Lean. Anthropic said it did not expect the techniques behind the result to lead to a proof of the hypothesis itself.
Then came the autumn. By the Economist’s count, hundreds of long-open problems in mathematics have been settled with the help of artificial intelligence since September, faster than specialists can read the solutions. Not every claim has survived. The largest release came from OpenAI on Tuesday, 6 October: several hundred machine-written manuscripts, three of which were withdrawn the next day after a common gap was found. Among the rest was a result that moved a wall standing since 1896. The same Tuesday, by the timeline Alpöge later published, he and Claude took the first step of their own.
OpenAI’s result goes by the name of the quasi-Riemann hypothesis, and it came in two versions, both marked on the map. The first, dated 30 September, proved that no zero lies east of the line at seven-eighths, or, by the strip’s symmetry, west of one-eighth. It ran to 199 pages and had been checked in Lean. The second, dated 5 October, settled for a wall at eleven-twelfths in 49 pages, without a formal check. Jonathan Keating, of the University of Oxford, said he had not expected to see the result in his lifetime.
Then people read it. Mathematicians set the long version aside and studied the short one, and within about a fortnight they had worked through it. Maksym Radziwiłł, of New York University, whose earlier work with Alexander Dunn turned out to supply some of its tools, said he could now sketch the argument in half a page. Peter Sarnak, of Princeton, rearranged a course he was teaching to study it, and said he would not call it a theorem until people had checked and understood every detail. A machine had found the proof; human beings had made it theirs in two weeks. That was the old bargain, still intact.
VII Remark
20 and 21 November 2026
The four-page note appeared on Alpöge’s personal website on Friday, 20 November, under the file name remark.pdf. Its opening paragraph described the Riemann hypothesis as the classic problem of number theory. Its second made a claim in the first person and shared the credit with a machine: Alpöge believed that he, working with Claude, had found a proof. The same method, he wrote, settled the generalised hypothesis for Dirichlet’s whole family, and the entire argument had been written out in Lean. The note does not say which version of Claude did the work.
It did give the work a history. The timeline runs from 6 October to 16 November, when the last entry, the generalised hypothesis, was done: about six weeks. And it named the idea he had steered towards. It was Stepanov’s trick from the finite world, the polynomial made to vanish many times over. The whole numbers will not vanish so obligingly, and the substitute Alpöge pointed to was a chain of what specialists call theta lifts, constructions from the theory of automorphic forms, each step building up the multiplicity that the integers will not supply on their own.
The Lean proof came as 175,187 files in fourteen archives, about seventeen million lines in all. A reader who took one line a second and never slept would need more than six months to reach the end. There was also an account of the proof in ordinary mathematical prose, written by Claude, and it ran to more than a quarter of a million pages. At a page a minute, for eight hours a day, that is about seventeen months of reading. The longest proof human mathematicians had produced before, the classification of finite simple groups, runs by different counts to between ten and twenty thousand journal pages, spread across hundreds of papers by more than a hundred authors. Claude’s account is more than ten times longer than any of those counts. Alpöge declined to post it. A huge, unreadable document of that kind is now routine to produce, he wrote, and he called it slop. Like Riemann’s nine pages, his four were the visible part of the work.
The note was personal in a way that research announcements rarely are. Alpöge had chosen the direction, found the analogy and supplied the first ideas. Claude had supplied technical command where he was out of his element, above all in the theory of automorphic forms on higher-rank groups, one of the most demanding branches of modern number theory. Near the finish line, he wrote, Claude “flew, and danced, and sparkled.” He also wrote that finishing felt like losing a guiding light that had steered his working life, even as what he had watched seemed to him a dawn for science. And he promised a proper write-up, with simplifications, though he gave no date.
Hours later, the Stanford mathematician Ravi Vakil put up a post on his blog under a heading that admitted it was hurried. It announced Masullo’s draft: 940 pages, written entirely by people, after nearly twelve years. The plan, Vakil wrote, had been for Masullo to spend a year polishing it with Conrad, who had been reading it closely for months, and only then to announce it. Alpöge’s note had changed the timetable. About eight hours later Vakil updated the post. Several people had reported problems in the draft, found with the help of AI models. By Monday a volunteer project had turned the draft into some ten thousand statements in Lean and was keeping a public list of possible errors. On 22 November Masullo wrote that the draft was in no fit state to circulate, that he knew of many mistakes, especially in the final chapters, and that he meant to revise it over the coming year with help from Conrad and from AI. Specialists have not yet ruled on whether the problems are fatal. His twelve years were not undone by the timing. If his strategy can be repaired, it will be what the other proof is not yet: an argument a person can follow from beginning to end.
Some sceptics, the Economist’s Alex Hern later recounted, at first wondered whether Alpöge’s note was the work of a man who had talked himself into a delusion over long conversations with a chatbot. This time, though, there was code to run, and the referee was called. Mathematicians downloaded the archives and rebuilt the proof on their own machines. At the University of Waterloo, Michael Rubinstein compiled every file, replayed them through Lean’s kernel, and then passed the result through a second kernel, written independently, which examined nearly a million and a half logical declarations and found no error. The main theorems rested on Lean’s three standard axioms and on nothing else, and they included the generalised hypothesis for Dirichlet’s family. His check was driven by Claude Code, Anthropic’s programming tool; the kernel’s verdict does not depend on who typed the commands, but a sceptic may note the fact. At the Massachusetts Institute of Technology, Andrew Sutherland’s rebuild matched the original so exactly that all but one of the 175,187 compiled files agreed byte for byte. A final comparison check has since been completed.
There remained the oldest trap in formal proof, which is to prove, perfectly, a theorem that is not quite the one claimed. An independent project wrote five versions of the statement from scratch and compiled them against Mathlib, and two comparison tools confirmed that what Alpöge had proved was exactly the statement the library had held all along. Here it is, as the library states it:
def RiemannHypothesis : Prop := ∀ (s : ℂ) (_ : riemannZeta s = 0) (_ : ¬∃ n : ℕ, s = -2 * (n + 1)) (_ : s ≠ 1), s.re = 1 / 2
In words: wherever zeta is zero, apart from the regular zeros far to the west and one technical exception, the point lies on the line at one-half. Two lines of statement, seventeen million of proof. Until recently the comment above those two lines read: “constructing a term of this type is worth a million dollars.” It now points to the place where one has been constructed.
What could still be wrong? Less than one might fear. The kernel could have a bug, but the proof has passed through more than one kernel, written by different people. The axioms could be suspect, but they are the three that every proof in Lean’s library uses. The statement could be subtly off, but it is the library’s own, checked against versions written independently. What remains is the chance of an error shared by every checker at once: the same residue of doubt that attends any proof, and smaller than the doubt that attends most.
On Saturday, 21 November, the Lean FRO and the Mathlib Initiative, the bodies that look after Lean and its library, issued a joint statement saying they had full confidence that the proof is correct. Hales’s proof had waited sixteen years for its formal version. This one arrived with it, and was confirmed in a day.
Who gets the million dollars is another matter, and not yet anyone. The Clay Institute, which still lists the problem as open, requires a solution to be published in a refereed outlet, to wait two years and to win general acceptance. Its rules speak of persons and allow a prize to be divided among several of them. They say nothing about software, because nobody writing them imagined it needed saying.
VIII Correct, and Unread
The present
So mathematics finds itself somewhere new. Kevin Buzzard, of Imperial College London, who took part in the verification, put it as a kind of absurdity: everyone now knows the proof is right, and no one can yet say what the proof is.
The four-colour theorem is the nearest precedent, and it shows how far things have moved. In 1976 mathematicians understood the idea of the proof and could not check all its cases. In 2026 every case has been checked, and the idea is what is missing. An older story runs the other way. Around 1637 Pierre de Fermat wrote in the margin of his copy of Diophantus that he had a marvellous proof of a claim about whole numbers, which the margin was too narrow to contain. He left none, and it took until 1994, and Andrew Wiles, to supply one. Fermat had, he said, an idea without a written proof. Alpöge and Claude have a written proof whose idea no one has yet drawn out.
A first glimpse of it has begun to appear. In the 1850s the Russian mathematician Pafnuty Chebyshev tried to pin down the primes by studying how they divide the factorials, the numbers one times two times three and onwards. Rounding spoiled the method: it could fix the count of primes only to within a constant factor. Rubinstein’s working guide, written with the help of Claude, OpenAI’s Codex and Google’s Gemini, tells the new proof as a repair of Chebyshev’s. It builds a substitute for the factorial in which the rounding disappears, and then weighs how strongly the primes divide it against how large it can be. If the primes were more crowded than Riemann’s guess allows, they would divide it too often. The guide’s version of 21 November ran to 164 pages and took that last step on Lean’s authority; by the next day it had grown to 265, and the step had been broken into thirteen smaller claims that the guide does not yet prove.
Keating’s first impression is that this proof, unlike October’s, is made from “completely different ingredients.” James Maynard, also at Oxford and a Fields medallist, has said that it is too early to tell how much of the argument is new theory and how much is existing technique applied on a scale no person could manage. It appears, he observed, to use a very great deal of mathematics.
The distinction matters because a proof has always done two jobs. It certifies that a statement is true, and it shows why. Weil and Deligne did not merely settle their version of the question. They left behind a geometry that mathematicians have lived in ever since. Most people who thought about Riemann’s guess expected its proof to leave a similar inheritance, some new idea that would explain at last why the counting numbers keep time with atomic nuclei. Whether the machine built such a thing, or found a long pass through country already mapped, is the question the profession now has to answer, and it has to answer it by reading.
Hern has offered a picture of where the machines stand. The great machine proofs of this year, he said, have been dizzying tours through the far reaches of what is already known, joining set theory, number theory and geometry in ways no single human mind could manage. They treat mathematics as an enormous jigsaw, finding the right piece for every gap. Nobody yet knows whether they can finish a puzzle in which you have to “carve the final missing piece yourself.” Keating’s impression of different ingredients is the first hint that the answer may be yes. Maynard’s caution is the reminder that it is only a hint.
The predicament is not peculiar to mathematics; mathematics is only the last place it has reached. Aspirin was sold for more than seventy years before anyone knew how it worked. More and more decisions, about loans and diagnoses and the routes we drive, are made by systems that are reliable and unreadable at once. In 1976 mathematics accepted an unreadable check. What it had never accepted was an unreadable idea; the reason had always been the point. That is why this proof unsettles people who will never think about a zeta zero, and why the reading of it matters to them too.
Nothing practical changes. No cipher is broken, and the hypothesis does not let anyone predict the next prime or factor a large number. Inside mathematics the change is large and quiet. Every theorem that began with the words assume the Riemann hypothesis has lost its first clause, and so, on the evidence of the independent checks, has every one that leaned on the generalised version for Dirichlet’s family. The part of Montgomery’s spacing formula that he could prove now stands without its assumption. A fast test for primality devised by Gary Miller in 1976, guaranteed to work only if the generalised hypothesis held, is now simply guaranteed, though since 2002 a different test, found by three computer scientists in Kanpur, had already done the job without conditions. The city has had its foundation inspected, and it was sound all along. Gauss’s rule will never stray far from the truth, in exactly the way Riemann guessed.
Not everyone is celebrating. Alpöge has lost the problem that organised his life. Masullo has twelve years of work to finish in public, with machines reading over his shoulder. By Sarnak’s October standard, this is not yet a theorem at all, because no person has checked and understood every detail. Hilbert’s sleeper has been woken centuries early and given his answer, which is yes. He would have had a second question straight away, and nobody can answer it yet: why?
Riemann’s nine pages waited more than seventy years for Siegel to open the notes behind them and show what Riemann had really known. Alpöge’s four pages have seventeen million lines behind them, and the proof is now waiting for its Siegel. The first candidate is Alpöge himself, who has promised the proper write-up. Others are already at work with machines at their elbows, and Rubinstein’s guide grows by the day. Somewhere in the reading there will be an idea that one person can hold in the mind and hand to another. That is the part that has not yet arrived.
The primes have not changed. Two, three, five, seven. They were always in tune, and now we know it. We do not yet know the tune.
Sources: “AI has conquered mathematics’ greatest challenge,” The Economist, 20 November 2026, for the announcement, the joint statement and the remarks of Jonathan Keating, Kevin Buzzard and James Maynard; “In the life of prime: AI’s latest maths triumph,” The Intelligence, The Economist, 23 November 2026, with Alex Hern (from the published transcript, which the Economist notes was generated by AI and not reviewed).
On Alpöge’s proof and its checking: Levent Alpöge, “Remark,” 20 November 2026, for the claim, the timeline, the analogy, the withheld write-up and the author’s own reflections; Michael Rubinstein’s record of checks and the working guide, University of Waterloo, 21 November 2026, which also lists further checks by Elliot Arledge, Simon DeDeo and Bartosz Naskręcki; “Anthropic’s Claude May Have Cracked a 167-Year Maths Mystery,” IBTimes UK, for the guide’s version of 22 November; “Levent Alpöge’s Claude-assisted Riemann hypothesis proof verified in Lean,” Kingy AI, updated 22 November 2026, for the MIT and statement-matching checks; Scientific American, “The AI Riemann hypothesis proof is true, independent mathematicians confirm,” on the completed comparison; Mathlib, RiemannZeta.lean, compared with its earlier releases; the Clay Mathematics Institute’s Millennium Prize rules; Science, “AI may have solved math’s greatest mystery. Can humans understand the answer?”
On Masullo’s draft: Ravi Vakil’s announcement on his Math 216 blog, 20 November 2026, and Alessandro Maria Masullo’s statement of 22 November; John Baez, “Masullo on the Riemann Hypothesis,” Azimuth, 22 November 2026; Tyler Blackwell, “The Readable Version,” 23 November 2026; “Riemann Hypothesis draft by Masullo: what AI auditors and a Lean bug tracker found in three days,” DEV Community, 23 November 2026.
On the summer and autumn: Anthropic, “Claude has improved on a longstanding lower bound for the fraction of zeros of the Riemann zeta function that satisfy the Riemann hypothesis,” 10 August 2026; Smithsonian, “A.I. Disproves a Decades-Old Mathematical Idea,” and the SeqFan discussion of July 2026, on the Jacobian conjecture; Quanta Magazine, “AI Proved the Quasi-Riemann Hypothesis. What Happens Now?” 19 October 2026, for the two versions and how they were read; Science, “AI edges closer to solving the Riemann hypothesis,” 13 October 2026; Georgia Institute of Technology, “Dunn’s Research Contributes to OpenAI’s Proof of the Quasi-Riemann Hypothesis,” 22 October 2026; the correction record of 7 October 2026 in OpenAI’s openai/math repository.
On the history: Bernhard Riemann, Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse, Monatsberichte der Berliner Akademie, November 1859 (the epigraph is translated for this essay), and the Clay Mathematics Institute’s facsimile of the manuscript; C. F. Gauss, letter to J. F. Encke, 24 December 1849, translated in L. J. Goldstein, “A History of the Prime Number Theorem,” American Mathematical Monthly 80 (1973); C. L. Siegel, Über Riemanns Nachlaß zur analytischen Zahlentheorie (1932), in the translation by E. Barkan and D. Sklar (2018); H. M. Edwards, Riemann’s Zeta Function (1974); John Derbyshire, Prime Obsession (2003); Marcus du Sautoy, The Music of the Primes (2003); Karl Sabbagh, Dr. Riemann’s Zeros (2002); Andrew Hodges, Alan Turing: The Enigma (1983); D. A. Hejhal and A. M. Odlyzko, “Alan Turing and the Riemann Zeta Function” (2013); A. M. Turing, “Some Calculations of the Riemann Zeta-Function,” Proceedings of the London Mathematical Society (1953); H. L. Montgomery, “The Pair Correlation of Zeros of the Zeta Function,” Proceedings of Symposia in Pure Mathematics 24 (1973); W. M. Schmidt, Equations over Finite Fields: An Elementary Approach (1976), on Stepanov’s method.
On proofs and machines: K. Appel and W. Haken, “Every Planar Map Is Four Colorable,” Illinois Journal of Mathematics 21 (1977), and the University of Illinois library guide on the department’s postmark; T. Tymoczko, “The Four-Color Problem and Its Philosophical Significance,” Journal of Philosophy 76 (1979); “The Whole Universe Catalog,” Scientific American, July 2015, on the length of the classification of finite simple groups; T. Hales and others, “A Formal Proof of the Kepler Conjecture,” Forum of Mathematics, Pi (2017); L. de Moura and others, “The Lean Theorem Prover,” CADE-25 (2015); D. Loeffler and M. Stoll, “Formalizing zeta and L-functions in Lean” (2025); Simon Singh, Fermat’s Last Theorem (1997); J. R. Vane, “Inhibition of Prostaglandin Synthesis as a Mechanism of Action for Aspirin-like Drugs,” Nature New Biology 231 (1971).
On how this was made: the essay grew from the Economist’s report of 20 November 2026 and its podcast of 23 November. Claude, which helped to write this account, belongs to the same family of models as the one that worked on Alpöge’s proof; the versions are not the same, and Anthropic has described the one that produced the August result as an unreleased research model. Both charts in Section II were computed for this essay: the strip from the computed positions of the first zeros, the chord from the first 1,000 zeros of the zeta function using Riemann’s explicit formula, checked against the true count of primes. The scenes and anecdotes come from the sources listed here; where a story rests on report rather than record, the text says so. Nothing is invented.
Drafted with Fable 5.2 and Opus 5.5. Literary and copy editing by Sonnet 5.5. Outside literary editor cold read by Fable 5.2. Images generated by Opus 5.5. Header image generated by Gemini Neon.