A Mechanical Audit of a Lean 4 Formalization Claiming a Proof of the Riemann Hypothesis

Checking a Proof Without Reading It: One More Machine Check of a Lean 4 Project That States the Riemann Hypothesis as a Theorem
Verification · Field report

Checking a Proof Without Reading It

On 20 November 2026 Levent Alpöge published a Lean 4 project of 175,187 files that states the Riemann hypothesis as a theorem. Several groups checked it by machine within days. This is the record of one more check, run for me by an AI agent, set beside theirs: what each covered, and what each left open.

About this article and how the work was made

This is an account of one audit among several, and not of a proof. Between 20 and 30 November 2026 an AI agent (Hermes Agent, from Nous Research, running the model listed in its session records as anthropic/claude-fable-5.2) tested the machine side of Alpöge's claim on one computer of mine, at my direction. Other people published checks of the same archive, most of them before mine had finished; section 2 describes the ones the agent read for me. Where this article says that I read a web page, the agent read it and I have relied on its account. The same agent found those pages on 29 November and fetched files that they publish or name on 30 November, drafted this article from its verification log and from saved copies of the pages, and ran scripts that compare the article's figures with the log and its quotations with the saved copies. I did not rerun anyone else's checks, and their pages may have changed since. The model is, by its name, one of Anthropic's, the company whose Claude the announcement credits; the MIT page says that its checks were run with Claude Code, Rubinstein's overview page says the same of the Waterloo check, and the Hertaspace page says that its checks "were set up and run by a large language model agent (Claude) under human direction". Three further pages that I cite say or show the same: the repository of the reading project says that the project "is likewise AI-assisted", commit messages on the page from which the agent first took a list of names for section 3 end with "Co-Authored-By: Claude Fable 5.2", and the latest commit shown for the community repository's verification notes is by the accounts Deicyde and claude. The verdicts reported here come from proof checkers and not from a model's judgment, but the scripts around them and the reading of the results are the agent's. I have not read the mathematical argument. My audit does not settle whether the Riemann hypothesis is proved. I directed the work and accept responsibility for this account.

The file is called Main.lean and it is twelve lines long. Its fourth line reads theorem riemannHypothesis : RiemannHypothesis := rhOfAll. Lean is a language for writing mathematics that a computer can check, and in Lean that line says two things: that the Riemann hypothesis, as the standard library Mathlib defines it, is a theorem, and that its proof is to be found under the name rhOfAll.1

The archive that contains it was published on 20 November 2026 by Levent Alpöge, with a note of four pages. "I believe I have, working with Claude, discovered a proof" of the Riemann hypothesis, the note says, and then: "Claude and I have also formalized the arguments without assumptions." No written proof came with it. The note gives its reason: it would be inappropriate, it says, "to attempt to post some massive unreadable travesty of "slop"", so "I decided to only present Lean." It adds that its author intends "to write it properly".2

Behind line four sit 175,187 files and 17,374,215 lines of Lean, about a gigabyte of source. I have not read them as mathematics, and neither did the agent that worked for me. On the evening of the announcement I gave the agent the note and asked it to find the Lean files, download them, and tell me whether they contain a valid proof. The questions a machine can answer are narrower than that. Does the computer really accept this derivation, from the usual axioms, with nothing slipped past it? And is the statement on line four the statement that mathematicians mean?

I was not the first to ask, and my run was not the most thorough. A page at MIT records that its build, its kernel replay and its runs of two independently written checkers had finished before the archive was on my disk, and the organisations behind Lean and Mathlib issued a joint statement about a day after the announcement. So this article does three things in order. It sets out what those checks and others cover, in the words of their own pages. It reports my audit as one more check. And it keeps apart what I verified myself and what I only read.

1What a machine check is worth

A proof assistant removes one kind of doubt and leaves several others standing.

At the centre of Lean is a small program called the kernel. Every definition and every theorem has to pass through it, and it accepts a theorem only if the proof it is handed really does establish the statement from the axioms. A long proof with a subtle gap, the classic way for a claimed proof of a famous problem to fail, does not survive the kernel.

That leaves the ways of being wrong that the kernel does not see. The statement may not mean what its name suggests. A proof may be missing behind a placeholder, or rest on an axiom the project declared for itself. A declaration may have been written into the compiled files without ever passing through the kernel. The compiler or the library may not be the official ones. And a Lean project runs its own code inside the compiler while it builds, with full access to the files on disk.

Eight days before the archive appeared, a post on the Xena Project blog had set out four questions to put to any claim that a proof "is checked in Lean": does the Lean statement match the informal statement, does the code compile, does the code prove the theorem as stated, and does the code exploit a bug in Lean's official kernel.3 The checks described below, other people's and mine, are attempts to answer those four.

This project gives the last of them some weight. It ships its own tactics, and one of them assigns a proof term to a goal without checking that the term fits. Only the kernel stands between such a tactic and a false theorem. So my audit treated the project as an untrusted input and asked one question of it: what would have to be true for five statements to look proved without being proved?

2What others have checked

Several groups put the archive through Lean's checkers within days. Their pages also say what they did not look at.

The joint statement. The Lean FRO and the Mathlib Initiative published a statement that says: "We have full confidence that Alpöge's proof of the Riemann Hypothesis is correct". It continues: "We hereby certify that both the statement and the proof of the Riemann Hypothesis are correct." It then takes the four questions in turn. Mathlib's statement, it says, "has been carefully vetted by experts in Lean and number theory". On compilation: "By now, dozens of people have reported correct compilation of the codebase, reproducing the same raw proof export file." Two tools compared the theorem with a file that holds only the statement, "both confirming that the theorem proved in Alpöge’s library is exactly Mathlib’s statement of the Riemann Hypothesis". And the exported proof was checked by Lean's official kernel, by two checkers called con-leche and con-ron, and by checkers that third parties wrote in other programming languages. Of con-leche and con-ron the statement says that they "come with a formal proof, relative to set theory, that they cannot accept a false proof".4

The statement is about the Riemann hypothesis itself. It does not mention the other four theorems: the restatement for the zeta function and the three on Dirichlet L-functions. It closes by looking ahead: "We look forward to all the activity in the mathematical community that will help explain the new ideas in this proof."

MIT. The fullest public record I found is the page kept by Andrew Sutherland at MIT, whose checks were, in its words, "run with Claude Code". Its summary: "The published Lean source compiles without errors, the five headline theorems depend only on the three standard axioms, every module has been replayed through the Lean kernel, two independently written kernels, nanoda and con-leche, accept the full exported proof, and lean4lean accepts every compiled module."5 The table below that summary has more than twenty rows. Among them are checks that I could not make or did not finish, to which section 4 returns: a rebuild on a separate machine inside a sandbox with no network, whose export matches the published one byte for byte; Lean's comparator tool in two versions, each run ending "Your solution is okay!"; lean4lean on all 175,187 compiled modules; and con-leche built from its current source, with "1,468,418 declarations accepted in --verified mode".

The MIT page also reports a check of a different kind. Combining the proof with a separate formalization of criteria of Robin's type gives, it says, "three theorems with no hypotheses and no mention of zeros of zeta or L-functions"; the first two are inequalities about the sum of the divisors of a whole number. The page describes this as "a check that does not depend on Mathlib's definition of the zeta function".

Its caveats are stated as plainly as its results. The original build "ran on cloud machines without a sandbox", and the page presents the sandboxed rebuild as the check on that. On scope: "Dedekind zeta functions, Hecke L-functions and automorphic L-functions in general are not among the statements that were checked." And on what a pass means: "It relies on those kernels and on Mathlib's definitions being what they are intended to be."

Waterloo. Michael Rubinstein at the University of Waterloo published a check run on the university's servers, complete on 21 November: a full compile, the axioms of the five theorems, a replay of every module through Lean's kernel, and nanoda, which checked 1,484,729 declarations.6 His overview page says that the check was run with Claude Code.7 The checklist goes beyond the machine runs in two places. The statements are marked "Read by hand". The page does not say by whom; it shows three of the five definitions and explains two of the statements in words. And of the project's own tactics it says: "The few custom tactics and commands have been read and all go through the kernel". What the result assumes is given as "that the Lean kernel (checked twice, by independent implementations) is sound and that Mathlib's definitions of ζ and of Dirichlet L-functions mean what they are supposed to."

Other runs. A repository under the name Hertaspace reports that "four kernel implementations accept the proofs", and says of its own limits: "We checked the formal proof only. We did not read the proof or the note." Its comparator run was stopped by the operating system after 41 hours and was not repeated.8 A run on the LUMI supercomputer built the project, each compiler process in a sandbox without network, and walked the axioms. Its table marks the kernel replay and a second kernel as "not run by us", since others had done them, though it says that Mathlib's compiled files "were replayed in the kernel here"; and it says that a full pass "would not establish that anyone understands the argument".9 It lists the four definitions in the project's statements file among the things it trusts, "which a human should read". A third repository records a nanoda run of its own.10

Reading the argument. Checking a derivation is not reading an argument, and these pages are careful about the difference. On the day of the announcement Terence Tao wrote of the efforts to verify the proof and to extract its strategy: "I imagine the digestion process will take some time".11 Rubinstein's page offers a working guide to the proof for the zeta function, 265 pages long, written with the AI systems Claude, Codex and Gemini. The page says that the guide reduces the main inequality, and with it the hypothesis, to "thirteen numbered hypotheses stated in classical terms, none of which is proved" outright, and adds: "It is a work in progress."7 A reading project published under Bartosz Naskręcki's GitHub account maps the architecture of the proof and lists five verification tasks still open. Among the things it says it does not claim is "that the Riemann hypothesis has been proved."12 The guide that accompanies the LUMI run was assembled from reviews of the source by AI agents, which it says "have not been checked by a human specialist", and it lists parts of the argument under the heading "Not read by anyone, as far as these reports know."13

On 25 November a shorter Lean proof of the same five theorems was published by Luke Sernau with colleagues at Anthropic and Claude, in two editions of about 300,000 and about 76,000 lines. Its README says: "The proof has passed machine checks only", and then: "No mathematician has read it through, and no paper comes with it."14 Sutherland and Rubinstein each checked the shorter proof as well. Sutherland's page for it says of its own checks: "They say nothing about whether the argument has been read or understood by a mathematician".15

An objection. Not everything published agrees. A paper by Jenny Lorraine Nielsen on PhilArchive is titled "Invalidity of the Alpoge Proposed Proof of the Riemann Hypothesis". Its abstract, in the version of 26 November, makes several assertions about the Lean code and concludes that the proof is invalid. One is that "The geometry condition is defined as the constant True". Another is that a height is given the value it is then compared with, so that "after that assignment the equality holds by rfl".16 I looked up the first of these only. The abstract makes others that I did not examine, among them that "The shortened update on OpenAI Github contains the exact same issue relabeled", which I take to mean the shorter proof of 25 November. The abstract names no definition. My copy of the source has one that fits, anyGeometry, a condition that always holds, and it is among the definitions the five theorems depend on; that this is the definition meant is my reading. The same definition was raised in an issue of the community repository, which does not mention the paper. One participant there reported, for the original revision and from someone else's dependency export, that it "is in the kernel closure of all five theorems", and agreed with an earlier comment that had called it vestigial and proposed to remove it.17

I have not evaluated the other assertions or the paper's conclusion. What I can say is what a kernel check means in this case. A kernel accepts a derivation of the final statement or it does not, and what an intermediate definition is called, or whether it is trivially true, does not enter into that. If the kernels are sound and the final statement is the right one, the theorem stands. Whether the argument is what its names suggest is a question about reading, and that is the part still under way.

3My check: six gates

Each gate closes one way of being fooled. Other pages report all six as passed before my run ended. This is one more machine and one more record.

My audit started from the same archive. The agent downloaded it in fourteen parts from the address in the note. Its checksum is the one that the MIT and Waterloo pages give, and the compiled file Main.olean from my build has the same checksum as theirs, though they built on cloud machines and university servers and I built on a Mac.18 Not every published value agrees with mine. The third repository mentioned above gives a different checksum for its own Main.olean, and the MIT page and the Hertaspace repository's verification record describe exports that are different files from mine. On 30 November I had the agent find out why, by reproducing each published value from my own build. The third repository's build script calls the compiler without the project's package name and with the linters turned off. Compiling Main.lean that way on my machine gives its checksum exactly, and a test in which nothing but the package name was removed from what the compiler is given produced the third repository's file for each of three modules, Main among them. A sample of 200 files of the kind in which linter messages leave a trace, compiled with that script's options, came out with its checksums as well. The two exports come from giving the export tool a longer list of starting names. With the list in the Hertaspace repository's script, my build produces a file with the size, the line count and the checksum that their record gives; I did not have their file. My own export is the beginning of that file, byte for byte, and 14 more lines follow. With the 38 names of the file that the MIT page names for its list, my build produces the file that the MIT page publishes, byte for byte. Each of those two exports holds the 1,484,729 declarations of mine and four more from Lean's Init library, on which the five theorems do not depend. The joint statement speaks of people "reproducing the same raw proof export file"; the pages I read describe three such files of different length, and these runs show that my one build yields all three.19 The checks listed below draw on none of the other checks. The agent first read those pages on the evening of 29 November, for this article.

  1. Statements. A program that loads the compiled result, and none of the project's code, compared the type of each of the five theorems with its statement. The comparison is structural, so nothing the project does to the way Lean prints things can affect it. All five match exactly. The first statement is Mathlib's own definition; the other four sit in a 16-line file that imports only Mathlib. Compiled against a fresh copy of Mathlib, the statements and everything they depend on, 53,004 declarations, come out byte for byte the same as in the project.
  2. Provenance. The Lean 4.33.1 compiler archive has the checksum that the Lean project publishes. After the build, the compiler directory was still identical to a fresh extraction, all 17,466 files of it, and all 52,160 compiled library files the project had used were identical to a fresh download of Mathlib's cache.
  3. Build. All 175,187 modules compiled, with exit code 0, in 107 hours and 20 minutes on a 32-core Apple M3 Ultra with 512 GB of memory.
  4. Axioms. A walk through the proof terms, starting at the five theorems, reaches 1,478,243 constants and exactly three axioms: propext, Quot.sound and Classical.choice. These are Lean's three standard axioms. The project adds none. The LUMI page reports the same number of constants.
  5. Kernel replay. Every declaration stored in the compiled files, 2,741,727 of them across Lean's core, the libraries and the project, was sent through the kernel again, starting from an empty environment. All 187 batches passed.
  6. Independent kernel. Everything the five theorems depend on was exported to a text file of 61.57 GB. nanoda, a checker for Lean's logic written separately in Rust, accepted all 1,484,729 declarations in it, with the three standard axioms as the only ones permitted.20 The Waterloo page and the third repository mentioned above report the same count, each for an export with the same size and checksum as mine.

Two of these gates were not in my first plan. Early on, the axiom check had been described as the deciding test. It is not: an axiom check cannot see a declaration that never went through the kernel, and the replay was added for that reason. Provenance, too, was first reported from clean source checkouts, which say nothing about the compiled files a build actually uses. Both corrections are in the record.

None of the six is new. The MIT and Waterloo pages report the same kinds of check with the same outcome, days earlier and much faster: my build took 107 hours on 32 cores, and the Waterloo page gives 3 hours 18 minutes for a build spread over many servers. What my run adds is another machine, another operating system and processor, a record kept separately, and the same answer.

Source Build Compiled result Export 175,187 files, 17.4 million lines Lean 4.33.1, 107 hours 2,741,727 stored declarations what the five theorems use, 61.57 GB Text search for placeholders and added axioms Compiler archive matches the published checksum All 175,187 modules compile, exit code 0 Afterwards: compiler and 52,160 library files unchanged Each theorem's type is exactly its statement Three standard axioms reached, no others Every declaration replayed through the kernel nanoda accepts 1,484,729 declarations Lean 4.36.0 kernel accepts, in two runs con-ron and con-leche decline one type passed no verdict
Figure 1. Where each check sits. The checks on the compiled result and on the export are the ones that bear on whether the derivation is sound; the checks on the source and the build establish that the right things were compiled with the right tools.

4A later kernel, and four checks I could not finish

A newer release of Lean accepted my export twice. Four other checks gave me no verdict. For each, the MIT page reports a related run, which is not always the same check.

Lean 4.33.1, the version the project pins, is not the newest. According to the release notes, later versions closed two ways in which a very large input could cause undefined behaviour in the official kernel, and this input is very large.21 The same notes say that nanoda is not affected. To cover the same ground with Lean's own kernel, I had the export given to the official checker of Lean 4.36.0, which has the fixes. It accepted the export in two separate runs: one of 33 hours 14 minutes with the allocator as shipped, and one of 7 hours 7 minutes with a single allocator setting changed. Both runs used a larger stack than the default, 4 GiB, after a test showed that too small a stack ends in a "deep recursion" error that says nothing about the proof. The MIT page reports the same checker accepting its own export in 48 hours 3 minutes as shipped and in 9 hours 8 minutes with the same setting changed, and reports that Lean's "paranoid" kernel accepts it too. I ran the paranoid kernel on the five statements only, not on the full export.

My other results from the Lean 4.36.0 tools are less tidy, and they are part of the record.

Lean 4.36.0 ships two "verified kernels", con-ron and con-leche. In my runs both declined the export, after 104 and 153 seconds, because the project contains one block of mutually defined inductive types of a kind they do not support. A decline means the checker did not look. It is not a pass and it is not a rejection. The MIT page reports the same for the bundled programs, "exit 2, not a rejection", and reports that con-leche and con-ron built from their current source do support the type: con-leche accepts the MIT export in full, and con-ron accepts the proof's declarations in its comparison mode. I did not build them from source, so I have no verdict of my own from a verified kernel.

The copy of lean4lean bundled with Lean 4.36.0 rejected my export of the five statements at Nat.mod, a function in Lean's core library.22 A rejection inside the cone of the theorems could not be waved away, so it was tested: the same checker rejects the core library of Lean 4.33.1 on its own, with no Mathlib and no project in sight. The rejection is a mismatch of versions. It is still not a pass. The MIT page lists the same program as not applicable, because it "cannot read a v4.33 core library".

The lean4lean built for Lean 4.33 was tried on samples. It accepted five of six batches of 1,000 modules and did not finish the sixth: on some of the project's proofs it ran 100 to 160 times slower than Lean's kernel, and a full run was roughly estimated at 230 hours of processor time. I made no full run. The MIT page reports one: all 175,187 modules passed, five of them only after lean4lean's limit on computation steps was raised.

Finally, Lean's documentation describes a procedure for validating a proof that may be malicious: build the statements and the proof separately, inside a sandbox, and compare.23 The sandbox exists only on Linux. On my Mac the tool refused to start, and I have not run that procedure. The MIT page reports two comparator runs carried to the end. The first ran on the files of the original build, which was made without a sandbox: its build step "was satisfied by a stub". The second ran from exports. Neither built the project inside the comparator's sandbox. The sandboxed part of the MIT record is the separate rebuild described in section 2, whose export is identical to the published one. None of the pages the agent read reports the documented procedure, with the build inside the sandbox, completed for this archive. For the shorter proof, Sutherland's page reports that the comparator did build the project inside its sandbox and passed.

CheckWhat my run coveredMy resultAs reported on other pages
StatementsThe five theorems' types; a fresh MathlibPassJoint statement: two tools confirm. Waterloo: read by hand
ProvenanceCompiler; 52,160 compiled library filesPassMIT: library files identical to the official cache
Build175,187 modules, Lean 4.33.1PassMIT, Waterloo, Hertaspace, LUMI: pass
Axioms1,478,243 constants reachedPass, three standard axiomsMIT, Waterloo, Hertaspace, LUMI: the same three
Kernel replay2,741,727 stored declarationsPassMIT, Waterloo: all 175,187 modules
nanoda1,484,729 declarations of the exportPassMIT, Waterloo, Hertaspace: accepts
Lean 4.36.0 kernelThe same export, two runsPass, twiceMIT: accepts, default and paranoid kernels
con-ron, con-lecheThe same export, bundled programsDeclined, no verdictMIT: bundled programs decline; from current source, con-leche accepts the MIT export and con-ron accepts in comparison mode
lean4lean (4.36.0)The statements onlyRejected, version mismatchMIT: not applicable to a 4.33 library
lean4lean (4.33)Samples onlyNo full runMIT: all 175,187 modules pass
Sandboxed comparatorNothing in the sandbox; without it, the statements onlyNot run in the sandbox (Linux only); failed as a whole without it, because of the lean4lean rejectionMIT: comparator passes in two runs, neither on a sandboxed build; a separate sandboxed rebuild gives the same export. Hertaspace: stopped after 41 hours
Meaning of the statement25 audit theorems, four checkersPassWaterloo: read by hand. MIT: two consequences free of zeta
Table 1. The main checks of my audit and what each returned, with what the pages described in section 2 report for the same kind of check. The last column is what those pages said when I read them on 29 November 2026; I did not rerun their checks. My verification log has an entry for every run of mine, including sizing runs and the ones that failed or gave no verdict.

5Is line four the Riemann hypothesis?

The kernel checks the proof. It cannot check that the statement says what its name says.

Here is the statement, as Mathlib defines it:24

def RiemannHypothesis : Prop :=
  ∀ (s : ℂ) (_ : riemannZeta s = 0)
    (_ : ¬∃ n : ℕ, s = -2 * (n + 1)) (_ : s ≠ 1),
    s.re = 1 / 2

Read aloud: for every complex number s, if ζ(s) = 0, and s is not one of −2, −4, −6, …, and s is not 1, then the real part of s is 1/2. That is the textbook statement, with one odd clause at the end. At s = 1 the zeta function has a pole and no value at all, so there seems to be nothing to exclude.

Mathlib's source does not say why the clause is there. The MIT page gives the reason in a line: "The condition s ≠ 1 is there because Mathlib assigns ζ a conventional value at its pole." The 2025 paper in which the authors of this part of Mathlib, David Loeffler and Michael Stoll, describe their work does not mention the clause, but it tells the story behind that value.25 In Lean every function has a value everywhere, so Mathlib's zeta function has a value at 1 as well. Nobody chose it; it fell out of conventions made earlier in the construction. The formal statement as first announced had no such clause, and K. Buzzard and J. Ellenberg pointed out the problem, which the authors put this way: "If this junk value happened to be zero, then the conjecture we had formulated would not be the Riemann Hypothesis; it would be trivially false!" They then proved that the value is not zero. It is about −0.98.

A formal statement can differ from the real one in a corner nobody was looking at. The kernel will check the proof of either with the same care.

Others have dealt with this question in their own ways. The joint statement rests on experts having vetted Mathlib's definition. Rubinstein's page marks the statements as read by hand. Sutherland derived two consequences that do not mention zeta at all (a third involves the Dedekind zeta function of a cyclotomic field); they rest on a separate formalization, which his page also checked. And a Lean file in the LeanMillenniumPrizeProblems repository, which I read but did not compile, states the Clay Institute's formulation of the problem and contains proofs that it is equivalent to Mathlib's statement and to Riemann's original wording.26

The last check of my audit came at it from one more side. Mathlib builds its zeta function by a long route through theta functions and integral transforms, and until its last day my audit simply trusted that the result is the zeta function. The agent therefore wrote 20 short theorems, in a file that is not part of the project, and had them checked the same way as the claim itself. They say, in outline:

Mathlib's zeta function is holomorphic everywhere except at 1, and where the real part of s exceeds 1 it is the limit of the sums 1 + 1/2s + … + 1/Ms. Any function with those two properties agrees with it everywhere except at 1. Whatever the route by which Mathlib builds it, the function in the statement is therefore the analytic continuation of the series that defines ζ.

The clause s ≠ 1 excludes nothing: the definition with it and the definition without it are equivalent.

Mathlib's statement is equivalent to the form most people know: every zero with real part strictly between 0 and 1 has real part exactly 1/2. The 20 theorems gave one direction, that Mathlib's statement implies it. The other direction came later the same day from the second reader described below, which wrote a proof of it while checking the agent's work. That proof, five more theorems, then went through the same checkers. That this is the usual form of the hypothesis is the agent's reading; I have not asked an expert.

The same uniqueness holds for the Dirichlet L-functions that three of the project's other statements are about, and each of those three can be restated for any analytic continuation of its series.

Four checking programs accepted the proofs of all 25 from the three standard axioms: the Lean 4.33.1 kernel, nanoda, the Lean 4.36.0 kernel and the lean4lean built for 4.33. Only nanoda among them is written separately from Lean's kernel. The agent also compared the pinned definition with the Loeffler and Stoll paper and found it to be the one they describe, apart from the clause just discussed.

The pages I read rely, in the words of the MIT one, on Mathlib's definitions "being what they are intended to be". For the zeta function, these 25 theorems turn one part of that reliance into a checked statement. I did not find the same thing on those pages, and I may have missed it elsewhere.

Two limits apply to my part. My audit did not put the project's three statements about Dirichlet L-functions before an expert. What the other pages say about them is limited. The MIT page puts each of the three in words and describes the fifth as "the form in which the Generalized Riemann Hypothesis for Dirichlet L-functions is usually stated". The Waterloo page marks the statements as read by hand and explains one of the three in words. The verification notes in the community repository also say that "The statements were read by hand", and that the Dirichlet statements cover every character, "imprimitive ones included"; they do not say by whom.27 A record on Zenodo by one named author reports a "self-contained statement-fidelity inspection" of the statements file, which I have not examined.28 The LUMI page lists them among definitions that a human should read. And the 25 statements were written by the agent and by a second instance of it. Their proofs are machine-checked. That each statement says what I have just described has been checked only by AI readers: separate instances of the same agent read the first 20 and, later, the other five, and found no mismatch. No person has read them.

6The checks on the checks

My audit made mistakes. Finding them was part of the method.

The largest was an estimate. The run of the Lean 4.36.0 kernel was predicted to take seven or eight hours, by scaling up from a sample. It took 33. Stack samples of the running process showed most of its time going into the memory allocator's periodic clean-up, a cost that grows with the size of the live heap, so that scaling up from a small sample had missed it. A test on a 10.9 GB sample showed that a longer interval between clean-ups took 24 per cent less time. A second run with that setting was started beside the first, and the first was left to finish. Both accepted the export.

The report had its own errors. I asked for a formal paper on the audit, and the agent then gave its draft to a second reader, a separate instance with the record open and instructions to find overclaims. It came back with 30 findings. The draft had counted the build as a full kernel check, which it is not. It had said that no completed check found a defect without naming, in the same breath, the rejected and unfinished runs. It had treated the lean4lean rejection as explained when the explanation had not been tested; the test described above was made because of that finding. A separate comparison of the log with the raw output files found five places where the log's wording had gone stale.

The last day added three more. The agent edited a script while the script was running, and the run ended in a shell error after all its stages had already reported. A first lookup of Mathlib theorem names, done by text search, reported two theorems as missing that are there. And when the proof of the converse was first sent to the checkers, the export step failed, and two of the three checkers reported success on the empty file it left behind. The log showed the failed export; the agent fixed the cause, changed the script to stop when an export fails, and ran it again. All three are in the log, with the reruns that replaced them.

That last day's work was then put through the same treatment as the report: two readers, one for the 20 statements and one for the new passages, returned 38 findings between them. Two were serious. The abstract and one summary paragraph claimed more for the new theorems than the detailed section allowed, and both were rewritten. The readers also caught that the report had the Loeffler and Stoll paper explaining the clause s ≠ 1, which that paper never mentions. The log lists all 38 findings and what was done with each. The corrections then went to two more readers, who returned 27 smaller findings, none of them serious. One was that the stop the agent had just added to its script tested the export file and not the exporter's exit code. It tests both now, and the stop has been tried. Those 27 are worked in as well, and that last round has not been read again.

The survey in section 2 has the same weakness as the rest: an AI agent read the pages. To limit it, a script matched every quotation in this article against a saved copy of the page it comes from, and compared as exact strings the figures that I say agree with mine. The script cannot tell whether I have summarised a page fairly. The survey also turned up an error in my own report, which said in several places that the note published with the archive had not been examined, and in one that it had not been opened. The session record shows that the agent read the note on the first evening, to find the address of the files. Nothing in the audit relies on what the note says. The report also made the same general statements that this article first did, such as that no other party had repeated the checks. Both are corrected: the report now has a section on the other checks, and its statements of what was not done are statements about my audit.

That revision was read in its turn. In the night after it was written, two further instances of the agent went through it: one compared what this article and the report say about other people's pages with the saved copies, the other compared the changes with the record. They reported 49 findings, two of them serious. The first was a number I had not looked for. A page that I cite because its export has the same checksum as mine gives a different checksum for its compiled Main.olean. My comparison had searched the other pages for my own values, and a search of that kind can only find agreement. A search for values that differ then found three, and a later reading a fourth; section 3 and its notes name them and say where each comes from. The second was the headline: the page title and the first sentence of this article called the project a proof of the Riemann hypothesis, which is the one thing the article says it cannot tell you. Several of the rest were summaries that gave a page more than it says. The MIT comparator runs were not builds in a sandbox. The Waterloo page marks the statements as read by hand without saying by whom, and the joint statement speaks of experts for Mathlib's definition only. All 49 are in the log with what was done about each.

The corrections were read in their turn the next morning, again by two instances of the agent. They reported 35 further findings, none of them serious. One was a sentence that the corrections had added: that no page reports Mathlib rebuilt from source, when the Hertaspace record says that part of it was recompiled. Another was a fourth differing value, which the search had found and set aside. A third was that the report had set the third repository's way of calling the compiler beside its differing checksum, as if that explained it, when three other groups also call the compiler directly and get my checksum; the cause turned out to be narrower, the missing package name. All 35 are in the log too.

Those corrections, and the account of the differing values in section 3, were read that afternoon by three more instances. One of them recomputed the measurements behind section 3 from the files on disk and found them as stated. They reported 41 findings, again none of them serious. The agent had written that a file which one page names could not be found, when a page it had saved the day before said where the file was; fetched within minutes, it held the list already in use. It had written that part of the third repository's list could not be reproduced on my machine, without having tried; the sample of 200 files was the trial. And it had written "byte for byte" of an export of which it knew only the published size and checksum. All 41 are in the log. The corrections made after this last reading have been read by the agent that made them and by nobody else.

The log has 45 entries. The last ten are the comparison with the other pages, the three readings of it just described, and the examination of the values that differ. Of the 45, 34 are passes, some of limited scope, and 7 are sizing runs that test nothing about the claim. The remaining four are a rejection, a decline, a run that was planned but not made under that entry, and the comparator, which could not run in its sandbox and failed as a whole without it because of the lean4lean rejection.

7Where this leaves the claim

One more run with the same answer, made without reference to the others. The checking is far along, on the evidence of these pages. The reading is under way.

My audit supports one sentence. Each of the five formal statements, Mathlib's RiemannHypothesis among them, is a machine-checked theorem of Lean's logic under three standard axioms. Three kernel programs accepted the complete derivation in my runs: the kernel of Lean 4.33.1, nanoda, and the kernel of Lean 4.36.0, which is a later version of the first. No completed check of mine found a defect in it; the checks that gave me no verdict are the ones listed in section 4.

That sentence is relative to a list of things my audit relied on and did not verify: Lean's logic and the kernels themselves, the official compiler binaries, the program that wrote the export, Mathlib's basic definitions and its pre-built cache, the tools the agent wrote for the audit, and one machine.

Set beside the other checks, the sentence is not mine alone. The MIT, Waterloo and Hertaspace pages report the same outcome from their own builds, and the MIT page reports it from many more checkers than I ran. The Lean FRO and the Mathlib Initiative go further than my audit can: they certify the statement and the proof as correct. I report that certification here. I am not adding to it, since my audit did not review the mathematics.

What my audit did not do

  • It did not read the argument. I have not read it, and neither has the agent. A derivation of this size, once checked, shows that a formal proof exists; it does not tell anyone why the theorem is true.
  • It did not put the formal statements before an expert. The joint statement says that experts vetted Mathlib's definition, and the Waterloo page and the community repository's notes say that the statements were read by hand, without saying by whom; a record on Zenodo reports an inspection of them by its author. I found no page that describes a reading of the project's own four definitions as one by experts.
  • It did not run the sandboxed procedure that Lean's documentation recommends, it got no verdict from a verified kernel, and it did not finish lean4lean. The MIT page reports a rebuild in a sandbox, the comparator run to the end without a build of the project inside its sandbox, con-leche accepting the MIT export and con-ron accepting in comparison mode, and lean4lean on every module.
  • It did not rebuild Mathlib from source. Mathlib came from its pre-built cache, which was compared file by file with a fresh download.
  • It did not rerun or inspect anyone else's checks. What I say about them is what their pages said on 29 November 2026 and what the files named in section 3 held on 30 November.
  • It has not itself been repeated. Its 25 theorems and its record have been read only by AI readers, and its tools by no one but the agent that wrote them.
  • It did not review the 104,045 warnings in the build log, it did not run nanoda on declarations outside what the five theorems depend on, and its runs of the 4.36.0 kernel used a larger stack than the default.
  • It did not evaluate the published objection described in section 2, beyond looking up one definition.
  • It did not test whether the 98,219 compiled files that contain the path of my build directory differ from the published ones in anything but that path. It compiled 223 files of the third repository's list and not the rest, it did not have the Hertaspace export itself, and it ran no checker on the two exports it regenerated to explain the values that differ.

The limits that the other pages state for themselves are of two kinds. Their checks rely on the kernels and on Mathlib's definitions; the MIT, Waterloo and LUMI pages each say so. And they are checks of a derivation and not readings of an argument; the Hertaspace page, Sutherland's page on the shorter proof and Sernau's own README each say that.

I would not write "the Riemann hypothesis has been proved" on the strength of my audit, and the audit report does not. What my audit supports is a smaller statement: a formal derivation of Mathlib's Riemann hypothesis exists, and every kernel that checked the whole of it in my runs accepted it. The other pages say the same of their runs.

When the audit ended I had a list of next steps: a rebuild by someone else on other hardware, the comparator in a Linux sandbox, a reading of the statements by a mathematician. The pages in section 2 report builds on other hardware, with dates earlier than the end of my own. They report the comparator run to the end, though not with the build inside its sandbox. For the statements they report experts for Mathlib's definition, two pages say that the statements were read by hand without saying by whom, and one record reports an inspection of them by its author; no page I found describes a reading of the project's own four definitions as one by experts, so that step is still open. What is left on my side is a longer list than I first wrote here. No person has read the 25 audit theorems or the audit's tools. Mathlib was taken from its cache and not rebuilt. The build warnings were not reviewed. My runs have not been repeated, though the published checksums of three files of other people, and one of those files itself, have now been reproduced from my build. And the corrections made after the last reading of these passages have been read only by the agent that made them. What is left in general is what those pages describe as under way, the reading of the mathematics by people, and no machine audit does that for them.

Notes and sources

Web pages were read on 29 November 2026; files that those pages publish or name (lists of checksums, scripts, one export and one list of names) were fetched on 30 November. A copy of each page as read is kept with the audit files, and the quotations above were matched against those copies by script.

  1. Lean 4: L. de Moura and S. Ullrich, "The Lean 4 Theorem Prover and Programming Language", CADE 28 (2021), doi:10.1007/978-3-030-79876-5_37. Mathlib: The mathlib Community, "The Lean mathematical library", arXiv:1910.09336; source at github.com/leanprover-community/mathlib4. The project pins Lean 4.33.1 and the Mathlib release of the same number.
  2. L. Alpöge, untitled note of four pages, alpo.ge/remark.pdf. The copy I was given on 20 November and the copy fetched from that address on 29 November are the same file, byte for byte. The date of 20 November 2026 for the announcement is the one given on the pages in notes 4, 5 and 6.
  3. "…and the proof is checked in Lean", Xena Project blog, 12 November 2026, xenaproject.wordpress.com. The joint statement in note 4 refers to this post for its four criteria.
  4. "Lean verification of the Riemann Hypothesis", joint statement by the Lean FRO and the Mathlib Initiative, leanprover-community.github.io/blog/posts/riemann-hypothesis. The page as I read it carries no date; it says that the checks were made over the day after 20 November, and a guide to the proof at github.com/rh-lean-roadmap/rh-lean-roadmap dates it 21 November.
  5. A. Sutherland, "Verification files for the Lean proof of the Riemann Hypothesis", math.mit.edu/~drew/grh. The page says it was last updated on 27 November 2026 at 17:27 UTC. All figures and times that I attribute to the MIT page are from its table of checks and its caveats.
  6. M. Rubinstein, "An independent check of the Lean proof of RH and GRH", mrubinst.github.io/grh-lean-verification.
  7. M. Rubinstein, "Alpöge/Claude proof of the Generalized Riemann Hypothesis", University of Waterloo, math.uwaterloo.ca/~mrubinst/alpoge_claude_grh. The page gives the working guide as 265 pages, version 2, a working draft of 22 November 2026, and it describes the check of the shorter proof.
  8. "Independent verification of Alpöge's Lean proof of the Riemann Hypothesis", github.com/Hertaspace/alpoge-rh-lean-verification.
  9. "Independent verification of Alpöge's Lean formalization of RH / GRH, run on LUMI", github.com/aapolipponen/rh-lean-check-lumi.
  10. "Independent Verification Receipts", github.com/Infatoshi/rh-verification-receipts.
  11. T. Tao, "Unforced Euler singularity, unforced Navier-Stokes singularity, and the Generalized Riemann Hypothesis", What's new, 20 November 2026, terrytao.wordpress.com.
  12. "The verification ledger", in Architecture of the announced RH proof, nasqret.github.io/riemann-rev/book/verification.html.
  13. The reader's guide in the repository of the LUMI run (note 9), docs/README.md, read at the commit linked.
  14. "grh-lean: A short Lean 4 proof of the Generalized Riemann Hypothesis", github.com/lsernau/grh-lean. The author's full name is as given in the guide linked in note 4, and the date of 25 November is given there and on the page in note 15.
  15. A. Sutherland, "Verification files for the shorter Lean proof of RH and of GRH for Dirichlet L-functions", math.mit.edu/~drew/shortgrh.
  16. J. L. Nielsen, "Invalidity of the Alpoge Proposed Proof of the Riemann Hypothesis", PhilArchive, philarchive.org/rec/NIEIOT-2. I read the abstract on that page, in its version 34 of 26 November 2026, and not the paper.
  17. Issue 96 of the community repository, github.com/leanprover-community/riemann-hypothesis/issues/96. In my copy of the source the definition is def anyGeometry : GeoP := fun _ _ _ => True, and the name occurs as a definition in my export of what the five theorems depend on.
  18. The comparison of my files with the values on these pages is in the audit files (audit/compare_others/) and in entries C35 to C44 of the verification log. The archive is 239,275,554 bytes. In 19 comparisons a page gives the value of my audit. Four published values differ: the export on the MIT page (61,570,595,788 bytes against my 61,571,290,481), the export in the verification record of the Hertaspace repository (61,571,291,492 bytes), the Main.olean of the receipts repository, and a count of 1,484,733 declarations that the verification ledger of a reading project gives for its nanoda run on the MIT export, against my 1,484,729. The next note says what the agent found about each.
  19. These runs are entries C39, C40 and C42 to C44 of the verification log. The MIT page says that its target list is as in a file export-targets.txt of Deicyde, whose repository it gives as its source mirror. The agent at first reported that it had not found that file: it had listed the default branch of the repository to which that address now leads, and that branch holds a later version of the proof. It took the 38 names from the page of a repository that calls itself a fork of that one, github.com/the-omega-institute/riemann-hypothesis. Two of the readers described in section 6 then pointed out that the verification notes of the community repository (note 27) name the file. It is in that repository at the commit of those notes, export-targets.txt, and holds the same 38 names in the same order. The scripts of the MIT page read their list from a local file that the page does not publish, so that the MIT export was made with this list is still an inference, from the page's words and from the identical file. The four added declarations are Nat.lor, Nat.xor, String.mk and a proof that the last depends on; with them my script counts 1,484,733 declared names, the number that the reading project gives for nanoda, which I did not run on that export. The MIT page and the Hertaspace record give a lower number, 1,468,418, for con-leche on their exports; I did not examine what that checker counts. For the Hertaspace export the agent compared the size, the line count and the checksum that the record publishes, and not the file. Of the 175,187 compiled files of my build, 76,968 have the checksums in the two lists that the MIT page publishes; the other 98,219 contain the path of my build directory and cannot be compared with those lists in that way. The Hertaspace record reports the same two numbers for its own build. Of the third repository's list, 223 files were reproduced, 220 of them drawn at random, and the rest were not compiled; the test of the package name covers three modules. No checker was run on the two regenerated exports.
  20. nanoda: github.com/ammkrn/nanoda_lib. The export was written with lean4export, github.com/leanprover/lean4export. The export took 52 minutes and nanoda's check 29 minutes on 32 threads.
  21. Release notes of Lean 4.34.1 and 4.35.0 in the Lean Language Reference: v4.34.1, v4.35.0. Lean 4.36.0: release page.
  22. lean4lean: github.com/digama0/lean4lean; M. Carneiro, "Lean4Lean: Verifying a Typechecker for Lean, in Lean", arXiv:2403.14064. Its README says it is not an independent implementation of the kernel, so it adds less independence than nanoda does.
  23. "Validating a Lean Proof", The Lean Language Reference, lean-lang.org/doc/reference/latest/ValidatingProofs.
  24. Mathlib, module Mathlib.NumberTheory.LSeries.RiemannZeta: documentation. The definition is quoted from the pinned source, where it occupies two lines; it is wrapped here. For the problem itself see the Clay Mathematics Institute's description.
  25. D. Loeffler and M. Stoll, "Formalizing zeta and L-functions in Lean", Annals of Formalized Mathematics, Volume 1 (2025), doi:10.46298/afm.15328; arXiv:2503.00959. The quotation and the account of the value at 1 are from its section on totalized functions, read in the arXiv version.
  26. lean-dojo/LeanMillenniumPrizeProblems, file Problems/RiemannHypothesis/Millennium.lean. I read the source and did not compile it. Its last theorem, the hypothesis itself, is left open with a placeholder, as the file says.
  27. Verification notes in the repository leanprover-community/riemann-hypothesis, file verification/NOTES.md, read at commit 8b83d5e7: github.com/leanprover-community/riemann-hypothesis. The page shows the file with a commit of 20 November and says that it is no longer on the default branch; its section on results says that the build was in progress.
  28. M. Menéndez-González, "Independent Formal Verification, Epistemic Spine Cartography, and Comparative Auditing of Riemann Hypothesis Proof Claims", Zenodo, version 1.3.1, 27 November 2026, zenodo.org/records/24582466.