This portrait needs WebGL2, which this browser does not provide.
AI Mathematics · Number theory
Riemann’s Line, 1859 → 2026 Recurrence · 17.4 million lines
What this is Levent Alpöge’s proof of the Riemann Hypothesis, made with Claude, is a program: 175,187 files written in Lean, a language in which a computer checks every step. It proves the hypothesis and its generalization to the Dirichlet L-functions, the zeta function’s cousins that count primes in arithmetic progressions. Laid end to end, its files hold 17,374,215 lines.
This portrait puts those lines along both edges of a square, in the same order. Each point compares two stretches of the proof, one read across and one read down, and asks how often a line from one is word for word a line from the other. The brighter the point, the more often they coincide.
A point on the diagonal compares a stretch with itself, so the diagonal shines wherever the code repeats close by. Bright squares along it are passages that reuse their own phrasing; bright blocks away from it are distant parts of the proof that speak alike; dark seams are code with a vocabulary of its own.
Where AI came in Levent Alpöge found this proof working with Claude, an AI model made by Anthropic, and announced it on 20 November 2026 (his note ). He released it only in this form, as a Lean formalization, and wrote that a readable account would follow. On 21 November the Lean and Mathlib communities certified its statement and its proof: dozens of people compiled it, and the exported proof passed Lean’s kernel and several independent checkers. Its ideas have yet to be explained to human readers or peer reviewed.
What counts as the same line Meaningful lines , the default, compare the text of each line without its indentation, and leave out the 1.9 million that carry no content of their own: blank lines, lines of brackets or symbols only, and single keywords such as by or where. Of the 15.5 million lines left, 7.0 million occur more than once. The most frequent is import Mathlib, at the head of 155,753 files, then noncomputable section (77,998), rfl (57,048), set_option maxHeartbeats 1000000 in (50,384) and ring (47,782).
Every line counts all 17.4 million exactly as written, spaces included. Blank lines alone number 1.8 million and light up the whole picture.
Three orders, three shapes The files can be laid end to end in three orders. Archive follows the folders as the proof is packed. Height climbs from the foundations to the final theorem, as on Proof : a file’s height is the length of the longest chain of imports leading up to it from Mathlib, the shared library it builds on. Branch groups the files by the proof’s eleven top-level fields, coloured as on Proof.
The matrix is symmetric: the point comparing A with B also compares B with A. Triangle shows each pair once, with the diagonal laid flat. Circle wraps that triangle into a ring.
Brightness Brightness ranks the share of identical pairs. The 255 shades each hold an equal number of points of the whole portrait, so every shade is in use and the ramp shows ranks, not equal steps of density. Most points sit within a narrow range, between about 1 identical pair in 50,000 and 1 in 1,500 for meaningful lines; the legend under Colour marks where round values fall. The diagonal and the densest blocks go far above it. Black means no identical pair at all.
How it is computed Every pair of identical lines is counted, none sampled: for each distinct line, its positions are tallied into bins along the proof, and the bins are multiplied out (one large matrix product for the 2,076 lines that occur 200 times or more, a sparse one for the rest). A line is never paired with itself. The whole matrix is stored down to 8,192 bins a side, about 2,120 lines per point; in the default view, a band along the diagonal goes on down to 65,536 bins, about 265 lines per point. Past the stored depth the picture simply grows coarser: nothing is interpolated. The tiles are compressed with a small loss, under 2% of the brightness scale on average.
What this portrait is not It shows how the proof is written, not what it says. Repetition in a machine-checked proof is mostly the grammar of Lean and Mathlib (the same tactics, the same set-up lines), so a bright region means a shared style, not a shared idea. GLOBAÏA did not compile the proof; the counts come from reading its files. On 21 November 2026 the Lean and Mathlib communities certified both the statement and the proof as correct. Its ideas have yet to be explained to human readers or peer reviewed.
Sources Levent Alpöge, Lean 4 formalization (archive in 14 parts, Lean 4.33.1, Mathlib revision 0df444a3) and announcement note , 20 November 2026. Lean and Mathlib communities, Lean verification of the Riemann Hypothesis , 21 November 2026.
Credits
Proof of the Riemann Hypothesis: Levent Alpöge, working with Claude, a model made by Anthropic .
Written and checked in Lean , the proof assistant, on Mathlib , its community library.
Colour: Fabio Crameri, Scientific Colour Maps ; cmocean (Kristen Thyng and colleagues); matplotlib; ColorBrewer (Brewer, Harrower and Penn State); CARTOColors (CARTO); MyCarta (Niccoli); by way of Palettable .
Made by GLOBAÏA with Claude Code (Anthropic), Python, WebGL2 and Astro .