
Verification · 36 min read
Two Riemann Hypothesis Announcements, One Friday: Why the Machine-Checked One Was Certified First
On this page
A note before I start: I’m not a mathematician, and I won’t even try to follow these proofs in detail. That is work for the mathematicians. This post is about something I can follow, which is how the work gets checked.
In October I listened to an OpenAI researcher walk a room of scientists, researchers and ML practitioners through a year of AI results in mathematics. It was mind-blowing. He was very positive. He talked about new tools for mathematicians, about more maths and different maths, and he gave no final answer on how it will all play out. Not everybody in the room was as positive as he was. And everybody was asking what it means for their own field.
One of the results he covered had come out a few weeks before the talk. On 8 September, OpenAI had announced a solution to the Navier–Stokes Millennium Prize problem, produced by one of its own AI systems and formalized in Lean [1]. My impression is that outside mathematics and physics, few people took much notice. The Riemann Hypothesis is a bigger public moment, at least in my view. It’s about prime numbers, Bernhard Riemann posed it in 1859, and it is one of the seven Millennium Prize problems, with a million dollars attached [2]. And on a single Friday in November, two announcements about it appeared. One was a claimed proof, the other an unfinished draft.
Two famous problems, in plain words
Both problems come from the list of seven Millennium Prize problems, and both are older than any computer. Here is what each one asks, as far as I can explain it without derivations.
Navier–Stokes: can a smooth flow break down?
The Navier–Stokes equations go back to Claude-Louis Navier and George Gabriel Stokes in the 19th century. They apply Newton’s “force equals mass times acceleration” to fluids such as water and air, and engineers use them for aircraft design, weather forecasting and the study of blood flow [1]. Computers solve them approximately all the time, but nobody has a complete mathematical understanding of their solutions [21]. The prize question is about three dimensions. If a fluid starts out moving smoothly, does it stay smooth forever, or can the speed somewhere grow without bound within a finite time? Such a breakdown is called a singularity, or blow-up. In 1934 Jean Leray proved that solutions exist in a weaker, generalized sense, but whether they always stay smooth remained open [1]. The Clay Mathematics Institute accepts an answer in either direction: a proof that smooth solutions always exist, or an example that breaks down [20, 21]. OpenAI’s claim is of the second kind. It describes a swirling vortex, driven by a smooth external force, that spirals inward and stretches like spaghetti until its speed grows without bound, while its energy stays finite [1]. The version with no external force at all has not been settled [21].
The Riemann Hypothesis: how regular are the primes?
A prime is a whole number greater than 1 that only 1 and itself divide: 2, 3, 5, 7, 11, 13 and so on [19]. Up close they look random. Sometimes two arrive close together, like 17 and 19, and sometimes long stretches go by without one [22]. From far away they follow a clear trend. The prime number theorem, proved in 1896 by Jacques Hadamard and Charles de la Vallée Poussin, says that near a large number roughly one number in every is prime, where is the natural logarithm [17]. Adding up that density gives a smooth estimate for how many primes lie below , the logarithmic integral . The left half of the figure below shows the real count, a staircase that steps up by one at every prime, against that smooth curve.
The Riemann Hypothesis is about how far the staircase can stray from the curve. Riemann studied the zeta function, which starts as this sum [19]:
So you add up one over every whole number raised to the power . Euler had already shown that this sum is tied to the primes [17]. The same sum can be written as a product with one factor for every prime,
so the function carries all the primes inside it [17]. A zero is simply an input where the output is exactly 0. The sum itself only makes sense when the real part of is greater than 1, and none of the interesting zeros lie there. Riemann extended the function to the rest of the complex plane, which 3Blue1Brown visualizes well [23], and connected the primes to the points where the extended function is zero [17, 23]. Its “trivial” zeros sit at . All the other zeros lie in a narrow strip, and the Riemann Hypothesis says they all have real part exactly one half, , so they line up on one vertical line, the critical line [17, 19]. The right half of the figure shows the first ten of them.
The intuition that helps me most is that each zero adds a wave to the smooth estimate, and together the waves turn the smooth curve into the exact staircase [17]. Riemann’s explicit formula makes this precise. The height of a zero, its imaginary part, sets how fast its wave oscillates, and its real part sets how large the wave can grow [17]. A zero with real part one half gives a wave that grows like . A zero further away from the line would make a larger wave, and the primes would wander further from . Write for the number of primes up to . If the hypothesis holds, then for all sufficiently large it differs from by at most a constant times :
The gap between the real count and the smooth estimate grows no faster than about the square root of , times a logarithm. Helge von Koch showed in 1901 that this is the “best possible” bound for that error [17]. So if every zero sits on the critical line, no wave grows faster than about , and the staircase never strays further from the smooth curve than that. Put simply, the Riemann Hypothesis says the primes are spread as evenly as they possibly could be. Computers have checked the first 10 trillion zeros, and every one of them sits on the line [19]. No amount of checking covers all infinitely many zeros, and that is why a proof matters. Many results in number theory were proved on the assumption that the hypothesis, or a generalized form of it, is true [17]. A proof would make their conclusions unconditional.
The primes counted one by one stay close to a smooth estimate. The Riemann Hypothesis says how close, and it is equivalent to all non-trivial zeros of zeta sitting on the critical line. Zero heights computed with mpmath.
Does a proof break encryption?
One question I expect from many readers: if the Riemann Hypothesis is about primes, and encryption runs on primes, is RSA now broken? No. A proof of the Riemann Hypothesis doesn’t put RSA, or similar schemes, in direct danger. An RSA key is built from the product of two large primes. Its security rests on the fact that multiplying two primes is easy, while splitting the product back into them is, as far as anyone knows, very hard [22, 28]. The Riemann Hypothesis describes how the primes are spread out on average. It says nothing about how to find the two primes inside one given number, so it gives nobody a factoring method. Researchers had also built on the assumption that it is true for decades [22]. The algorithms that did assume it solve a different task, primality testing, which checks whether a number is prime. That matters when a key is generated, and it doesn’t help anyone attack one [33]. A generalized form of the hypothesis makes Gary Miller’s deterministic test from 1976 provably correct [33]. In practice people use the randomized Miller–Rabin test, which is fast and reliable enough [22, 33]. And since 2002, the AKS test has decided primality deterministically in polynomial time without assuming the hypothesis at all [34]. For cryptographers, Scientific American concludes, it is “pretty much business as usual” [22].
If you want to go deeper
My summary leaves out almost all of the mathematics. These explain it much better:
- 3Blue1Brown: But what is the Riemann hypothesis? Visualizing analytic continuation shows how zeta is extended to complex numbers and where the zeros come from [23].
- Numberphile: Riemann Hypothesis, the channel’s introduction to the problem [24].
- The Clay Mathematics Institute’s pages on the Riemann Hypothesis and the Navier–Stokes equation, with the official problem descriptions [19, 20].
Two announcements on the same Friday
On 20 November 2026, Levent Alpöge, a mathematician at Anthropic, posted a four-page note on his website. It opens with a careful sentence: “I believe I have, working with Claude, discovered a proof of the Riemann Hypothesis” [3]. He says Claude helped develop the solution over about six weeks [2]. The proof itself is not in the note. It’s Lean code, 14 archive parts that unpack to 175,187 compiled modules [4]. In a footnote Alpöge writes that, for his own amusement, he produced a natural-language version, which ran past 250,000 pages. He decided to publish only the Lean [3].
If you have never seen Lean: it is a programming language in which you can also write mathematics. A theorem becomes a precisely typed statement, and a proof becomes a program that has to type-check against that statement. Formal verification means that a computer checks every step of an argument against fixed logical rules, instead of a human reader judging whether the steps hold. When Lean accepts a proof, it has checked that each step follows from the definitions and axioms it builds on. Whether the statement says what we meant is still a question for people, and it comes back further down.
On Saturday, the Lean Focused Research Organization (Lean FRO), a non-profit set up in 2023 to develop Lean [25], and the Mathlib Initiative announced: “We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct” [5].
A few hours after Alpöge’s note, the Stanford mathematician Ravi Vakil posted an unfinished draft with a different approach on his blog, The Music of the Primes by Alessandro Maria Masullo, about 940 pages, all human, no AI [6]. Alpöge’s Lean proof covers five theorems, the Riemann Hypothesis for the zeta function and the matching statements for all Dirichlet L-functions [4]. Masullo’s draft aims at a broader statement [6]. Masullo had worked on it for almost 12 years, and he said he did not use AI because he did not fully trust it [2]. Brian Conrad had been reading it closely for months. Vakil writes that the plan was for Conrad to work with Masullo for a year to polish the writing and only then announce it. Instead he posted the current version, mid-revision [18]. Masullo’s own project page says the draft “was never meant to be seen by the public in its current state”, with revisions due in the coming months [7].
I find it tremendous that one person can stay with a single problem for almost 12 years. That takes an unusual ability to focus, and a lot of that work must have been painful. And the timing is tragic. After all those years, the plan was one more year of polishing [18], and then, on the same Friday, someone else posted a machine-checked proof. If you pitched it as a script, it would sound like the plot of a Hollywood movie.
The news also reached at least one expert in the middle of a Riemann celebration. James Maynard, Professor of Number Theory at Oxford and a Fields medallist of 2022 [31], was in China at a conference marking 200 years since Riemann’s birth. Back in his hotel room after the first dinner, he saw on social media that the hypothesis looked solved. Knowing that the claim came from Alpöge gave it some credibility for him, but he found the announcement “a little bit unorthodox”, because there was no human-readable document to look at, only Lean code [30, 01:00–01:31]. That was the evening before his own talk, “The Riemann Hypothesis: past, present and future”. He had handed in his slides the day before, and they were “made out of date pretty quickly” [30, 00:00–03:01].
Asked later about Masullo’s draft, Maynard pointed out that Masullo has been open that his proof is not complete yet, and asked that he be given “the time and space” to work through his ideas. If it does end in a proof, he said, “there’ll be no shortage of credit”, and it is a different approach [30, 11:30–12:01].
Put both claims next to the history of the problem and the speed becomes visible. Riemann’s paper came out in 1859. Since then the prime number theorem was proved, David Hilbert put the hypothesis on his 1900 list of problems [32], and mathematicians showed that infinitely many zeros lie on the critical line and then that a growing share of them do. Computers checked the first 10 trillion zeros [17, 19]. Well-known claimed proofs by Louis de Branges in 2004 and Michael Atiyah in 2018 failed to win acceptance [17, 29]. Everything in the zoomed panel of the figure happened in less than three months.
For 167 years progress on the hypothesis came slowly, with long quiet stretches. Then everything in the circle happened within three months. The axis is broken between 1910 and 1990 to save space. In the zoomed panel below, those three months take the full width. The October talk is shown as a whole month because its exact date doesn’t matter here.
Both authors are number theorists, Masullo with a Stanford PhD under Brian Conrad and Alpöge at Anthropic [6]. I think the gap between one day and years comes from the two artifacts themselves, from what each one asks of the person checking it.
What a paper proof leaves to the reader
What follows is general background on how proofs on paper work. I haven’t read Masullo’s draft, which experts are still reviewing, and Alpöge’s proof was published as Lean code, so none of this describes either of them. A proof on paper is written for an expert reader. Authors leave out steps they consider standard, with phrases like “clearly”, “it is easy to see” and “by a standard argument”, and each of those phrases trusts the reader to supply a derivation. That is normal, and valid proofs do it all the time. A long human proof can also contain real gaps, such as a step that looks standard and isn’t, a missed case, or a lemma that doesn’t hold as stated. Finding those is the referee’s job. The referee works through the new ideas, checks that the omitted steps can be filled in, and looks for the places where something is missing.
My own sense of this comes from my time as a student. I recently ran OCR over my 2002 diploma thesis, on genetic algorithms, from Universität Dortmund. Rereading it, I found that some of its proofs have gaps, partly in steps I had taken over from other authors’ work. As a student I often struggled to get from one step of a published proof to the next. You never know whether a mistake hides in what is left out, and the only way to find out is to fill it in yourself. I’m still working through the thesis, and a separate post about it is coming. It still amazes me that today’s AI lets me travel back 24 years to my own work, analyse it, and learn what happened in the field after I left it.
Masullo’s draft runs to about 940 pages on the most famous open problem in mathematics. Only a handful of people can judge whether every step holds and whether anything is missing, and they have to do it by hand. Reviewing an argument of that length can take years [6].
In a paper proof, the reader has to supply the steps the author left out, and notice when one is missing. In a certified Lean proof, every step is elaborated, and a small program checks each one.
What Lean does with the skipped steps
Lean is a programming language and a proof assistant. It is a general-purpose functional language, and, as Sutherland says, you can use it “to write programs that actually do things” [9, 07:10–07:15]. His interviewer calls it “just a Turing complete language” [9, 08:42–08:45], and Lean is even written in Lean itself [26]. The usual first program looks much like it does in any other language [26]:
A complete Lean 4 program. Saved as Hello.lean, lean --run Hello.lean prints the greeting:
def main : IO Unit :=
IO.println "Hello, world!"
When Lean is used for mathematics, nobody runs the proof. The check is that the proof compiles, or more precisely that it type-checks [9, 07:16–07:31]. In Lean a proof is a program, and every step has to be spelled out down to rules that a small program, the kernel, can check. The kernel is the small core that does the final check. Everything around it, the elaborator, tactics and automation, can be large and clever, because whatever it produces still has to pass the kernel. That keeps the part you have to trust small. A step can still be generated automatically by a tactic, but the result goes to the kernel like everything else. While you work, you can leave a step open with the placeholder sorry. Lean then warns and records that the proof depends on it, so a certified theorem has to be sorry-free and elaborate to a complete proof term. There is no “clearly”. I wrote about how the kernel works and why it is kept small in Who Referees the AI? [8].
The definitions come from Mathlib, the shared library of mathematics that the Lean community writes and maintains. Here is the statement that was proved, as it appears in Mathlib and on Sutherland’s verification page [4]:
The Riemann Hypothesis as a Lean proposition, using Mathlib’s definition of the zeta function:
def RiemannHypothesis : Prop :=
∀ (s : ℂ) (_ : riemannZeta s = 0) (_ : ¬∃ n : ℕ, s = -2 * (n + 1)) (_ : s ≠ 1), s.re = 1 / 2
Read aloud: for every complex number where zeta is zero, that is not one of the trivial zeros , and is not 1, the real part of is . (The is there because Mathlib gives zeta a conventional value at its pole.) That’s one line. The proof is the 175,187 modules behind it, and nobody has to read them for the check to mean something.
How Sutherland checked the Lean proof
Andrew Sutherland, a computational number theorist at MIT, led the independent checks, and he ran them with Claude Code [4]. A first compile on rented cloud machines finished within about an hour and showed that everything compiled and was sorry-free, meaning no step had been left as a placeholder [9, 04:08–04:34]. Claude Code ran the tools, but the verdicts came from kernels and checkers that other people wrote, and anyone can rerun them without Claude [4]. He told The Pretrained Pod that because of where the proof came from, he had a fair amount of confidence as soon as that first check passed, “but that means nothing”, because “that’s just one guy’s opinion” [9, 09:30–09:42]. And: “the whole point of formal verification is you shouldn’t have to trust the word of experts” [9, 11:03–11:08].
So he built layers on top of the compile. Each one answers a narrower question that people can check without reading the proof.
The first layer asks whether the statement really is the Riemann Hypothesis. Kevin Buzzard of Imperial College called this the first question to ask: what is the statement of the theorem in the Lean code, and does it correspond to the actual theorem [5]? Here part of the answer was unusually clean. The statement “was pre-registered by the Mathlib community almost three years ago”, Sutherland says, and “the statement that was proved was not generated by Levent or Claude” [9, 15:17–15:27]. Pre-registration made the target public before the proof existed, so a later change to it would be visible. The Comparator check described below then confirmed that the proof established that separately loaded statement rather than a redefined one. Experts still had to confirm that the target matches the Riemann Hypothesis, and the cross-check further down serves that purpose.
The next asks whether one kernel can be fooled. In July, somebody published a Lean “disproof” of the Collatz conjecture, produced with AI assistance, that exploited a bug in Lean’s kernel. The bug was fixed within an hour of being reported [10], and I wrote about the episode in October [8]. Sutherland didn’t rely on a single kernel. “I ran verifications against five different Lean kernels written in three different programming languages by different groups of people” [9, 06:35–06:44]. The standard kernel is written in C++, and he says it is “maybe the one you should trust the least” [9, 06:46–06:56]. Two others, lean4lean and con-leche, are written in Lean, and con-leche has itself been verified in Lean. Two more, nanoda and con-ron, are written in Rust by other people at other times [9, 06:56–07:46]. His interviewer points out how unusual this is: most programming languages have one reference implementation, while Lean has a “Cambrian explosion” of independent kernels. Because so much trust rests on Lean, Sutherland calls that a good thing [9, 27:37–28:12, 29:33–29:37]. For a malformed proof term to pass all five checks, every kernel would have to fail on it, whether through a shared logical flaw or through separate implementation bugs. Kernel agreement says nothing about whether the statement is the right one or which axioms the proof uses, and the other layers cover those. Two of these independent kernels, nanoda and con-leche, had accepted the full exported proof on the evening of 20 November, within hours of Alpöge’s note [4].
Then there’s the build itself, which could have been tampered with. Generated code is arbitrary code. Rather than trick the compiler, it could capture the output and print “correct” at the bottom of the screen, as Sutherland puts it [9, 08:11–08:20]. Any code an LLM generates, be it Lean, Rust or Python, could in theory attack the machine it runs on, so it makes sense to treat it with caution [9, 08:21–08:36]. So the proof was rebuilt on a separate machine inside a sandbox, with no network and the source read-only, and the result matched the published export byte for byte [4]. Comparator then checked the five theorems against a challenge file that imports only Mathlib, so the proof cannot redefine any symbol in the statement [4, 5]. Sutherland explains why that matters: Lean is a programming language, and just as C macros can make code do something quite different from what it appears to say, a proof could try to redefine “Riemann Hypothesis” as something that is simply true, or quietly change what the less-than sign means. Comparator loads the statements first, from their own file, and rules that out [9, 13:01–13:58].
Another layer shrinks how much of Mathlib you have to trust. Sutherland combined the proof with an independent Lean formalization of Robin’s and Lagarias’s criteria, inequalities that are equivalent to the Riemann Hypothesis and mention only sums of divisors, logarithms and exponentials. Robin’s inequality, as it was checked, reads [4]:
Spelled out, for every whole number above 5040 the sum of its divisors stays below a bound built from , a double logarithm and Euler’s constant . Zeta doesn’t appear in it. The meaning of Robin’s inequality depends on 2,050 Mathlib and core declarations [4], “a teeny tiny piece of Mathlib”, as he says in the interview [9, 17:46–17:52]. This check still rests on Lean’s logic and on those shared declarations, but they are an elementary part of Mathlib rather than the theory of the zeta function.
The last layer makes the check repeatable by anyone. The exported proof, about 61.6 GB, is published with its SHA-256 hash, so anyone with roughly 100 GB of memory can download it and rerun the checks [4]. The fastest independent check, con-leche, needs about 50 GB and took under four minutes on 64 threads. The slowest, Lean’s kernel in paranoid mode on one thread, took 72 hours and 20 minutes and accepted the proof [4]. Sutherland calls that run part of the Lean community’s gold standard. Paranoid mode makes the kernel much more careful about how it allocates memory, and it runs on a single thread so that no bug in multi-threaded code can affect the result [9, 20:26–20:55]. A quirk in the memory allocator made a run that should have taken about eight hours take almost 72 [9, 21:47–21:56].
On Saturday the Lean FRO and the Mathlib Initiative certified the statement and the proof [5]. Sutherland told Scientific American: “Honestly the chance that anything is fishy here is approximately zero” [5]. The slowest runs finished on 23 and 25 November and passed as well [4]. Sutherland’s page states what a pass means: the statements, written against Mathlib’s definitions, follow from Lean’s three standard axioms according to the kernels used, and the result relies on those kernels and on Mathlib’s definitions meaning what they are intended to mean [4]. The cross-check through Robin’s inequality exists to shrink that second dependency.
Sutherland’s checks as a stack. None of the layers requires reading the 175,187 modules, and each answers a question that people can check.
The whole campaign took several days, with individual checks running from under four minutes to about 72 hours, and none of it needed anyone to read the proof. Masullo’s current draft comes with no comparable formal certificate or reproducible checking route, so it waits for the few experts who can review it by hand, once he has finished revising it [7]. I think that explains most of the gap between a certificate after one day and a draft that is still under review.
Nobody fully understands the proof yet
Sutherland is open about what the checks don’t give you. “It’s fair to say we don’t understand the details of this proof. There’s nobody who completely understands that” [9, 35:51–35:57]. Mathematicians used to prove theorems to know that something is true and to understand why. In the era of formalization, he says, those two things are “now decoupled” [9, 34:46–35:03].
Two days after the two claims appeared, 3Blue1Brown released a montage, recorded over the past year, of mathematicians answering the question “what if AI solved the Riemann Hypothesis?” [11]. One speaker says: “Human intuition is incredible and it’s also very faulty.” In the montage, that faultiness is the reason rigorous proof exists. Another imagines receiving “notes from the gods telling us that things are true without really being very clear at all on why they’re true” [11]. Several of them expect the value to come afterwards, from taking the proof apart and building new tools from it.
In a Numberphile interview published a week after the announcement, Maynard is more concrete. He is “confident that it’s been done”, and he expects to understand the proof himself “maybe in a year’s time, maybe it’ll take me two years” [30, 03:33, 13:31]. He already sees structure in it. Inside the proof sits a new proof, “remarkably simple” in his words, of Pierre Deligne’s celebrated result on the Weil conjectures, an analogue of the Riemann Hypothesis in a different setting, and he says various mathematicians had tried quite hard to find a proof like that [30, 05:00–06:33]. About the route as a whole, he says “no one was really close to this or thinking along the same lines” [30, 07:02].
He also puts the formal proof in its place. Producing it is “only a small part of the overall process of mathematics”, and “the most important thing is the contributions to human understanding” [30, 08:02]. If aliens sent us a zero-knowledge proof, one that shows the Riemann Hypothesis is true while revealing nothing about why, he says it “would be completely unsatisfying” [30, 14:01]. For him, mathematics moves forward through the insight into why a result holds.
The checking has moved to the machine, but understanding the proof is still work for mathematicians, now with AI helping them, and that work has started. A shorter Lean proof appeared on 25 November [4], and Alpöge writes that he intends to understand the argument, explain it and “write it properly” [3]. Sutherland calls the proof “the result of a human-AI collaboration” and says he doesn’t believe current models would have proved it on their own [9, 36:09–36:19]. Maynard weighs it differently: Alpöge “had a non-trivial input, but a huge amount of the really deep heavy lifting was done by AI”, and he finds it “very difficult to know exactly how credit should be applied in this new world” [30, 08:30].
Maynard on younger mathematicians
Maynard also talked about what this does to the people in his field. Asked whether he feels lucky to have made his name before the change, he said: “I’m lucky that I’m protected in various ways” [30, 17:30]. He is an established professor with a Fields Medal [31], and he says he can “enjoy some of the ride” without feeling his own position threatened [30, 17:30]. Younger mathematicians, even when they are cautiously optimistic about the long term, face a short-term disruption that he calls “very difficult to navigate for them” [30, 18:00]. So, in his view, it is “really incumbent” on those who established themselves “in the old regime” to guide them into the new one [30, 18:00].
He doesn’t expect the struggle to go away. He uses AI to talk through a proof, for example to have it walk him through a simple special case and build intuition. Then he needs pen and paper, because “I don’t think you can gain human understanding by simply reading the answer” [30, 15:01–16:02]. With a strong colleague, he sometimes has to say “stop telling me things now” and go away to think, and he feels much the same with an AI [30, 16:30–17:02].
I think this holds well beyond mathematics. AI-assisted work is changing how engineers and architects early in their careers learn the job, and much of what used to be worked out by hand now arrives as a finished answer. Senior engineers and architects are in a position much like Maynard’s, and I think that makes it their job to guide early-career colleagues through this, including the part where you still have to fill in the steps yourself to understand them, as I found when I reread my thesis.
P vs NP rumours
A few days after the Riemann announcements, headlines claimed that AI had “proved the algebraic version of P vs NP”. P vs NP asks whether every problem whose answer is quick to check is also quick to solve, and it is another of the Millennium Prize problems [40]. On 23 November, Anthropic published a paper and a Lean proof, both written by AI, of VP ≠ VNP, a conjecture Leslie Valiant posed in the late 1970s as the algebraic analogue of P vs NP [37, 35]. It shows that the permanent of a matrix, a close relative of the determinant, needs algebraic circuits larger than any polynomial [35, 39]. OpenAI posted its own proof of the same statement later that day [35, 38].
Neither proof settles P vs NP itself. Lance Fortnow writes that VP ≠ VNP does not imply the Boolean separation, and that “settling the P v NP question remains far out of reach for man or machine” [39]. Lean and a second, independently written kernel check Anthropic’s proof, but Anthropic also writes that “no human mathematician has checked the proof” [37]. As with the Riemann proof, the kernels certify the statement that was written down, and people still have to say which statement that is. In this case it is VP ≠ VNP, which is a different statement from P vs NP. Asked whether it raised his confidence that P ≠ NP, which he had lowered from 97% to 95% shortly before, Scott Aaronson wrote on 24 November: “I said sure, I’m now back up to 96%” [35].
I’m sceptical of the rumours that P vs NP itself is about to fall. If it is settled one day, I think a proof that P ≠ NP is more likely than a proof that P = NP. A proof that P ≠ NP would not by itself break current cryptography. In Aaronson’s words, P ≠ NP “is necessary for secure cryptography based on hard problems, but it’s not sufficient” [36].
Checkers for AI output at work
In September I wrote that AI takes over the work that is cheap to verify first, and that the effort that compounds goes into building the verifier [12]. Lean does that for mathematics. It turns a theorem into a formal proposition and checks an elaborated proof term against it. It made a proof of the Riemann Hypothesis checkable within days, even though generating it took weeks of work by a strong mathematician and a strong model. In my post on Anthropic’s move to Rust, shadowed production traffic, compared stage by stage against the old Python system, was the check for an API rewrite [13]. That is empirical validation on the requests that actually arrived, which is weaker than a proof.
Most AI output we use at work reads like a paper proof. It is fluent and plausible, and it leaves the reader both to fill in the “clearly” and to notice when a step is missing. Some of it can get something like a kernel. Code has compilers, types and tests, a policy can be written as rules that a solver checks, and much of a report’s prose has no checker at all. Where a checker is possible, Sutherland’s stack suggests ways to reduce risk. None of them carries over one-to-one, so for each it helps to name the property being checked, the specification it is checked against, and what stays unchecked:
- Write the statement before the generator starts, keep it where the generator can’t edit it, and have someone confirm it says what you meant.
- Check with more than one independent checker, keeping in mind that they can share a wrong specification.
- Run generated work in a sandbox. That limits what it can do, and says nothing about whether it is correct.
- Where a smaller equivalent claim exists, cross-check through it. For most workplace claims, none does.
- Publish the artifact so that someone else can repeat the check.
The first item is the one that matters most to me. A checker only certifies what you wrote down. The Mathlib community pre-registered the statement years before anyone had a proof, which made the target public in advance, and Comparator confirmed that the proof established that statement rather than a redefined one. Experts still had to confirm that the target was the Riemann Hypothesis, because a statement can still be wrong. That is why the cross-check through a smaller claim is on the list, and why Sutherland didn’t rely on Mathlib’s definition of zeta alone.
Automated reasoning at AWS
Lean’s creator, Leonardo de Moura, is a Distinguished Scientist in the Automated Reasoning Group at AWS and chief architect of the Lean FRO [14]. AWS has used automated reasoning in production for years. Introducing a conversation with Byron Cook, published in February, Werner Vogels writes that Cook’s team has “proven the correctness” of AWS’s authorization engine, cryptographic implementations and virtualization layer, and is now applying the same techniques to agentic systems [15]. In the conversation Cook is more specific. He describes ten years of proof over critical security building blocks such as “the AWS policy interpreter, our cryptography, our networking protocols”, and a newer analysis that checks invariants such as “all data at rest is encrypted” [15]. Two public examples show what that looks like. For the Nitro Isolation Engine, the part of the Nitro Hypervisor that keeps virtual machines on Graviton5 instances apart, the team proved correctness and isolation in the Isabelle/HOL proof assistant, with 330,000 lines of machine-checked mathematics, and calls it the first formally verified hypervisor deployed in a commercial cloud [27]. And for RSA signatures on Graviton2, the team made the code 33% to 94% faster, depending on key size, and proved the optimized code functionally correct in the HOL Light theorem prover [28]. That one also connects back to the encryption question above. RSA’s security rests on factoring being hard, and the proof there is about the code computing the right answer. As with Lean, each of these proofs covers only the properties someone wrote down for a named component.
You can use a version of this yourself. Automated Reasoning checks in Amazon Bedrock Guardrails validate a model’s natural-language answers against a policy you define, using formal logic, and they explain why an answer is valid or not [16]. The documentation has its own version of Buzzard’s question. A VALID result “guarantees validity only for the parts of the input captured through policy variables” [16]. In Lean terms, the policy is a partial statement, and you write it before the model answers anything. There is one trust boundary more than with the one-line Lean proposition. Only what is captured in policy variables gets checked, so it also matters how well the answer maps onto those variables.
Before I rely on a checker for AI output, I want the property written down, the specification frozen and confirmed against what we actually need, an independent check run, and everything outside the specification labelled as unchecked. Which of your AI outputs could get a checker like this, and who on your team writes the statement before the generator starts?
Sources
[1] OpenAI — On the Navier–Stokes Millennium Prize Problem (8 September 2026; solution produced by an OpenAI system, with a Lean formalization).
[2] The Guardian — Two groups verify mathematician’s claim that Claude helped prove mathematics problem (21 November 2026; about six weeks, 1859, Millennium Prize, Masullo’s almost 12 years without AI, “incomplete proof”).
[3] Levent Alpöge — Remark (four-page note, 20 November 2026; opening sentence, the 250,000+ page footnote, plans to write the argument up properly).
[4] Andrew Sutherland (MIT) — Verification files for the Lean proof of the Riemann Hypothesis (checks run with Claude Code; 175,187 modules, sandboxed rebuild, kernels, Comparator, Robin1984 cross-check, hashes, run times; page last updated 25 November 2026, checked 27 November 2026).
[5] Scientific American — The AI Riemann hypothesis proof is true, independent mathematicians confirm (updated 21 November 2026; Lean FRO and Mathlib Initiative statement, Buzzard’s question, Sutherland quote, comparator run).
[6] Effortless Math — Two Riemann Hypothesis Proofs (status 23 November 2026; Vakil’s post, about 940 pages, “all human, with no AI”, scope of Masullo’s claim, review time).
[7] Alessandro Maria Masullo — The Music of the Primes, project page (checked 27 November 2026).
[8] Stefan Christoph — Who Referees the AI? (October 2026; Lean’s trusted kernel, the Collatz exploit, independent kernels).
[9] The Pretrained Pod — The MIT Mathematician Who Verified Claude’s Riemann Proof (interview with Andrew Sutherland, 25 November 2026; quotes from the auto-generated captions, with timestamps).
[10] Leonardo de Moura — Postmortem for Kernel Soundness Bug #14576 (1 August 2026; the Collatz “disproof” and the fix).
[11] 3Blue1Brown — We’ve been asking: “What if AI solved the Riemann Hypothesis?” (22 November 2026; speakers are not named in the transcript).
[12] Stefan Christoph — Which of Your Work Is Actually Verifiable? (September 2026; the generator–verifier gap and building the verifier).
[13] Stefan Christoph — Production Is the Verifier: Three Lessons from Anthropic’s Move to Rust (November 2026).
[14] Leonardo de Moura — Homepage (role at AWS and the Lean FRO; checked 27 November 2026).
[15] Werner Vogels, All Things Distributed — A chat with Byron Cook on automated reasoning and trust in AI systems (17 February 2026).
[16] AWS — What are Automated Reasoning checks in Amazon Bedrock Guardrails? (checked 27 November 2026).
[17] Wikipedia — Riemann hypothesis (section “Distribution of prime numbers”: von Koch’s “best possible” error bound and Schoenfeld’s explicit version; checked 27 November 2026).
[18] Ravi Vakil — Hurried Announcement: Alessandro Masullo GRH (20 November 2026, updated 22 November 2026; Conrad’s months of reading, the plan of a year of polishing, the draft posted mid-revision; checked 27 November 2026).
[19] Clay Mathematics Institute — Riemann Hypothesis (primes, the zeta function, zeros on a vertical line, first 10,000,000,000,000 zeros checked; checked 27 November 2026).
[20] Clay Mathematics Institute — Navier–Stokes Equation (checked 27 November 2026).
[21] Wikipedia — Navier–Stokes existence and smoothness (the four prize statements, either direction accepted, the no-force version still open; checked 27 November 2026).
[22] Scientific American — Why solving the Riemann hypothesis won’t break encryption (24 November 2026; RSA and factoring, Miller’s test, randomized primality tests).
[23] 3Blue1Brown — But what is the Riemann hypothesis? Visualizing analytic continuation (checked 27 November 2026).
[24] Numberphile — Riemann Hypothesis (checked 27 November 2026).
[25] Lean FRO — About the Lean FRO (non-profit Focused Research Organization formed in July 2023; checked 27 November 2026).
[26] Functional Programming in Lean — Running a Program (Hello world,
lean --run, Lean written in itself; checked 27 November 2026).[27] Amazon Science — How formal verification makes AWS Nitro the first formally verified cloud hypervisor (Nitro Isolation Engine, Isabelle/HOL, 330,000 lines; checked 27 November 2026).
[28] Amazon Science — Formal verification makes RSA faster — and faster to deploy (RSA on Graviton2, 33% to 94% faster, HOL Light; checked 27 November 2026).
[29] Wikipedia — Louis de Branges de Bourcia and Michael Atiyah (the 2004 and 2018 claimed proofs, not accepted; used for the timeline; checked 27 November 2026).
[30] Numberphile — No-one was close to solving The Riemann Hypothesis (interview with James Maynard, 27 November 2026; quotes from the auto-generated captions, with timestamps).
[31] St John’s College, Oxford — Professor James Maynard (Professor of Number Theory, Fields Medal 2022; checked 28 November 2026).
[32] Wikipedia — Hilbert’s problems (23 problems published in 1900; the eighth includes the Riemann Hypothesis; used for the timeline; checked 28 November 2026).
[33] Wikipedia — Miller–Rabin primality test (Miller’s deterministic test from 1976 relies on the generalized Riemann Hypothesis, Rabin’s randomized version, prime generation; checked 29 November 2026).
[34] Wikipedia — AKS primality test (“PRIMES is in P”, 2002: deterministic, polynomial-time, no reliance on the generalized Riemann Hypothesis; checked 29 November 2026).
[35] Scott Aaronson, Shtetl-Optimized — I’ve been drinking wine in my kitchen (24 November 2026; Anthropic’s and OpenAI’s VP ≠ VNP proofs, the bounds, confidence in P ≠ NP from 95% back to 96%; checked 29 November 2026).
[36] Scott Aaronson, Shtetl-Optimized — Every call (27 November 2026; P ≠ NP necessary but not sufficient for secure cryptography; checked 29 November 2026).
[37] Anthropic — VP ≠ VNP over every field (paper and Lean 4 formalization, 23 November 2026; written by AI, “no human mathematician has checked the proof”, Comparator and the second kernel nanoda; checked 29 November 2026).
[38] OpenAI — VP and VNP are different (preprint, 23 November 2026; checked 29 November 2026).
[39] Lance Fortnow, Computational Complexity blog — VP ≠ VNP (November 2026; what VP and VNP are, why the result does not imply P ≠ NP; checked 29 November 2026).
[40] Clay Mathematics Institute — P vs NP (easy to check versus easy to find, Cook and Levin 1971; checked 29 November 2026).
❤ Created with the support of AI (Kiro)
📝 Last updated: November 29, 2026 — Clearer explanation of the hypothesis, why RSA is not in direct danger, and a new section on the P vs NP rumours