One summer in the 1930s, the English mathematician G.H. Hardy had reached the end of a visit to his friend Harald Bohr in Denmark. Faced with the prospect of a North Sea crossing on a small boat in foul weather, he sent Bohr a postcard: ‘I have proved the Riemann Hypothesis – G.H. Hardy’. He hadn’t, and he knew he hadn’t – the postcard was insurance against drowning. Such was the notoriety of the Riemann Hypothesis, the claim would have guaranteed his place in history had the crossing ended in disaster. This was something that Hardy, an atheist, felt ‘God’ would never allow.
The Riemann Hypothesis is a mathematical statement about the distribution of prime numbers first formulated by Bernhard Riemann in 1859. Its usual formulation does not mention prime numbers at all, but rather the Riemann zeta function, ζ. A function is a mathematical rule which takes an input and provides an output. In this case, the inputs are x, y co-ordinates in the complex plane and the outputs are numbers. (A complex number is the sum of a real number and an imaginary number; the complex plane is a way of representing them with the real numbers on the x axis and imaginary numbers on the y axis. An imaginary number is a multiple of the square root of -1.) The Riemann Hypothesis predicts that all the inputs for which ζgives zero as an output have an x co-ordinate exactly equal to ½, except for the so-called ‘trivial’ zeros at negative even integers -2, -4, -6 …
To state the hypothesis properly in this manner requires a strong understanding of mathematics at the undergraduate level, the main difficulty being with defining the function ζ. There are equivalent ways to pose the question, however, all of which in some way get at the observation that the prime numbers behave regularly, but also a little randomly. For instance, one equivalent formulation of the Riemann Hypothesis is a formula which predicts, quite accurately, how many of the first n integers are prime.
Another formulation can be illustrated as follows. Here are two sequences of coin tosses:
TTHTTHHTTTHHTHTHTHTTTTTHTTHTHTTTTTHHHTTH TTHTHHTTTHHTHHHTTHTTHHTTTTHTHHHHHHTTHTTT
One of these sequences was generated as follows. I picked a large number n, and discovered that it had an odd number of prime factors, so I wrote T. Then I looked at n + 1, and discovered that it too had an odd number of prime factors, so I wrote T again. Then n + 2 had an even number of primes factors, so I wrote H, and so on. The other sequence was generated by simply tossing an actual coin forty times.
One formulation of the Riemann Hypothesis is that it is hard to tell the difference between the deterministic sequence generated using prime factorisations and a random sequence of coin tosses.
By the turn of the millennium, the Riemann Hypothesis was widely considered the most famous open question in mathematics. Shadows and reflections of it had counted among the greatest achievements of 20th-century maths. It was included on the list of seven Millennium Problems formulated by the Clay Mathematics Institute. The idea for curating such a list was inspired by the problems put forward by mathematician David Hilbert in 1900: the Riemann Hypothesis, uniquely, was on that list as well. Among all these problems the Riemann Hypothesis seems to occupy a special status as the most natural and basic of mathematical questions, which any sufficiently intelligent civilisation might be expected to formulate.
At around 2 p.m. GMT on Friday, 20 November, the mathematician Levent Alpöge posted a four-page document to his website with the filename remarks.pdf, in which he stated that ‘working with Claude’ he had discovered a proof of the Riemann Hypothesis. The first two pages are largely personal comments, including: ‘I am presenting the world with a complete argument before having mastered a massive neighbourhood around its mathematics.’ The last two pages are a sketch of the reasoning chain, largely unintelligible even to experts.
In many ways, the document is not far removed from similar documents that I and other mathematicians are used to receiving in unsolicited emails, usually deleted without opening.
In two respects, however, it is quite different. First, Alpöge has been at the forefront of the astonishing march of AI through famous questions in mathematics over the last few months. As long ago as July, he tweeted a counterexample to the Jacobian Conjecture. In August, he confounded expectations by finding new types of six-dimensional sphere. Second, a footnote to remarks.pdf provided a link to fourteen zipped repositories containing 17 million lines of code in the language known as Lean. In the hands of experts, this can provide an essentially cast-iron guarantee that a correct proof has been found. For the Riemann Hypothesis claim, this was established within hours by several independent specialists. Alpöge himself did not provide any further manuscript, saying that it would be ‘obviously inappropriate to attempt to post some massive unreadable travesty of “slop”’.
This entire episode would have been dismissed as science fiction by most mathematicians as recently as earlier this year. It amuses me to imagine trying to explain it to G.H. Hardy.
Where do we go from here? It has proven relatively easy for experts with enough computing power to use AI tools both to shorten the Lean codebase and to produce somewhat human readable documents from the code. Almost anyone can run their favourite AI tools over the results, and they may even be able to add introductory remarks in their own words. Several people have done this. One example runs to more than six hundred pages spread over five papers.
While we now have a proof of the Riemann Hypothesis, we are far from a mathematical understanding of the situation. At the time of writing, I do not believe that any human mathematician could come close to giving a coherent colloquium talk even on the broad strategy of the proof. AI seems curiously unhelpful for this kind of task, as it seems to have little understanding of what intuitions and explanations could be motivating or useful for a human interlocutor.
We can see from the various documents that the proof uses only known types of mathematics, albeit over a very large and difficult range and currently assembled in an extremely exotic and complicated manner. I expect human mathematicians to gain full understanding of it in the next year or two – at least, I expect in due course to see a monograph written by mathematicians giving a complete technical account of the proof, with concepts ordered coherently and all details carefully and elegantly worked out and appropriately referenced.
Unless the proof simplifies dramatically from its current apparent state, such a monograph would be hundreds of pages long, and would detail large amounts of deep theory put together in a somewhat ad hoc manner. This would be a respectable but unsatisfactory outcome: a statement as natural and fundamental as the Riemann Hypothesis deserves an explanation to match.
It is possible that significant simplifications will be found. It is also possible that new theories and unifying principles will be found which elucidate the structure of the proof. To define the zeta function in a natural way requires one to have first invented the topic of complex analysis. Such new theories might lead, like complex analysis, to whole new worlds of understanding with applications far beyond mathematics.
There is also the possibility that the proof will remain ‘unnatural’. Mathematicians have always sought elegant and natural arguments, and there are many great theorems with beautiful proofs. It may also be the case, however, that arguments of this type are easier for humans to discover. They require an aesthetic sense, an area in which humans retain a distinct advantage over AI. It seems possible to me that AI will uncover a new world of ‘unnatural proofs’ in mathematics, along lines that no human would have thought to follow, which cannot be distilled down to arguments we find conceptually satisfying. As it stands, the proof of RH seems to belong to this category.
Distilling human understanding from the proof will be a slow process. The number of mathematicians with relevant expertise is not huge, and the distillation process is inherently slow. Meanwhile, and at a much faster rate, new proofs (in the form of Lean code) are found which build on Alpöge’s announcement. No human understands their workings.
This phenomenon is exceptionally recent in mathematics and raises profound issues for the subject. It seems clear that computer-generated proofs will continue to pile up much faster than mathematicians can read or even begin to understand them. Such proofs are of little, if any, benefit to humanity. Indeed, knowing only that the Riemann Hypothesis is true changes almost nothing in the world: everyone believed it to be true anyway. What we would like is a proper understanding of the prime numbers, of which a genuine understanding of the proof of the Riemann Hypothesis ought to be a part.
As a relatively senior mathematician with a professorship at Oxford University, I can afford to be excited at the prospect of understanding some of the new mathematics being generated at such pace – including, one day, the proof of the Riemann Hypothesis. There are profound concerns, however, for what a career in maths might look like for younger researchers, and unless managed carefully there is a real danger that human understanding of the subject will decrease dramatically in the long run.
Moreover, any such excitement is also considerably tempered by wider concerns about the pace of AI development. Mathematics is not like chess. It is a universal language. It is the language of the cryptography that underpins much of our security, and a powerful tool in the understanding of most science. Widely available AI models are now operating at a level and a speed considerably beyond that of the top experts, and can be used to generate new mathematical arguments by users with very limited understanding of what they have done. This should be extremely alarming to us all.
Meanwhile, the unsolicited emails have switched from purported proofs of the Riemann Hypothesis to claims that the proof and its Lean verification are a conspiracy.