14. Understanding
Draft
Accepted and not understood
On 25 November 2026 a Lean project of 803 files was published whose first theorem has the type RiemannHypothesis, the statement of the Riemann hypothesis in Mathlib, Lean's library of mathematics. That evening, at 21:47 in New York, an external verification run finished with Lean's kernel and every other checker shipped in Lean 4.35.0 accepting the project (Section 13). Six days later, on 1 December, the repository's README still carries the caveat quoted on the opening page of this series: the proof has passed machine checks only, no mathematician has read it through, and no paper accompanies it. This part examines the gap between those two facts. A certificate is not an explanation. Lean's kernel, the small program that verifies proof terms (Section 6), confirms that a term inhabits a stated type; it says nothing about why the theorem holds, what overarching idea drives the proof, or what mathematical role each intermediate construction plays. Reconstructing human understanding from a machine-checked artifact is the final step of this series' argument.
The certification chain of Section 13 guarantees formal derivability without supplying mathematical insight. That omission would matter little if a human-readable paper always followed shortly afterward, or if certainty were all mathematicians wanted from a proof. Section 14.2 therefore looks back at earlier computer-assisted proofs to see how long human accounts took to appear, and whether they always arrived, before Section 14.3 asks what mathematicians seek in a proof beyond a guarantee of truth. Section 14.4 introduces graph and dependency tools for navigating an unfamiliar formal repository, Section 14.5 traces what those tools and the source files reveal about the November 2026 argument, and Section 14.6 asks how mathematical practice shifts when verification arrives before comprehension.
axis time since each announcement, logarithmic, 1 day to 50 years
---- no account yet o account .... account, no formal check yet # formal check
[] the authors' own check ' toward an account, not one ==> the open bar
1963 The odd order theorem o the same year ................ # 49 years
1966 Carleson's theorem o the same year ................ # 59 years
1976 The four color theorem ------------- o 19 years ....... # 29 years
1993 Fermat's last theorem ------- o 2 years .............. # 33 years
1998 The Kepler conjecture ---------- o 8 years ........... # 16 years
10 Feb 2014 The Erdős discrepancy problem ------ o 19 months
3 May 2016 Boolean Pythagorean triples [] ------> 10 years, no account or other check recorded
2019 Liquid vector spaces ------ o 1 year ..... # 3 years
20 Nov 2026 The Riemann hypothesis: the original archive [] # 1 day ' ' ' --> 11 days, open
25 Nov 2026 The Riemann hypothesis: the readable edition [] # the same day ' ' ==> 6 days, open
point in all 6 earlier proofs that have both, the account came first and the formal check
3 to 59 years after the proof; for the proof of November 2026 the check came within 1 day
(the live figure needs JavaScript and loads about 0.04 MB of data)
In the six earlier proofs gathered here that have both an account and a formal check, the order was the same: first the account, then, 3 to 59 years after the proof, the formal check. For the proof of November 2026 the check came within a day, and on 1 December the account is the part that is open.
Three distinct Lean repositories are referred to as the November 2026 proof, and any statement or audit holds only for the specific edition it examined. The original archive is the 17-million-line Lean library released by Levent Alpöge on 20 November, which is the subject of the next day's joint statement in which the Lean Focused Research Organization (FRO) and the Mathlib Initiative declared full confidence under four criteria (Section 13.7). As Alpöge's accompanying four-page remark noted, that formalization was released complete before its author had mastered the surrounding mathematical territory (quoted in Section 12.5), and a subsequent audit summarized its epistemic state as "accepted by the Lean 4.33.1 kernel, not understood".L. Alpöge, untitled remark of 20 November 2026 (alpo.ge/remark.pdf), p. 2. E. Schiller, "Does a Trivially True Predicate Invalidate a Kernel-Checked Proof? An Independent Build and Dependency Audit of the Alpöge Lean Archive for the Riemann Hypothesis", arXiv 2611.37492 (27 November 2026; a draft, not peer reviewed), Section V-B. Both are about the original archive. Five days later, on 25 November, two rewritten editions appeared: the readable edition of 477,124 total lines and a still shorter compact edition. The readable edition is the sole version inspected in this series, and its README states authorship at the top: the proof strategy is Alpöge's with Claude, while the Lean code and accompanying documentation were written by Claude (Section 12.5).
The independent checks of the readable edition were run by Andrew Sutherland, and the page that reports them says what they leave out.
These checks show that Lean accepts proofs of the five stated theorems from the three standard axioms. They say nothing about whether the argument has been read or understood by a mathematician, and the repository itself says that it has passed machine checks only.
A passing check establishes the statements as Lean elaborates them. Whether those statements say what the Riemann Hypothesis and the Generalized Riemann Hypothesis for Dirichlet L-functions are understood to say is a matter of reading Statements.lean and Mathlib's definitions of riemannZeta, DirichletCharacter.LFunction and RiemannHypothesis.
—Andrew Sutherland, "Verification files for the shorter Lean proof of RH and of GRH for Dirichlet L-functions" (2026). math.mit.edu/~drew/shortgrh, under "Caveats", the first two paragraphs, as the page stood after its last update on 27 November 2026. It concerns the two shorter editions, and its head says that the checks were run with Claude Code; the checks themselves are in Section 13.
Machine verification therefore leaves two tasks to human readers, and the two could hardly differ more in scale. Confirming that the formal theorem statement captures the intended conjecture requires auditing just 16 lines of Statements.lean together with the Mathlib definitions underneath them (Section 11.6 and Section 13.2). Understanding why the proof works cannot be settled by reading any short file.
Accordingly, the readable edition shipped with a model-written reading guide rather than a traditional paper. Two outside exposition drafts also track the shorter proof: one leaves its three central intermediate theorems unproved in prose, referring the reader back to the Lean repository, while the other notes that no mathematician has refereed it (Section 14.5). Meanwhile, since 25 November a Lean community repository has been refactoring a copy of the readable edition to build faster, follow Mathlib style, and link its lemmas to published sources.The README of leanprover-community/riemann-hypothesis on GitHub, as read on 1 December 2026, which names its three aims: accessible, readable, integrated with the community.
Because the sections below synthesize external reports alongside direct inspection of the text, keeping the editions distinct is essential.
Remark 14.1.1 (which edition a report is about). The only published machine checks of the readable edition are those reported in its own README and on Sutherland's verification page. No other source consulted for this series reports running checks on the readable edition, nor does any source establish whether the trivially-true-predicate critique of the 20 November archive (Section 13.7) applies to it.
Judging how long a human-readable account might take, or whether one is guaranteed to emerge at all, rests on comparisons with earlier computer-heavy proofs.
It has happened before
Proofs too large for any single human reader to hold in mind are 50 years old. The four-color theorem was proved in 1976 via a computer search through "quite literally, a billion cases", and the Kepler conjecture followed in 1998 using extensive linear-programming and interval-arithmetic computations; The painted rock recounts both episodes. Their timelines show how verification and human comprehension have historically lagged one another.
For the four-color theorem, a streamlined second proof arrived after 19 years, still delegating both of its massive case analyses to computer programs, and a full formal proof in Coq covering both the mathematics and the case-checking algorithms arrived after 29 years. Those decades produced a far more trustworthy certificate, yet neither proof is one a human can survey end to end. For the Kepler conjecture, the full paper-and-code argument was published after eight years "without complete certification from the referees", and the formal proof verifying everything the referees could not check was completed 16 years after the original announcement. "Proved by computer" and "formally checked" are distinct milestones, separated in the four-color case by 29 years.
What such a proof lacks was said most plainly by the author of a third one, a search by computer for a projective plane of order 10, which found none.
Unlike the computer proof of the four-color theorem, the projective plane proof has never received independent verification. Because of the possibilities of programming errors and soft errors (see Section 3.5), Lam is unwilling to call his result a proof. He writes, “From personal experience, it is extremely easy to make programming mistakes. We have taken many precautions, . . . Yet, I want to emphasize that this is only an experimental result and it desperately needs an independent verification, or better still, a theoretical explanation” [Lam91].
—Thomas Hales, "Mathematics in the age of the Turing machine" (2013). arXiv 1302.2898, Section 1.9, "projective planes". The words in quotation marks are Lam's, of 1991, as Hales quotes them; "has never" is said as of 2013.
Lam asks for two things and ranks them. Independent verification is what the kernels and checkers of Section 13 now deliver within a day. A theoretical explanation is another matter, and two later cases show how differently it can go. In February 2014 a SAT solver, a program that looks for an assignment of truth values satisfying a propositional formula or shows that there is none, settled the first case of the Erdős discrepancy problem; 19 months later a proof by hand settled the whole problem, which is more than the machine had shown. In May 2016 another such search answered the question of the Boolean Pythagorean triples; its authors report a certificate of almost 200 terabytes, which they produced and checked themselves, and ten years on the sources read for this series record neither an account of it nor a check by others. One computation was overtaken by understanding. The other still stands as a computation with its certificate.
In two of the earlier cases, the Kepler conjecture and the liquid vector spaces of Section 14.3, the check was asked for because the account alone had left doubts. In November 2026 the check came first, and the account is what is asked for.
What mathematicians want from a proof
Once the check is in, it has to be said what an account is still wanted for. The controversy of 1976 has a reading that fits the present case as well. It was written down in 1994.
The rapid advance of computers has helped dramatize this point, because computers and people are very different. For instance, when Appel and Haken completed a proof of the 4-color map theorem using a massive automatic computation, it evoked much controversy. I interpret the controversy as having little to do with doubt people had as to the veracity of the theorem or the correctness of the proof. Rather, it reflected a continuing desire for human understanding of a proof, in addition to knowledge that the theorem is true.
—William Thurston, "On proof and progress in mathematics" (1994). Bulletin of the American Mathematical Society 30(2) (arXiv math/9404236), Section 1, p. 2 of the arXiv version; the paragraph from its third sentence. The sentence on the measure of success ends the same section.
That last sentence names two goods: knowledge that the theorem is true, and understanding of a proof. Before computers one object delivered both, since the only way to check a proof was to follow it, and nobody had to tell them apart. The essay leaves no doubt which of the two mathematics is for: "The measure of our success is whether what we do enables people to understand and think more clearly and effectively about mathematics."
Philosophers have a word for what a proof must be in order to deliver the second good.
Definition 14.3.1 (surveyable; Tymoczko 1979). A proof is surveyable if it "can be looked over, reviewed, verified by a rational agent", so that a mathematician "surveys the proof in its entirety and thereby comes to know the conclusion".T. Tymoczko (1979), p. 59, as quoted by A. Baker, "Non-Deductive Methods in Mathematics", Stanford Encyclopedia of Philosophy, Section 3.3; the paper itself was not read for this series. The word is Wittgenstein's, and The painted rock follows it from his remarks to the four-color theorem.
Tymoczko's thesis, as summarized in the encyclopedia entry, held that computer-assisted proofs are "not a priori, not certain, not surveyable, and not checkable by human mathematicians", reducing mathematical knowledge derived from them to empirical evidence on par with a physical experiment, a conclusion the entry notes remains controversial. Lean's architecture separates three distinct positions that earlier debates ran together. First is Tymoczko's claim that without human surveyability we lack deductive certainty. Second is the certification thesis built in Section 13: rational confidence in a theorem requires no human survey of the proof script, only human inspection of the short theorem statement paired with independent kernel checks of the exported derivation. Third is Thurston's thesis that certainty was never the primary goal of mathematics in the first place. Independent proof checkers answer Tymoczko's worry about unverified computer programs while leaving Thurston's demand for human insight completely intact. A 2022 essay on the same tension places "a deep conceptual understanding", widely viewed as a core aim of mathematics, alongside "the kinds of computational understanding" gained from algorithmic and machine-assisted results.J. Avigad, "Varieties of mathematical understanding", Bulletin of the American Mathematical Society 59, 2022 (arXiv 2310.20100), Section 1.
Holding both the certification thesis and Thurston's thesis at once means rejecting two opposite caricatures, a balance Section 14.6 relies on.
Remark 14.3.2 (two opposite mistakes). One mistake is to treat human understanding as a sentimental luxury once a theorem has been certified by a kernel. The opposite mistake is to insist that a machine-certified theorem remains unknown until a human comprehends every step. Thurston's reading of the 1976 four-color debate rejects both: mathematicians did not seriously doubt that the theorem was true, yet they rightly felt the absence of an illuminating explanation as a genuine loss.
The two goods can also arrive in the other order, the check first and the understanding through it. In December 2020 Peter Scholze asked for the proof of a theorem from his own lecture notes to be formalized because, he wrote, "nobody else has dared to look at the details of this, and so I still have some small lingering doubts". Half a year later the part he had doubted was checked in Lean, and he was asked what else he had learned.
Question: Interesting! What else did you learn?
Answer: What actually makes the proof work! When I wrote the blog post half a year ago, I did not understand why the argument worked, and why we had to move from the reals to a certain ring of arithmetic Laurent series. But during the formalization, a significant amount of convex geometry had to be formalized (in order to prove a well-known lemma known as Gordan’s lemma), and this made me realize that actually the key thing happening is a reduction from a non-convex problem over the reals to a convex problem over the integers. This led me to ask my MathOverflow question whether such a reduction was known before; unfortunately, it did not really receive a satisfactory answer yet.
—Peter Scholze, "Half a year of the Liquid Tensor Experiment: amazing developments" (2021). Xena project blog, 5 June 2021. The doubts are in his post "Liquid tensor experiment" on the same blog, 5 December 2020; The painted rock tells the episode. The formalization was completed on 14 July 2022.
That formalization was the work of people over a year and a half, and the understanding came out of the writing. The Lean of the readable edition was not written by people, by its own account, so whatever understanding it yields will have to come from reading it. Set side by side, a certificate and an explanation answer different questions.
Two things a proof can giveread across: a row is one question, asked of a certificate and of an explanation
- the question
is the statement derivable? A term has the statement as its type in a named environment. The answer is yes or no, and a program gives it.
14.3why does it hold? Which ideas make the argument work, and where each one enters. The answer is a text, and a person gives it.
- who answers
a checker, and then others Any number of programs can repeat the answer, and their agreement is the evidence.
13.4a reader Someone who has gone through the argument and can say it without the text in hand.
- what has to be read
the statement The statement, the definitions under it and the list of axioms. Nothing of the proof.
13.2the proof The proof itself, or a shorter text written by someone who read it.
- it is finished
when the checker stops A matter of hours or days. For the readable edition it was the day the edition appeared, 25 November 2026.
14.1when it can be retold When someone can tell it again, shorter, and be followed. No program reports that, and no date can be set for it.
- what it gives the next theorem
a lemma to cite The statement can be used as it stands, by a person or by another formal proof.
14.4a method to reuse The idea that worked here can be tried on the neighboring problem. Induction shows that addition commutes, and then that multiplication does.
green: what no check delivers
Tools for reading an artifact
Nobody reads 477,124 lines from the first to the last. A text of that size is read the way a large program is read by someone who did not write it: from what it says about itself, from its shape, and from the few places that everything passes through. The shape of the readable edition can be drawn from the first lines of its files, where each file names the files it imports: 803 modules joined by 1,733 imports, in 54 layers from the file of the five theorems down.
graph the readable edition as 803 modules in 54 layers, Main at the left; a box to a module, as tall
as its file has lines (477,124 in all); 1,733 imports
Main ▪ ▪ ▪ ▪ ▪ ▪▪ ▪▪▪ ▪▪▪▪▪ ▪▪▪▪▪▪▪ ▪▪▪▪▪▪▪▪▪▪ ▪▪▪▪▪▪▪▪▪▪▪▪ … ▪▪▪▪▪▪▪▪▪ ▪▪▪▪▪ ▪▪ imports go right
chosen Lib.Cohomology.Hodge.GrothendieckSymbol, in layer 41
green the 17 modules that every chain of imports from Main to it passes through:
Main > New.Main > New.Reduction.OneSidedBound > New.Reduction.MainInequality >
New.Determinant.Twist.LongForms > Lib.GaloisRep.Main.AllRanks > … > the chosen module
ink the 26 modules it imports, directly or through others; outlined: the 39 that import it
3 modules lie on every chain from Main: Main, New.Main, New.Reduction.OneSidedBound
map the edition's own table of contents, 25 chapters (9 of them the argument, in its order), each a row
over the same 54 layers: folders are not layers
small on demand, Euclid's theorem one level finer: 311 declarations in 22 layers, 2,150 edges where the
page's kernel finds one declaration named in the terms of another
(the live figure needs JavaScript and loads about 0.6 MB of data; the small case loads 0.9 MB more when it is run)
Many different import chains connect Main at the left to Lib.Cohomology.Hodge.GrothendieckSymbol deep on the right, yet every single one of those chains passes through the same 17 bottleneck modules (counting both endpoints): the dependency graph has a narrow spine running through the main inequality, Theorem C, Galois representations, and the Woods Hole trace formula. At the very top, all paths from Main pass through three modules in sequence before branching out. Out of all 803 modules in the project, 606 sit strictly behind New.Reduction.MainInequality (counting that file itself), meaning no import path from Main can reach them without passing through the main inequality, and 228 of those sit behind Theorem C; Section 14.5 examines what both files state. As the edition's reading guide cautions, "Folders are not layers", and the bottom map confirms it: modules from all eight thematic folders of the argument interleave across the 54 import depths.
Because an import graph is parsed purely from import lines at the top of source files, it gives an upper bound on dependencies rather than exact usage: a module can import a thousand-line file to use a single lemma, or none at all. Tracing exact lemma-by-lemma dependencies requires inspecting compiled proof terms, and the readable edition was not built here. On a small development that runs right inside this page's kernel, however, that finer declaration-level graph can be drawn in full: the 311 declarations underlying Euclid's theorem from the introduction.
Moving from coarse module imports to exact logical dependencies means tracking which individual constants reference which inside the kernel environment.
Definition 14.4.1 (what a constant reaches). In an environment of declarations (Section 6.4), a constant mentions another if the other occurs in its type or in its value; an inductive type also mentions its constructors. The closure of a constant \(c\) is the least set that contains \(c\) and, with each of its members, everything that member mentions. The constant \(c\) reaches the members of its closure.
Serializing a theorem's closure (with each inductive type accompanied by its recursor) is exactly what produces an export file (Section 13.3), and filtering that closure for axioms is what #print axioms is designed to report (Section 7.5). For the five main theorems of the readable edition, the published export contains 216,571 declarations in that closure: 165,163 from Mathlib and Lean's core libraries, plus 51,408 from the project itself (Section 13.1).A. Sutherland's page of checks of the shorter proof, the table of checks and the paragraph "Export sizes". A count of the edition's source by opening keyword gives 23,839 declarations; an export also holds the auxiliary declarations that Lean makes of them.
Knowing that a theorem reaches 51,408 project declarations still hands a human reader an unstructured set with no hint of where the key bottlenecks sit. By contrast, the 17 green modules highlighted in the import-graph figure earlier in this part pinpoint unavoidable choke points through which every dependency path must funnel.
Definition 14.4.2 (dominator). In a directed graph with a root \(r\) from which every node can be reached, a node \(d\) dominates a node \(n\) if every path from \(r\) to \(n\) passes through \(d\).
At first glance, if two different modules \(d_1\) and \(d_2\) both dominate a deep target \(n\), one route from \(r\) to \(n\) might seem free to pass through \(d_1\) before \(d_2\) while another route visits \(d_2\) before \(d_1\). In fact, that can never happen: all dominators of a given node line up in a single strict sequence from the root downward.
Proposition 14.4.3 (dominators form a chain). If \(d_1\) and \(d_2\) both dominate \(n\), then one of them dominates the other.
Proof. Fix any path from \(r\) to \(n\). Because both \(d_1\) and \(d_2\) dominate \(n\), both appear along this path. Follow the path until the very last time it visits either \(d_1\) or \(d_2\); relabeling if needed, call that last-visited node \(d_2\), so the remaining suffix from \(d_2\) to \(n\) avoids both \(d_1\) and \(d_2\). Now \(d_1\) must dominate \(d_2\): if any path from \(r\) to \(d_2\) avoided \(d_1\), appending that suffix from \(d_2\) to \(n\) would produce a path from \(r\) to \(n\) that never visits \(d_1\), contradicting that \(d_1\) dominates \(n\). ∎
Because the dominators of any deep module form a totally ordered chain from Main downward, they trace a canonical spine through the repository, and the top entries of that spine are the natural files for a mathematician to open first.
Even when a constant or module lies in the closure or on a dominator chain, it need not play an essential mathematical role in the proof; as Section 13.7 revealed, dependency comes in three distinct strengths.
Remark 14.4.4 (reached, consumed, removable). Schiller's audit of the 20 November archive (Section 13.7) distinguishes three levels that any structural reading must keep separate. A constant is reached if it appears anywhere in the theorem's transitive closure. It is consumed if some reached proof term actually unpacks it using a recursor or field projection rather than merely carrying it along untouched. And it is removable if the entire proof can be edited to compile without it. Reachability is decided by a simple graph walk, consumption by inspecting subterms for eliminators, and removability only by attempting a modified build; a file-level import graph is coarser than all three.
The graph is one way of reading among several. On 1 December 2026 the ways in use are these, each with what it has returned for the readable edition or, for the consequence in plain terms, for the compact one.
Reading a proof nobody explaineda row to a way of reading; in ink, what it returned for the readable edition of the proof (in one row, for the compact one), from its text or from published checks
14.4its own documents guide, contents, index, references
What the artifact says of itself: a reading order, a glossary, every file with its title, results with their sources. Comments and prose, which no checker has read.
25 files to start from
a glossary of 46 entries
228 citations, 66 places confirmed
14.4the graph of imports from the text alone
Which file needs which. It bounds what a file can use and does not say what it uses.
803 modules, 1,733 imports
54 layers from Main down
14.4dominators where every chain passes
The files that cannot be gone around on the way to a given file. They form a chain from the root, and they say where to cut the reading.
606 modules stand behind
New.Reduction.MainInequality
14.4the closure of a theorem from the compiled proof
Every constant the theorem mentions, directly or through others: what the proof reaches, which is more than what it needs.
216,571 declarations, as published
165,163 from the libraries, 51,408 more
12.5writing it again, shorter by a model
A proof made by search is long because nothing pressed it to be short. Shortening it is a first act of reading.
15,531,759 lines of code, then
299,902, as the pages of checks count
14.5back into prose by a model, unverified
A model reads the Lean and writes mathematics. The text helps a reader to start, and its authors say that it is not a check of the proof.
an outline in 15 steps
three theorems rest on the formal proof
14.5consequences in plain terms from the compact edition, as reported
A statement about the primes that anyone can test on numbers. Reported as a Lean theorem derived from the compact edition; the sources read report none derived from the readable one.
|ψ(x) − x| < √x log²x / 8π
for x ≥ 73.2
14.5its last pages read as mathematics
The top of the proof, where it meets classical theory: short files that a number theorist can read as a paper is read.
583 lines in four files
m rem ≤ f a log⁵ b
green: the one way that is reading mathematics
The first is the artifact's own apparatus. Almost every file of the readable edition has a head, a comment that says what the file proves and, in most files, what it takes from other files and how it relates to the literature; a guide names 25 files to start from, a dozen of them in a stated order, and has a glossary of 46 entries; and a list of 228 citations says how far each was compared with its source, 66 of them with the place confirmed. All of it is comment and prose, written by the model that wrote the Lean text, and Lean checked none of it.
Two ways need the proof to be compiled. One is the closure and what falls outside it: by the README, several hundred of the more than 20,000 declarations are not used by the five theorems (Section 12.6 quotes the sentence). The other is to write the proof again, shorter, as the readable edition was: from 15,531,759 lines of code in the original archive to 299,902 (Section 12.5).
The rest turn the artifact toward a reader. A model can write the Lean back into prose, as experts were reported in November 2026 to be doing with another machine-made proof, "using AI to informalise the Lean proof back into English in order to read the argument".K. Buzzard, "…and the proof is checked in Lean", Xena project blog, 12 November 2026, under "One final remark"; said of a formal proof for the Navier–Stokes problem. Consequences can be stated in plain terms, and the top of the proof can be read as mathematics; Section 14.5 does both.
Among these structural tools, the reachability closure of Definition 14.4.1 can be computed in 14 lines of Lean metaprogramming, and comparing two valid proofs of a single arithmetic identity reveals both what a closure captures and what it misses.
Example 14.4.5 (in Lean: one statement, two proofs). Using Lean 4.35.0 and its core library alone, we compare two proofs that natural-number addition is commutative (n + m = m + n): the core library's handwritten proof by induction on m, and a one-word automated proof generated by omega (Section 10.5), measuring both with a 14-line traversal that computes Definition 14.4.1's closure. Here is the core library's induction proof:
protected theorem add_comm : ∀ (n m : Nat), n + m = m + n
| n, 0 => Eq.symm (Nat.zero_add n)
| n, m+1 => by
have : succ (n + m) = succ (m + n) := by apply congrArg; apply Nat.add_comm
rw [succ_add m n]
apply this
The walk, and a command that prints what it finds, are these.
import Lean
open Lean Elab Command
/-- The constants that `root` mentions, in a type or in a value,
directly or through others. -/
def reached (env : Environment) (root : Name) : NameSet := Id.run do
let mut seen : NameSet := {}
let mut todo := [root]
repeat
match todo with
| [] => break
| c :: rest =>
todo := rest
if seen.contains c then continue
seen := seen.insert c
if let some ci := env.find? c then
todo := ci.getUsedConstantsAsSet.toList ++ todo
if let .inductInfo v := ci then todo := v.ctors ++ todo
return seen
elab "#reached " id:ident : command => do
let env ← getEnv
let c ← liftCoreM <| realizeGlobalConstNoOverloadWithInfo id
let all := (reached env c).toList
let n (p : ConstantInfo → Bool) :=
(all.filter fun x => (env.find? x).any p).length
logInfo m!"{c} reaches {all.length} constants (theorems: {
n (· matches .thmInfo _)}, axioms: {n (· matches .axiomInfo _)})"
#reached Nat.add_comm
theorem byOmega (a b : Nat) : a + b = b + a := by omega
#reached byOmega
#print byOmega
#print axioms byOmega
Nat.add_comm reaches 47 constants (theorems: 5, axioms: 0)
byOmega reaches 1371 constants (theorems: 593, axioms: 2)
theorem byOmega : ∀ (a b : Nat), a + b = b + a :=
fun a b => Decidable.byContradiction fun a_1 => byOmega._proof_1_1 a b a_1
'byOmega' depends on axioms: [propext, Quot.sound]
Lean's kernel accepts both proofs equally, and an external certificate for either states the exact same theorem. To a human reader, the two could hardly differ more. The library proof takes a minute to read and teaches the exact induction template needed to prove the next theorem of its kind. By contrast, byOmega assumes a + b ≠ b + a for contradiction, splits into a + b < b + a and b + a < a + b, and refutes each branch via mechanically generated linear-combination certificates: expanded into expression trees including auxiliary declarations, Nat.add_comm has 895 nodes across 47 constants and zero axioms, whereas byOmega balloons to 10,690 nodes across 1,371 constants and two axioms. Worse, byOmega offers zero guidance for proving the analogous law for multiplication, where omega itself hits a wall because products are nonlinear:
theorem mulByOmega (a b : Nat) : a * b = b * a := by omega
error: omega could not prove the goal:
a possible counterexample may satisfy the constraints
d ≥ 0
c ≥ 0
c - d ≥ 1
where
c := ↑b * ↑a
d := ↑a * ↑b
A two-line experiment also illustrates Remark 14.4.4's gap between reached and used: binding an unused local hypothesis with have pulls all of Nat.add_comm's dependencies into the elaborated proof term even though rfl closes 2 + 2 = 4 by itself.
theorem withLemma : 2 + 2 = 4 := by
have _h : ∀ a b : Nat, a + b = b + a := Nat.add_comm
rfl
theorem without : 2 + 2 = 4 := rfl
#reached withLemma
#reached without
withLemma reaches 48 constants (theorems: 6, axioms: 0)
without reaches 32 constants (theorems: 1, axioms: 0)
Here 16 constants are reached and not used. Run on the development of Euclid's theorem that the introduction checks, the command reports 350 constants, 116 of them theorems and none an axiom, among them 53 of the 66 constants that Lean made of the 32 declarations written in that file; the other 13 serve a second proof of the theorem, a function that returns the prime and a test of primality, or are helpers that Lean makes for its elaborator and its compiler. Counted as a kernel counts, an inductive type with its constructors and its recursor as one declaration, the 350 are the 311 declarations that the page's kernel finds under the same theorem. ◁
Graphs and closures say where to look and how much there is, not what the argument is.
What the argument is reported to be
Reading the readable edition begins at the narrow top of its spine, where a statement about complex zeros of \(L\)-functions turns into a statement about counting prime numbers. Even the classical Riemann hypothesis can be stated without mentioning the zeta function at all. Write Chebyshev's function \(\psi(x)\) for the sum of \(\log p\) over all prime powers \(p^k \le x\). The prime number theorem says that \(\psi(x)\) grows like \(x\); via Riemann's explicit formula, each nontrivial zero \(\rho = \sigma + i\gamma\) contributes an oscillatory wave of amplitude roughly \(x^{\sigma}\) to the error \(\psi(x) - x\), so confining every nontrivial zero to \(\operatorname{Re} \rho = \tfrac12\) is equivalent to confining \(\psi(x) - x\) within a nearly \(\sqrt{x}\) envelope around zero.
row 1 ψ(x) − x over its envelope √x log²x / 8π, for x from 73.2 to 10⁷, computed in the page from 664,579 primes
+1 ▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨ outside the envelope: excluded if the hypothesis holds
0 ∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿ the error: at most 92% of the envelope (just below x = 97), 4.5% at 10⁷
−1 ▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨ excluded as well
row 2 the remainder of the readable edition's proof, primeRemainder d q x as read from its text, at d = 7 and
q = 8, over the bound x^(β − 1) that its criterion asks from above only, with β = 0.55
+1 ▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨▨ above the bound: excluded
0 ∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿∿ the remainder: at most 32% of the bound
−1 from below nothing is asked
wave a zero at 0.85 + 14.13i, which is not there, would add to both a wave as large below as above:
outside the envelope from x ≈ 6,800 on, over the one-sided bound from x ≈ 470,000,000 on
strip the critical strip with the line Re s = β: a bound of exponent β − 1 from above excludes zeros right of β
(the live figure needs JavaScript; it loads no data and sieves the primes below 10⁷ in the page)
Evaluated across all primes below ten million, \(\psi(x) - x\) never exceeds 92 percent of that square-root envelope on \(73.2 \le x \le 10^7\) (peaking just below \(x = 97\)), and by \(x = 10^7\) it sits at 4.5 percent of the bound. Finite numerical checks settle nothing about an asymptotic claim over all \(x\), of course; they illustrate the geometry of what is claimed.
Stating that equivalence precisely pairs Schoenfeld's explicit upper bound from the Riemann hypothesis with its converse.
Theorem 14.5.1 (Schoenfeld 1976, with its converse). If the Riemann hypothesis holds, then
\[|\psi(x) - x| \;<\; \frac{\sqrt{x}\,\log^2 x}{8\pi} \qquad \text{for all } x \ge 73.2 ,\]and conversely this bound, for all \(x \ge 73.2\), implies the hypothesis.L. Schoenfeld, "Sharper bounds for the Chebyshev functions θ(x) and ψ(x). II", Mathematics of Computation 30 (1976), 337–360, Theorem 10, as cited on A. Sutherland's page of checks of the shorter proof, which adds: "The converse also holds." The paper itself was not read for this series. The same page reports the bound checked as a Lean theorem derived from the compact edition, by a development that, as the page says, was written by AI agents and has passed machine checks only.
The readable edition reaches its five main theorems through a prime-counting reduction of this family, with two crucial modifications: instead of counting all primes with a sharp cutoff and bounding \(|\psi(x) - x|\) from both above and below, it works with a smoothed, Legendre-weighted sum over prime powers congruent to \(1 \pmod q\), and bounds that remainder from above only. The four top-level reduction files (covering the analytic criterion, the one-sided bound, the main inequality, and the functional-equation step to the critical line) span 91, 269, 158, and 65 lines respectively, 583 lines in all. Their formal mathematical claims follow. We label them Claims rather than theorems to reflect their exact epistemic footing here: they are Lean declarations inside the readable edition that the external runs of Section 14.1 report accepting, whose source files this series has read down to those 583 lines and no deeper.
The first two claims center on a single smoothed prime-counting remainder, the edition's counterpart of \((\psi(x) - x)/x\).
Definition 14.5.2 (the remainder). Let \(d\) be a prime and \(q \ge 1\). Put \(\lambda(n) = \Lambda(n)\bigl(1 - (\tfrac{n}{d})\bigr)\) if \(n \equiv 1 \pmod q\) and \(\lambda(n) = 0\) otherwise, where \(\Lambda\) is the von Mangoldt function and \((\tfrac{n}{d})\) the Legendre symbol. The remainder is
\[R_q(x) \;=\; \sum_{n \le x} \lambda(n)\Bigl(\frac{1}{n} - \frac{1}{x}\Bigr) \;-\; \frac{\log x}{\varphi(q)} \;-\; c_q , \tag{14.1}\]where \(c_q\) is the constant for which \(R_q(x) \to 0\) as \(x \to \infty\) (it exists for odd \(d\) prime to \(q\)).
Notice how the arithmetic weight \(1 - (\tfrac{n}{d})\) filters prime powers: it equals 0 when \(n\) is a nonzero quadratic residue modulo \(d\), 2 when \(n\) is a quadratic non-residue, and 1 when \(d\) divides \(n\), while the factor \((\tfrac{1}{n} - \tfrac{1}{x})\) smooths the jump discontinuities at prime powers.
With \(R_q(x)\) defined, the first reduction step converts zero-free regions for Dirichlet \(L\)-functions into a purely upper bound on \(R_{q_0}(x)\), dropping the absolute-value bars of Theorem 14.5.1.
Claim 14.5.3 (the one-sided criterion). Let \(q_0\) be a positive multiple of 8, let \(d_0 \equiv 7 \pmod 8\) be prime to \(q_0\), and let \(\beta > \tfrac12\). Suppose that for every prime \(d \equiv d_0 \pmod{q_0}\) the remainder formed with \(d\) satisfies \(R_{q_0}(x) \le x^{\beta - 1}\) for all large \(x\). Then \(L(\rho, \chi) \ne 0\) for every Dirichlet character \(\chi\) modulo \(q_0\) and every \(\rho \ne 1\) with \(\operatorname{Re} \rho > \beta\).
Why is an upper bound alone enough to rule out zeros off the critical line? As the file's comments explain, the mechanism goes back to Landau's positivity theorem of 1905. For \(\operatorname{Re} s > 1\), integrating \(\int_1^\infty R_q(x)\, x^{-s}\, dx\) yields the Dirichlet series of \(\lambda\) divided by \(s(s - 1)\), minus two terms that cancel its double pole at \(s = 1\) (a calculus identity checked by hand here). According to the file's header summary, that integral continues meromorphically to \(\operatorname{Re} s > 0\) with at most simple poles located at the zeros of the Dirichlet \(L\)-functions modulo \(q\) and of their quadratic twists by \((\tfrac{\cdot}{d})\). Whenever those quadratic twists do not vanish at a point \(s\), the residue of the transform at \(s\) equals \(n(s) / (\varphi(q)\, s\, (1 - s))\), where \(n(s)\) counts the combined vanishing order of all \(L\)-functions modulo \(q\) at \(s\); along the real segment \(\beta < s < 1\), that denominator is positive, making any nonzero residue strictly positive. Now suppose \(R_q(x) \le x^{\beta - 1}\) for all large \(x\), so the difference \(x^{\beta - 1} - R_q(x)\) is eventually non-negative. By Landau's theorem on Mellin transforms of non-negative functions (cited by name in the file, though its formal statement in the edition was not read here), the rightmost singularity of the transform of \(x^{\beta - 1} - R_q(x)\) must lie on the real axis. Because subtracting \(R_q(x)\) flips the sign of its residues, any hypothetical real zero in \((\beta, 1)\) would give \(x^{\beta - 1} - R_q(x)\) a pole of the wrong sign to match a non-negative integrand, ruling out real zeros and complex zeros with \(\operatorname{Re} \rho > \beta\) simultaneously; a zero-counting step chooses the auxiliary prime \(d\) so the twisted \(L\)-functions avoid vanishing at the candidate zero.
An analytic criterion rules out nothing until someone proves its upper-bound hypothesis, which is what the second file states.
Claim 14.5.4 (the one-sided bound). Let \(q_0 > 0\) be a multiple of 18480, let \(d\) be a prime with \(d \equiv q_0/2 - 1 \pmod{q_0}\), and let \(\varepsilon > 0\). Then \(R_{q_0}(y) \le y^{-1/2 + \varepsilon}\) for all large real \(y\).
/-- **One-sided bound.** Let `q₀ > 0` be a multiple of `18480`, let `d ≡ q₀ / 2 - 1` modulo `q₀` be
a prime, and let `ε > 0`. Then `R = primeRemainder d q₀` satisfies `R(y) ≤ y ^ (-1/2 + ε)` for all
large real `y`. -/
theorem eventually_primeRemainder_le_rpow {q₀ : ℕ} [NeZero q₀] (hq₀ : 18480 ∣ q₀) {d : ℕ}
[hd_prime : Fact d.Prime] (hd : d ≡ q₀ / 2 - 1 [MOD q₀]) {ε : ℝ} (hε : 0 < ε) :
∀ᶠ y : ℝ in atTop, primeRemainder d q₀ y ≤ y ^ (-1 / 2 + ε) := by
Setting \(\varepsilon = \beta - \tfrac12\) supplies the exact hypothesis required by Claim 14.5.3 for every \(\beta > \tfrac12\). Combining the two, the edition deduces in 29 lines its central half-plane theorem New.grh (that no Dirichlet \(L\)-function vanishes in \(\operatorname{Re} s > \tfrac12\) apart from a pole at 1): given an arbitrary character modulo \(q\), the proof passes to the lifted modulus \(q_0 = 18480\,q\) with \(d_0 = 9240\,q - 1\), changing the \(L\)-function by at most finitely many Euler factors that never vanish in \(\operatorname{Re} s > 0\). Reflecting from the right half-plane onto the critical line \(\operatorname{Re} s = \tfrac12\) then takes the single functional-equation lemma read in Section 12.6.
The second row of the figure at the start of this section plots primeRemainder at the smallest modulus allowed by Claim 14.5.3, \(q = 8\) and \(d = 7\), translated directly from the Lean source text (not cross-checked against an in-Lean evaluation); Claim 14.5.4 itself requires multiples of 18480, where browser sieving becomes too sparse since only 172 primes below ten million satisfy \(p \equiv 1 \pmod{18480}\). Dragging the hypothetical off-line zero in that figure illustrates why a one-sided bound suffices (the drawn wave is an informal heuristic illustration, not a quoted theorem): an off-line zero at \(\sigma + i\gamma\) with \(\sigma > \beta\) adds an oscillation of amplitude \(x^{\sigma}\) to \(\psi(x) - x\) and \(x^{\sigma - 1}\) to \(R_q(x)\), swinging equally high above zero and below zero. Because a complex wave cannot stay chronically negative without swinging positive just as hard, clamping the upper side at \(x^{\beta - 1}\) already forbids any zero to the right of \(\beta\).
Where the critical square-root exponent \(-\tfrac12\) enters the proof appears one layer further down, in the main inequality.
Claim 14.5.5 (the main inequality). For admissible data \(D\), with \(m\) the number of lifts, \(\mathrm{rem}\) the total remainder, \(f\) the number of infinite places of a number field \(E\), and two scales \(a\) and \(b\),
\[m \cdot \mathrm{rem} \;\le\; f \, a \, \log^5 b . \tag{14.2}\]/-- **Main inequality.** For the data `D` we have `m rem ≤ f a log⁵ b`.
The parameters `P` are a multiple `q₀` of `18480` and a prime `d ≡ q₀/2 - 1 mod q₀`. The scales are
integers with `(log b) ^ 100 ≤ x`, `x ^ 10⁶ ≤ x₁`, `x₁ ^ 10⁶ ≤ b` and
`log log b ≥ 10¹² P.constantBound`. -/
theorem star_inequality {P : Parameters} (D : Data P) :
D.m * D.totalRemainder ≤ D.f * D.a * D.logB ^ 5 := by
For each large cutoff \(x\), the proof instantiates a tuple of admissible data \(D\). In the words of the reading guide's glossary, totalRemainder measures "the prime sums at the a-places less their expected value"; the lift count \(m\) is chosen as a power of 2 between \(\sqrt{x}\) and \(2\sqrt{x}\); and \(\log b\) has order roughly \(x^{\varepsilon}\). Dividing both sides of (14.2) by \(m \approx \sqrt{x}\), a lemma in OneSidedBound.lean bounds \(R_{q_0}(x)\) from above by \(\varphi(q_0) \log^6 b / m\) plus two tail terms at a much larger scale \(b\) that the prime number theorem in arithmetic progressions makes negligible. Dividing by \(m \approx \sqrt{x}\) is where the exponent \(-\tfrac12\) comes from.
As for how (14.2) itself is established, the header comment of MainInequality.lean summarizes the cancellation in three crisp phrases: "One covolume, corrected by an index, is bounded from both sides", the lower bound "is Theorem C", and "The main amount cancels." According to the glossary, the underlying objects are automorphic forms on unitary groups of hermitian spaces over the cyclotomic-quadratic extension \(E = K(\zeta)\) (with \(K = \mathbb{Q}(\sqrt{-d})\) and \(\zeta\) a root of unity), linked along a chain of \(m\) theta lifts. The edition's index summarizes each of the three pillars in a single line: Theorem A states that "a multiple of the projected Poincaré series has short lifts and small index." Theorem B states that "few translates span almost all of the target forms." Theorem C supplies the matching lower bound: "covolume and twice the index together are at least about the main amount." Deducing star_inequality from Theorems A, B, and C, using Hadamard's determinant inequality on the covolume and a sign check so the leading terms cancel, takes just 70 lines of basis selection and real-number algebra that a mathematician can check on paper. All the heavy machinery sits behind Theorems A, B, and C: 606 of the repository's 803 modules are reached exclusively through MainInequality.lean.
The header of MainInequality.lean also situates the mechanism in a classic number-theoretic tradition, citing earlier upper bounds "for sums over primes by size against divisibility". Chebyshev's elementary bound on primes illustrates that principle in three lines.
Example 14.5.6 (size against divisibility, in a classical form). Consider the central binomial coefficient \(\binom{2n}{n} = \frac{(2n)!}{(n!)^2}\). It is a positive integer, every prime \(p\) in the interval \(n < p \le 2n\) divides \((2n)!\) without dividing \(n!\) and therefore divides \(\binom{2n}{n}\), yet the whole binomial sum satisfies \(\binom{2n}{n} < (1 + 1)^{2n} = 4^n\). Because the product \(\prod_{n < p \le 2n} p\) divides a positive integer smaller than \(4^n\), taking logarithms yields \(\sum_{n < p \le 2n} \log p < 2n \log 2\): an upper bound on a sum over primes forced by constructing a single nonzero integer that is divisible by all of them yet not too large. Among the ingredients feeding Theorem C, according to the header of MainInequality.lean, is a result the edition's index describes as "the product formula for a Gram determinant". On this series' reading of that description, the Gram determinant plays the role of the nonzero integer \(\binom{2n}{n}\), while the product formula plays the role of comparing its archimedean size against its prime-ideal divisibility; nothing beyond that structural analogy is claimed here. ◁
The heads of these files also say where the argument stands in the literature, and the guide is careful about what that amounts to: the names of its folder and of its namespace claim no novelty (Section 12.5 quotes the passage). For the criterion the file cites Landau's paper of 1905, a textbook of 2007 and a paper of 2024; for size against divisibility, work on the Gelfond–Schnirelman method, a paper on Siegel zeros, and a Bourbaki talk of 1973 on counting points on curves over finite fields.As the two files give them. For the criterion: Landau, "Über einen Satz von Tschebyschef", 1905; Montgomery and Vaughan, Multiplicative Number Theory I, 2007, §15.1–15.2; M. Suzuki, "On variants of Chebyshev's conjecture", arXiv 2411.07436, 2024. For the main inequality: Pritsker, "The Gelfond–Schnirelman method in prime number theory", 2005; Granville and Stark, "ABC implies no Siegel zeros for L-functions of characters with negative discriminant", 2000; Bombieri, "Counting points on curves over finite fields", Séminaire Bourbaki 430, 1973; van Frankenhuijsen, "The Riemann hypothesis for function fields over a finite field", 2008. None was read for this series. The remark that announced the original archive calls its argument "a descendant of Stepanov’s", with a chain of theta lifts in the place of multiplicity. Behind the three theorems stands the edition's library of background results, 495 files, which by the guide holds parts of several standard theories and not the theories themselves (Section 12.5 quotes the sentence): class field theory, ℓ-adic and Hodge cohomology, Galois representations of eigenforms, p-adic Hodge theory, Shimura varieties, the Siegel–Weil and Rallis formulas, a trace formula.
Texts by others toward an account exist, and none is complete. The longer ones were all made with models, none is refereed, and each says what it is. For the shorter proof there is an outline on Michael Rubinstein's page, described there in a paragraph that says exactly how far it goes.
A study guide to the shortened Lean proof, in fifteen steps, written with Claude, Codex and Gemini in the language of classical analytic number theory wherever possible. Steps 1–4 reduce the Riemann hypothesis to a one-sided bound for a sum over the primes inert in an imaginary quadratic field; the first three are proved in the paper, and the fourth, a zero-density estimate, is outlined. Steps 5–10 explain the mechanism and deduce that bound from three theorems, A, B and C, of the Lean development; the deduction is proved in the paper. The three theorems themselves are stated and their proofs are outlined (Steps 11–14), but they are not proved there: they rest on the formal proof. An appendix works three small numerical examples. It is a work in progress and will continue to change.
—Michael Rubinstein, on "An outline of the shortened proof of the Riemann Hypothesis" (2026). From his page "Alpöge/Claude proof of the Generalized Riemann Hypothesis" (math.uwaterloo.ca/~mrubinst/alpoge_claude_grh), as it stood on 1 December 2026; the outline read here is version 1.5.7 of 29 November, 45 pages. It does not say which of the two shorter editions it follows; its modulus 18480 and its Theorems A, B and C are those of the readable edition's guide.
The outline, in 15 steps, puts the criterion first, "The error in counting primes only needs to be bounded from above, because a zero off the critical line would force it to be large in both directions", and the principle of Example 14.5.6 fifth: "A positive integer that is divisible by many primes but is not too large bounds a sum over those primes from above." A second reading of the shorter proof, a site of notes with a handout of 1,374 pages, calls itself "A working draft, read by AI agents and checked by programs; no mathematician has refereed it." About the original archive there are a note whose author writes "I cannot claim that this summary is a faithful translation of the Lean code", a guide of 265 pages that reduces the main inequality to 13 hypotheses, "none of which is proved outright", and one sentence from the day of the release, that the strategy "appears to use the full power of modern developments on the Langlands program and arithmetic geometry".In order: the site riemann-rev, edition 34, 28 November 2026 (B. Naskręcki's, as Rubinstein's page names its author); R. Zhang, "A preliminary note on Alpöge's proposed proof of the generalized Riemann hypothesis", hexagon 2611.00809v2, 22 November 2026; "The Alpöge–Claude proof of the Riemann hypothesis explained for the Riemann zeta function", version 2, 22 November 2026, on Rubinstein's page; T. Tao's post of 20 November 2026.
What is reported, then, is a route with a classical top and a large middle: a criterion in the line of Landau, a bound by size against divisibility, and under them three theorems about automorphic forms that no document read for this series proves in prose. This series has read the top and drawn the middle. It has not read the middle. What a mathematician is to do with a proof in that state is the question left.
What changes for a mathematician
Three practical shifts follow for working mathematicians.
First, the historical order of verification and exposition flips. Because replaying a multi-gigabyte export now takes hours or days on commodity server hardware, formal certification will routinely arrive first, while human-readable expositions arrive months or years later, often written by third parties rather than the original authors. Mathematicians can therefore build safely on a theorem long before anyone has digested its proof. That workflow fulfills the exact vision of the 1994 QED manifesto for a single machine-checked library of mathematics, allowing researchers to "build upon such results with reliability and confidence but without the need for minute comprehension of the details"; deriving Schoenfeld's explicit prime-counting bound (Theorem 14.5.1) in Lean on top of the compact edition, as reported on Sutherland's verification page, is already an instance of using a certified black box.Anonymous, "The QED manifesto", in Automated Deduction, CADE-12, 1994 (cs.ru.nl/~freek/qed/qed.html), the first of its reasons.
Second, where human expertise is irreplaceable narrows and sharpens. Proof search can be delegated to models and proof checking to small kernels. What remains irreducibly human are the two acts of reading separated in Section 14.1: auditing the top-level theorem statement and its underlying library definitions to be sure what has been certified, and excavating a machine-written repository with the structural tools of Section 14.4 so human mathematicians actually learn new methods from it.
Third, the existence of a valid proof decouples from its author's personal mastery of every step. Three days after the 20 November archive appeared, Frank Calegari observed that objecting to the release of a formal proof whose author has not digested every lemma reflects habits "rooted in the olden times when a proof could only exist with the understanding of the author, and now they are clearly two quite different things", adding in the same post that "understanding is the goal".F. Calegari, "Initial thoughts on RH", Persiflage (blog), 23 November 2026. Those two observations complement rather than contradict each other: the first recognizes what a formal certificate achieves on its own, while the second reaffirms Thurston's standard for what mathematical progress ultimately means.
A certificate says that a statement is derivable, and it is to be believed as far as its statement and its checkers go. It does not say why, and it does not hand anyone a method. That part is rebuilt by people from the artifact, and for the proof of November 2026 the rebuilding begins after the check, as it did in none of the earlier cases gathered here.
The whole series comes to the sentence that its first page marks: a formal proof is a program whose type is the theorem, and everything around it has to be believed only as far as the checker and the statement go. What that sentence leaves out is this part: being believed is where the reading starts.
Further reading
The list is in an order of reading, and it begins with the essay to read first. Each row says what the text is for and which Sections of the series lean on it.
| read | what it is for | Sections |
|---|---|---|
| Thurston, "On proof and progress in mathematics", Bulletin of the AMS 30(2), 1994; arXiv:math/9404236 | What a proof is for: understanding, and why reliability in mathematics does not come from formal checking. Read first. | 14 |
| De Millo, Lipton and Perlis, "Social processes and proofs of theorems and programs", Communications of the ACM 22(5), 1979 | The classic argument that proofs are believed through a social process and that formal verifications, long and shallow, will never be read. | 13 |
| Pollack, "How to believe a machine-checked proof", BRICS Report RS-97-18, 1997 | The reply: independent checking is the social process for formal proofs, and what a reader must still read is the statement and its definitions. | 13 |
| Barendregt and Wiedijk, "The challenge of computer mathematics", Philosophical Transactions of the Royal Society A 363, 2005 | The de Bruijn criterion stated, the estimate of a week per page, and a survey of systems as of 2005. | the introduction, 13 |
| de Bruijn, "Checking mathematics with computer assistance", Notices of the AMS 38(1), 1991, as reproduced by the Automath Archive | The originator on what a justification system checks and on computer proofs refined into checkable ones. | 13 |
| de Bruijn, "A survey of the project AUTOMATH", in To H.B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalism, Academic Press, 1980 (scan aut072 of the Automath Archive) | The survey of Automath with the remark on the constant loss factor; the scan is hard to read. | 12 |
| Wiedijk, "The de Bruijn factor" (web page) | The de Bruijn factor defined and measured on real texts. | 12 |
| Anonymous, "The QED manifesto", in Automated Deduction, CADE-12, LNAI 814, 1994 | The 1994 call for one checked library of all mathematics, with the objections it expected. | the introduction |
| Avigad and Harrison, "Formally verified mathematics", Communications of the ACM 57(4), April 2014 (author's copy) | Ten pages on formal verification for a general scientific readership: the LCF architecture, proof objects, the results to 2014. | the introduction, 13 |
| Harrison, Urban and Wiedijk, "History of interactive theorem proving", Handbook of the History of Logic 9, 2014 | The history of interactive provers from Automath to 2014: where kernels, tactics and libraries came from. | the introduction, 13 |
| Harrison, "Formal proof: theory and practice", Notices of the AMS 55(11), 2008 (author's copy) | A prover's author on why and how far to trust a formal proof. | 13 |
| Gonthier, "A computer-checked proof of the four colour theorem" (report, Microsoft Research Cambridge) | How the four-color theorem was checked, and why about 200 lines are all a reader has to read. | 12, 13 |
| Gonthier and 14 others, "A machine-checked proof of the odd order theorem", ITP 2013, LNCS 7998 | What a six-year formalization of a 255-page proof consisted of: mostly libraries. | 12 |
| Hales and 21 others, "A formal proof of the Kepler conjecture", Forum of Mathematics, Pi 5, 2017; arXiv:1501.02155 | The formal proof of the Kepler conjecture and the referees' failure that led to it. | 12, 14 |
| Hales, "Mathematics in the age of the Turing machine", arXiv:1302.2898, 2013 | Hales on computers in mathematics, with a catalogue of errors in published proofs. | 14 |
| Hales, "Developments in formal proofs", Séminaire Bourbaki 1086, 2014; arXiv:1408.6474 | Hales's Bourbaki talk: the HOL Light kernel in a page, and the state of formal proof in 2014. | 13 |
| Buzzard, "What is the point of computers? A question for pure mathematicians", ICM 2022; arXiv:2112.11598 | A number theorist's case for formalizing: the survey of landmark projects in section 1. | the introduction, 12 |
| Avigad, "Mathematics and the formal turn", Bulletin of the AMS 61, 2024; arXiv:2311.00007 | What formal methods can do for mathematics, from the logician who has done most of them. | the introduction |
| Avigad, "Varieties of mathematical understanding", Bulletin of the AMS 59, 2022; arXiv:2310.20100 | Understanding when the computer does part of the work: the philosophical essay closest to Section 14. | 14 |
| Baker, "Non-Deductive Methods in Mathematics", Stanford Encyclopedia of Philosophy | Tymoczko's argument on surveyability in a page, with the replies, where his paper itself is not open. | 14 |
| Wadler, "Propositions as types", Communications of the ACM 58(12), 2015 | The history of propositions as types in ten pages, for the first lanes of the timeline. | the introduction |
| Tao, "Formalizing the proof of PFR in Lean4 using Blueprint: a short tour", blog post, 18 November 2023 | How a blueprint and its dependency graph organize a formalization by many hands. | 12 |
| Scholze, "Liquid tensor experiment", Xena project blog, 5 December 2020 | A mathematician asks for his own theorem to be checked, and says why. | 12, 14 |
| Scholze, "Half a year of the Liquid Tensor Experiment: amazing developments", Xena project blog, 5 June 2021 | What the check taught the author of the proof: the best account of understanding gained from formalizing. | 14 |
| Becker, de Frutos-Fernández, Diedering, van Doorn, Gouëzel, Karunus and others, "Formalizing Carleson's theorem in Lean", arXiv:2609.31334, 25 September 2026 | A recent large project by people, with a blueprint: 35.6k lines, a year. | 12 |
| Birkbeck, Hariharan and Lee, "The Sphere Packing Project, post 1: the story", Lean community blog, 2 March 2026 | A project that people began and AI provers joined, told by its maintainers. | 12 |
| Buzzard, "FLT: Anthropic has beaten me to it", Xena project blog, 4 September 2026 | Fermat's last theorem formalized by a model in 11 days, and what that does and does not show. | 12, 14 |
| Buzzard, "…and the proof is checked in Lean", Xena project blog, 12 November 2026 | The four questions to ask of any claim "checked in Lean". | the introduction, 13 |
| Lean FRO and Mathlib Initiative, "Lean verification of the Riemann Hypothesis" (joint statement), Lean community blog, 21 November 2026 | The statement of 21 November 2026 and its four criteria. | the introduction, 13 |
| README of the readable edition of the shorter proof: the folder grh/ of github.com/lsernau/grh-lean at commit 72fead1, published 25 November 2026 | The README of the readable edition, the one edition this series reads: what is proved, what to read in order to trust it, what was checked. | 12, 13, 14 |
| GUIDE.md, the reading guide of the readable edition of the shorter proof: the folder grh/ of github.com/lsernau/grh-lean at commit 72fead1, published 25 November 2026 | The reading guide that comes with the readable edition: where to start, the three main theorems and the main inequality, a glossary. Section 14 starts from it. | 14 |
| Sutherland, "Verification files for the shorter Lean proof of RH and of GRH for Dirichlet L-functions" (page last updated 27 November 2026) | The checks of the shorter proof, both editions, with sizes, checkers and memory. | 13 |
| Sutherland, "Verification files for the Lean proof of the Riemann Hypothesis" (page last updated 27 November 2026) | The checks of the original archive of 20 November 2026, as context: checkers, counts and times. | 13 |
| Schiller, "Does a Trivially True Predicate Invalidate a Kernel-Checked Proof? An Independent Build and Dependency Audit of the Alpöge Lean Archive for the Riemann Hypothesis", arXiv:2611.37492 (draft, not peer reviewed) | An independent build and dependency audit of the archive, and the critique it answers (draft, not peer reviewed). | 13, 14 |
| Alpöge, remark announcing the proof, 20 November 2026 | The author's own remark on the proof. | 14 |
How the worked examples were made
Every external check in this series has been held to a clear distinction between what actually ran and what was merely reported, and the interactive figures and worked examples in these pages owe the reader the same accounting. Wherever a figure demonstrates an algorithmic mechanism small enough for a browser, it executes live in the page on the reader's own inputs: lambda terms reduce, types are inferred, natural-deduction proofs normalize, sequent cuts are eliminated, and real exported Lean declarations are verified by a kernel running right in the browser. Miniature stand-ins replace full-scale developments only where gigabyte-scale objects cannot fit in a web page: Euclid's theorem stands in for the full Mathlib hierarchy, and modulus 8 stands in for 18480. The page's kernel is a separate implementation in JavaScript, written with Lean's own kernel open beside it: it shares no code with Lean's and is not independent of it in design.
Checked against. Each engine was held to the mathematics and, where Lean has the same notion, to Lean 4.35.0. The counts are those of the tests, which can be run again.
| what runs in the page | what it was held against |
|---|---|
| reduction of lambda terms, an abstract machine, simple types (Sections 1, 2 and 4) | confluence on each of the 41,272 closed terms of up to 11 nodes; the graph of each of 25,954 typable terms is finite and has no cycle; Lean accepts 1,945 typings that the page inferred and refuses 479 wrong ones |
| natural deduction, the sequent calculus, a prover with countermodels (Sections 3 and 4) | cut elimination ends in a cut-free proof on 481 proofs with cut; 88 catalogued formulas and 2,500 random ones each get a checked proof or a checked countermodel; Lean accepts 447 and 654 generated declarations |
| pure type systems and the paradox of a type of all types (Sections 2 and 5) | the verdict of Lean's kernel on all 240,466 closed terms of at most nine nodes: none differs |
| the page's kernel (wherever a figure checks or reduces a real declaration) | all 196,546 declarations of Lean's core library, each accepted; the verdict of Lean's kernel on 4,400 declarations with one or two small changes: 4,312 refused by both, 88 accepted by both |
| the zeta function on the critical line and the primes (Sections 11 and 14) | a published table of zeros: 10,142 below height 10,000 found and 10,142 published, the largest difference 2.9 × 10⁻⁹, inside the 3 × 10⁻⁹ that the table states for itself; published counts of primes up to 10¹⁰ |
Recorded from Lean. Whatever the series says that Lean does, Lean 4.35.0 did, on files written for the series that import only its core library: the messages, the traces of elaboration, the proof states, the answers of #print axioms, the sizes of terms. It is the version the readable edition is built on. The core library was exported from it, and on that export ran the page's kernel and the checkers that ship with that Lean, which were run on exports made here and on nothing else.
Read as text. Mathlib, at the commit the readable edition is built on, and the readable edition itself were read and counted as text. What the series shows of Mathlib is its source, line for line. What it measures of the proof is files, lines and import lines, and the count agrees to the line with the edition's own index and table of contents.
Not run. Neither Mathlib nor the readable edition of the proof was built here. So every check of the proof that the series mentions is a report by those who ran it. The tool that compares a proof with its statement file, lake comparator, was not run here either; where the series compares statements it uses a stand-in written for it, and says so each time.
Published. What is drawn and was not made here is data as published, each row with its source and date: the checks of the proof by edition, the events of the timeline, the sizes of formalization projects, the proofs and their accounts, a table of zeros of the zeta function, Lean's upstream records on certification.
A model in the loop. One experiment involved a model (Section 12.4). In five rounds on 1 December 2026, Claude Fable 5.2 took on 97 statements, with Lean 4.35.0 answering each attempt: 116 attempts, 96 statements accepted, and one, Fermat's last theorem, not attempted. Of the 20 attempts not accepted, Lean found an error in nine, ten were texts sent unfinished in which Lean found none, and one was refused by the program that ran the experiment, not by Lean. It is one model in one pass; the sets differ in kind and no rate is taken over them. The statements of the harder sets are the model's own readings of the theorems' names. Each of the 11 proofs accepted in those sets passed the second check of Section 12.4.
Reviewed. Before the prose was written, a reviewer who had made none of the experiments read every measured or recorded comparison against the sentence its figure was to make, and ran parts of them again. The findings changed what the series says in many places: that Lean's kernel does have a budget of steps, that the page's kernel is no independent witness, that a statement the model did not attempt is not one it failed. In this part they changed two things: the envelope of the error term got its source before a caption named it, and the remainder is said to be as read from the text.
Measured. Times were taken on one server with 16 cores that all the experiments shared, often while other work ran on it. A figure that prints a time says whether it is one run or a median, and no time in the series is offered as a measure of Lean, of a kernel or of a tactic in general. A time that a figure takes while it runs is the reader's own machine's.