What the Riemann Hypothesis teaches us about trust in the era of AI agents

Dr Graham Sills, Co-Founder and Director of AI

One of the biggest announcements in mathematics in my lifetime arrived on Friday in a four-page PDF called remark.pdf. In it, the number theorist Levent Alpöge says that, by working with Claude, he has found a proof of the Riemann Hypothesis as well as the Generalised Riemann Hypothesis (GRH) for Dirichlet L-functions. This is a truly remarkable achievement, but it is not without concern, and part of that comes from trust: how can we trust the proof, particularly when it was created with the help of AI?


A hypothesis on the randomness of prime numbers

During my time in Cambridge’s Department of Pure Mathematics, where I did my PhD in computational number theory, I heard words like “if GRH is true” many times in lectures and discussions. Whole lines of research have been built on that if, so this achievement dramatically extends our knowledge of mathematics, and I’d put it at least on the same level as Fermat’s Last Theorem.

Prime numbers are the building blocks of the positive integers, yet they appear to be scattered: sometimes close together, sometimes separated by enormous gaps. But step back and a remarkable order emerges. Although we cannot easily predict where the next prime will appear, we can estimate how many there are below a given number. In 1859, Bernhard Riemann went further and discovered a profound connection between prime numbers and a function now known as the Riemann zeta function, whose behavior seems to govern the fluctuations in their distribution. His famous hypothesis says that those fluctuations can never be too large – in other words, there are limits to the chaos of prime numbers.

The generalized hypothesis extends the idea to a family of related functions, giving us a picture of how primes are distributed in arithmetic progressions. The connections reach into physics too, since the statistics of the zeta function’s zeros resemble those of energy levels in quantum systems.


How are proofs checked and understood? 

Historically, mathematical proofs have been checked slowly and laboriously over months or even years by the few experts able to understand the particular field. Arguably, the proofs by Andrew Wiles (and Richard Taylor) of Fermat’s Last Theorem were only fully confirmed recently, decades after their publication. The slow process does have one significant benefit: the experts immerse themselves deeply in the topic, and we extend our collective understanding of mathematics.

By contrast, Alpöge released the argument in Lean, a language and theorem prover that checks whether each step follows the rules and assumptions it has been given. An experimental prose version ran to over 250,000 pages! MIT mathematician Andrew Sutherland reports that two independently written checkers accepted the exported proof and that the headline statements matched independently specified targets. I couldn’t come close to taking you through the proof myself, but what I can see from the summary is how much of number theory and algebraic geometry it brings together along the way. Instead, it’s those independent checks by experts that give me confidence in the formal result, and similarly the community is very quickly coming to trust the proof.

Alpöge does want to explain the full argument properly, and he is well qualified to do so, since he has been preparing for GRH since his student days at Princeton under Fields medalist Manjul Bhargava. One thing that caught my eye in his account was the division of labor. He saw how two ideas from a simpler problem could work together, and guided Claude to the setting where he thought they might apply. Claude then spotted a step that took him by surprise, and I’m just as curious to learn about his interactions with AI like these as I am to see what mathematicians make of the proof.

“In a time of revolution in mathematics I hope the argument provides a glimpse towards the miracles that lie ahead, and shows us the joy and wonder we are about to find in the simplest things.”

— Levent Alpöge, 2026


The plot twist? A second proof becomes known

On the same day, Ravi Vakil shared a separate (much shorter) manuscript by Alessandro Maria Masullo, who had spent nearly twelve years on it without AI. The draft was already under review when it was hurried into public view. Masullo’s message to mathematicians feeling discouraged by the pace of change deserves to be heard: 

“We are still here. We are very much alive. We are not going anywhere.”

— Alessandro Maria Masullo, 2026

However, whilst his feat is no doubt more impressive as an individual human achievement and experts may learn more from the ideas, the correctness of Masullo’s proof will have taken over a year of effort to be established. Compare that to less than a day for Alpöge’s. 

Also, within hours, Vakil reported that readers using several AI models had flagged problems. There still seems to be belief amongst experts that the argument will hold up, and I very much hope that it will, but that is not the same as trust. 

Some early AI releases made research feel like a race to tick off famous problems, with many feeling that mathematics was being used to benchmark AI without real interest in the results or respect for the academics. Terence Tao and others have made the case for giving understanding and credit their due. Alpöge does credit OpenAI researchers with ideas that helped him and has made his own argument available for others to check and build on. That feels much closer to the future Kevin Buzzard has been working towards, where AI and formal proof help mathematicians do work they can share and scrutinize. The more optimistic reality for mathematicians is that there’s now a lot more work for them, but it’s much more about building roads than discovering paths. 


From prime numbers to contracts 

Trust in the reasoning of agents isn’t only important in mathematical proofs; it’s just as critical when understanding contracts and deciding actions based upon them. 

“It is clear, then, that if we are to attain certainty free from doubt and truth free from error in the other sciences, we must lay the foundations of knowledge in mathematics, so that, prepared by it, we may attain certainty in those sciences and reach the truth by ruling out error.”

— Roger Bacon, Opus Majus, 1267

This idea, laid out eloquently by Roger Bacon, is behind our recent work on Formal Verification at Luminance; if we want trust our AI agents, let’s learn from how it is being established in mathematics. Proofs and contractual provisions are both collections of logical statements, so if we can translate those provisions into precise rules, then Lean can check what follows when those rules interact. This gives the lawyer much more observability – they can see the precise reasoning, trace the result back to the clauses and inspect the assumptions that went into the model. That matters because a mathematically guaranteed answer depends on getting the legal interpretation right.  

We recently used this approach to analyse Anthropic's own IPO filing, showing how formal verification can reveal consequences of complex legal provisions that might otherwise be difficult to establish with confidence. As a number theorist who now works with lawyers, I rather like the fact that the same ideas can check the logic of board appointments and a proof about prime numbers. 

In the last few days, a young man and an AI agent appear to have summited the Everest of mathematics, and they’ve left a route that others can check. If we can understand how they found it together, what other heights could we reach in law and beyond, knowing we can check our footing as we go? 

GET STARTED

Get more from your contracts

See how Luminance can help your teams negotiate smarter, surface what matters, and keep contracts moving across the enterprise. 

GET STARTED

Get more from your contracts

See how Luminance can help your teams negotiate smarter, surface what matters, and keep contracts moving across the enterprise. 

GET STARTED

Get more from your contracts

See how Luminance can help your teams negotiate smarter, surface what matters, and keep contracts moving across the enterprise.