Why One Half?

A Plain-Language Guide to a Formal Proof of the Riemann Hypothesis

November 29, 20261

Abstract

The Riemann Hypothesis is a 167-year-old bet about how evenly prime numbers spread out, and the whole thing turns on a single number: one half. Settling it doesn’t break your bank’s encryption, whatever the internet says, though it does turn a pile of conditional guarantees in computing and number theory into solid ground and touches a strange statistical link to quantum physics. In 2026 a formal proof of it appeared online—roughly 76,000 lines of Lean 4, a language where every logical step is spelled out for a computer to verify. A machine accepted it; by its own authors’ account, no mathematician has read it through. This guide walks through how that proof is built, for a reader with zero math background. The argument makes three big moves: it trades a question about where a function vanishes for a question about counting primes, caps one carefully chosen quantity from both sides so a massive baseline cancels out, and finds the one half where a straight-line gain collides with a runaway square-shaped bill. Everything here was distilled from a structured record of the code, read strictly as text. Nothing was compiled or run. It is a guide to a formal proof, not a proof.

I. The Question

Prime numbers (2, 3, 5, 7, 11, and so on) are the indivisible building blocks of arithmetic—the whole numbers that can’t be broken down into smaller factors, and out of which every other whole number above 1 is built by multiplying. Up close, they show up without much warning. There’s no stamp or obvious tell announcing the next one before it arrives: 89 is prime, then you wait through a quiet gap until 97. Zoom way out, though, and they thin out with eerie steadiness. The old question is how that local scatter and that large-scale order manage to live in the same number line.

In 1859 Bernhard Riemann figured out where the mechanism lives. Take a mathematical function—a machine that takes a number in and spits a number out—and ask where its output drops to zero. Riemann tied the error in our best estimate of how many primes sit below a given size to the zeros of one specific machine, the zeta function. Sound gives you the cleanest picture of what’s going on. A musical chord can be pulled apart into pure tones, and the wobbles in the prime count can be pulled apart into waves, one wave for every zero. The farther to the right a zero sits on the map, the louder its wave, which means bigger, uglier swings in where primes show up.

Set aside one boring, predictable row of zeros marching down the negative even numbers (−2, −4, −6, and so on) that nobody loses sleep over. Every remaining zero lives inside a vertical corridor running from 0 to 1, with a centerline straight down the middle at one half (Figure 1). Because these zeros always come in mirror-image pairs across that centerline, any zero wandering off to the left forces a twin out to the right, cranking up a louder wave. Riemann guessed that every single one of them sits dead on the one-half line. That’s the Riemann Hypothesis. If he’s right, the waves stay as quiet as math allows, and the count of primes below any size x never strays from its natural estimate by much more than the square root of x.

The critical strip A vertical strip running from 0 to 1 with a center line at one half. Ten filled dots sit on the center line. One open circle sits to the right of the line and a second, its mirror image, sits to the left. the center line, at one half a zero out here is what the proof rules out its mirror image would be here the first ten zeros, at their true heights 0 1/2 1
Figure 1. The strip and its centerline. The hypothesis says every zero inside the strip sits on the one-half line, just like the first ten (filled dots, drawn at their true heights). A zero off the line brings a mirror twin with it, so clearing the right half of the strip automatically clears the left half too.

The Generalized Riemann Hypothesis asks the exact same question for a whole family of zeta’s cousins, called Dirichlet L-functions. They govern how fairly primes divvy themselves up among remainder buckets—for instance, primes ending in 1, 3, 7, or 9. Neither hypothesis has ever had an accepted proof.

II. Why It Matters Outside a Math Department

We live in an era of quantum everything on demand, and yet for 167 years mathematicians haven’t been able to nail down the most basic of basics about counting. Before anyone worries about their bank account, though, let’s clear up the favorite internet myth: proving the Riemann Hypothesis won’t break internet encryption, expose your credit card, or hand anyone a magic crank that spits out the trillionth prime on command. Online security like RSA leans on how painfully slow it is to factor a giant number made by multiplying two huge primes together, and this hypothesis doesn’t make factoring any easier. They always say you can’t predict the future, and they’re right—you can’t, and you still can’t predict the exact next prime out of thin air. What you can do is anticipate how primes behave in bulk, with ironclad guarantees instead of crossed fingers.

That guarantee actually pays off a massive stack of IOUs across computing and cryptography. Every time you open an encrypted webpage, tap a banking app, or send a private message, computers behind the scenes are hunting down fresh, giant prime numbers—hundreds of digits long—to build cryptographic keys. Most real-world software checks whether a giant candidate is prime using fast probabilistic tests: it rolls mathematical dice dozens of times until the chance of a mistake is unimaginably small, though technically not zero. Under the Generalized Riemann Hypothesis, Gary Miller’s classic primality test from 1976 becomes both fast and 100 percent certain, no dice required (Miller 1976). More broadly, hundreds of theorems across computer science, cryptography, and error-correcting codes sit behind a quiet asterisk: “assuming the Riemann Hypothesis,” or “assuming GRH.” They promise fast algorithms and tight ceilings on gaps between primes, provided no freakish outlier zero is hiding out at a number with a thousand digits. Proving both hypotheses turns an entire neighborhood of conditional engineering and math into settled ground.

There is also a genuinely weird bridge to the physical world. In the early 1970s, number theorist Hugh Montgomery worked out a formula for how the zeta function’s zeros space themselves out along the one-half line—and when he mentioned it over tea to physicist Freeman Dyson, Dyson recognized it on the spot as the exact statistical law governing the energy levels inside the nuclei of heavy atoms like uranium (Montgomery 1973). Nobody has a complete explanation for why pure prime counting shares a statistical fingerprint with subatomic quantum chaos. Still, the mathematical toolkit built around those shared patterns—random matrix theory—already shows up in everyday engineering, from managing signal interference in crowded wireless networks to pulling real structure out of noisy, high-dimensional data. Understanding how a proof pins those zeros to the line gives researchers fresh machinery for the same deep wave-and-resonance behavior.

Will your Wednesday afternoon look noticeably different the day a proof is confirmed? Probably not. It’s more like getting the geological survey back on the bedrock under a city you’ve been building on for a century and a half, and finding out it really is solid granite all the way down. And pure math has a habit of cashing its checks late: the “useless” prime-number puzzles people worked out in the 1700s ended up, two centuries later, locking down every online purchase on earth. When a problem this old finally cracks, the tools invented to crack it usually end up mattering more than the trophy.

III. What Is Claimed, and by Whom

Normally a big math proof arrives as a dense journal manuscript that human referees spend months or years checking line by line. This one arrives as software, written in Lean 4.2 In Lean, definitions and theorems are typed in like code, and a small, strict verification program—the kernel—refuses to accept any claim unless every step follows mechanically from what came before. The project ends in five final theorems: two wordings of the Riemann Hypothesis and three statements of the Generalized Riemann Hypothesis.3 All five drop out, in a single line each, from one core claim: none of these functions drops to zero anywhere to the right of the one-half line.

According to its own README, the project is based on a proof by Levent Alpöge made with the AI model Claude, and this shorter 76,000-line edition was produced at Anthropic, again with Claude. It is candid about where things stand: by the authors’ own account, the proof has cleared a computer’s checks and nothing else, and no mathematician “has read it through.” In math, an elaborate justification doesn’t automatically hold up under sustained scrutiny just because it’s elaborate—and verifying it is the whole point. This guide doesn’t change that standing. Lean wasn’t run here, and a map of a building isn’t a structural inspection. What a guide can do is lay out how the argument fits together, so a curious outsider can see what’s being claimed and a specialist can see where to start poking.

IV. First Move: Trade Zeros for Primes

Suppose, just to play devil’s advocate, that the hypothesis is wrong—that one of these functions really does hit zero somewhere to the right of the one-half line. The first move takes that rebel zero and trades it for a concrete statement about counting primes.

The proof sets up a custom tally of primes: specifically, primes that leave a remainder of 1 when divided by a certain large number, weighted and smoothed out so we know ahead of time what the expected total ought to look like, with one category of primes filtered out using a helper prime. Call the amount by which the actual count runs ahead of expectations the overshoot.

Here is where the sound-wave picture earns its keep. If you break that overshoot down by frequency—like splitting a song into bass, mids, and treble—every zero of these functions shows up as a sharp spike, including our hypothetical zero off to the right. A classical principle named for Edmund Landau says such a spike simply cannot exist if the overshoot stays under a certain ceiling once the numbers get big enough.4 If the ceiling holds, the zero cannot exist. Better still, you only need a one-way lid: the tally can fall as far behind as it wants, as long as it never surges too far ahead.

The ceiling the proof builds toward is the hypothesis’s own signature: in the tally’s units, roughly one over the square root of x at size x.5 A stretch of careful bookkeeping ties the overshoot to a single number—call it R—and boils that entire ceiling down to one inequality about R, called the star inequality. Everything else in the proof orbits around it.

V. Second Move: Cap One Thing Twice

The star inequality leans on one of the cleanest conservation laws in arithmetic, called the product formula. Pick any nonzero fraction, say 12/49. It has its ordinary everyday size, roughly a quarter. It also has a size in the eyes of every prime number, measured by a ruler that works backwards: the more times a prime divides into a number, the smaller that prime considers the number to be. The prime 2 divides into 12 twice (2 × 2 = 4), so 2 sees a size of 1/4. The prime 3 divides into 12 once and sees 1/3. The prime 7 divides into the bottom twice, which flips the rule around, so 7 sees 49. Every other prime sees 1. Multiply all those sizes together:

12/49 × 1/4 × 1/3 × 49 = 1.

It lands on 1 every single time, for every fraction except zero.6 That means a number can’t be tiny in every sense at once: to look small to lots of primes it has to be divisible by a whole heap of them, which forces its ordinary size to be huge. Something has to give. Write it down as an accounting ledger—one line for ordinary size and one line for each prime, on a scale where multiplying turns into adding—and the law says every number’s ledger has to sum to zero.

The proof applies that accounting law to one specially built quantity; call it Q. Think of Q as comparing the volume of a many-dimensional box—whose edges are built out of heavy-duty functions from modern number theory—in a setting twisted by primes against its volume in the plain setting. Nobody ever actually computes Q. Instead, the proof caps every line of Q’s ledger from above, and then flips Q upside down and caps 1/Q’s ledger too (Figure 2).

From above. The proof manufactures nearly a full set of box edges that are short in ordinary length and nearly whole numbers from every prime’s point of view—meaning almost free of bloated prime denominators. Short, clean edges build a small box. Those caps on Q’s ledger come to a huge baseline, minus m times R, plus a small cushion—where m is the length of a certain chain of steps.

From below. Flip the box ratio upside down, and 1/Q splits neatly into factors along that same m-step chain, one piece per step, each small enough to cap on its own. Together, the ceilings on the ledger of 1/Q come to the negative of that exact same huge baseline, plus a small cushion.

The squeeze Three rows of blocks. The first row is a large baseline block, minus a block marked m times R, plus a small block. The second row is minus the same baseline block, plus a small block. The two baseline blocks are struck through. The third row, their sum, is minus the block marked m times R, plus a small block. ceiling on the size of Q baseline − m × R + these cancel ceiling on the size of 1/Q − baseline + added together: at least zero − m × R + so m × R is no bigger than the small leftovers
Figure 2. The squeeze. Both Q and its upside-down twin 1/Q get capped from above. Multiply them together and you get 1, whose ledger has to total zero, so the two ceilings added up cannot fall below zero. That knocks out the huge baseline and traps m times R under a modest leftover allowance. Block sizes are schematic.

Now multiply Q by 1/Q. You get 1, whose ledger sums to zero, so the two sets of ceilings added together cannot drop below zero.7 The giant baseline cancels clean out, and what’s left standing is the star inequality:

m × R is at most a small allowance.

Divide both sides by m, and the overshoot is trapped under that allowance divided by the length of the chain. The longer you make the chain, the tighter the lid.

VI. Third Move: Why the Chain Stops at One Half

Wait a second. If stretching the chain pushes the ceiling lower, why stop? Why not crank m up as high as you want and prove something even stronger than the Riemann Hypothesis? Because anything stronger would actually be false: we already know for sure that infinitely many zeros sit dead on the one-half line.8 If the proof didn’t hit a brick wall right at one half, you’d know immediately that something in the machinery was broken. It hits that wall at the exact right spot because extending the chain costs money, and the bill rises much faster than the payoff (Figure 3).

The payoff grows in a straight line with the chain. Each of its m steps wrings out a little extra divisibility by certain small primes, and because divisibility multiplies across steps, those small extras add up on the ledger. Double the chain, and you double the gain.

The bill, on the other hand, grows like a square. Carrying m steps forces the proof to bring in a massive helper number whose size on the adding scale grows in step with m—and the amount of prime slack it has to tolerate at that helper number also grows in step with m. The total bill is one multiplied by the other: m times m. Double the chain, and the bill quadruples.

That bill has to fit inside a fixed budget set by x, the size where we’re counting primes. If m times m has to stay under roughly x, the longest chain you can afford is roughly the square root of x, and not a step longer. Plug that longest affordable chain back into the star inequality, and the ceiling on the overshoot lands at about one over the square root of x.9

Why the chain stops Two graphs against the chain length m. In the upper graph a rising curve, the cost, meets a level line, the budget, at the square root of x. In the lower graph a falling curve, the ceiling on the overshoot, is marked at the same chain length, its lowest point within reach. cost: grows like m × m budget: about x the longest chain the budget allows the ceiling: allowance ÷ m the lowest ceiling within reach the square root of x chain length m
Figure 3. Why the chain stops. Top: the cost climbs like m times m and can’t exceed a budget near x, topping out the chain at around the square root of x. Bottom: the ceiling on the overshoot (allowance divided by m) drops as the chain gets longer and hits its lowest reachable point right at that cutoff. Both curves are schematic.

A square root, written as an exponent, is the power one half. In this proof, that is where the famous one half of the Riemann Hypothesis comes from—the exact balance point where a straight-line gain collides with a runaway parabola of cost.

VII. The Engine Room

The easiest way to describe what sits beneath those three moves is that it’s too complex for one sitting, though if you keep bugging me, here is the tour. Under the hood sit ten supporting stages built to do three specific jobs: manufacture the short, nearly whole box edges for the upper cap; translate the chain into special values of L-functions for the lower cap; and keep the denominators at every prime pinned inside a fixed budget. Their toolkit pulls from all over modern number theory—theta functions, the Siegel–Weil formula, Hecke operators, Galois cohomology, crystalline cohomology. You don’t have to understand any of that machinery to follow the three main moves above, and all of it is exactly where a working mathematician will want to look hardest. Appendix A lists all fifteen stages in the order you’d teach them.

VIII. What This Guide Is, and What Remains Open

This guide was distilled from a fabulam—a structured record of a formal proof where every declaration in the source code gets its own entry—and from a pshort, a compact guide written out of that record.10 The readers who built the record worked from the Lean files with the authors’ comments stripped out, so the map came straight from the formal math rather than from what the authors said about it in prose. Those stripped comments were checked against the blind record afterward (Table 1).

Table 1. What was read, and how far.

What Count
Lean files in the project 796
Declarations in all 10,978
Declarations of the argument itself, read with their proofs 2,518 of 2,518
Declarations of the background library that were read 455 of 8,352
read with their proofs 117
read by statement only 338
Authors’ comments compared with the record 2,104
comment and record agree 1,992
comment and record differ (one misreading, since repaired) 2

As for whether a computer actually confirmed the proof, this guide only knows what the repository reports. Looking at the text of all 796 files, the project declares no custom axioms of its own and never touches native_decide, a shortcut that trusts the compiler instead of checking every step. The placeholder sorry, which marks an unfinished gap, appears five times—every single one in the single file that states the five target theorems to be proved. Because the files here were read strictly as text, nothing was built or run, so we can’t verify from our own machine that Lean accepts the proof. The project’s README states that every file compiles, that the proof replayed cleanly through Lean’s kernel, that the five theorems rest solely on Lean’s three standard axioms, and that a verification tool called Comparator accepted them.

What remains open comes last because it matters most.

A guide can’t vouch for a proof—being not true is more than enough to sink a 76,000-line argument, and you want to be quite sure that it lands. Whether this one stands is for Lean’s kernel and, eventually, for human mathematicians to settle. All a guide can do is give you a clear shot at the architecture: where the trade happens, how the squeeze works, and why the whole thing stops dead on one half.

Appendix A: The Fifteen Stages, in Teaching Order

The record splits the argument into fifteen stages. The first two make up the trade in Section IV, the next three carry out the squeeze in Section V, and the final ten are the engine room, where Section VI’s chain is actually built. Each row below summarizes the record’s own plain-language account of what that stage does.

Table 2. The stages of the argument, in the order the record teaches them.

No. Stage What it does, in plain words
1 Reduction Trades a supposed zero to the right of the line for a ceiling on the overshoot of a weighted count of primes. A classical one-sided principle and mirror symmetry do the rest.
2 One-sided bound Assembles a kit of helper choices at each large size, ties the overshoot to one number attached to that kit, and slides a second scale along a window until the leftover correction practically vanishes.
3 Star inequality Caps one quantity from above and from below. A huge common baseline cancels out, leaving the chain length times the overshoot trapped under a modest allowance. This is the hinge.
4 Upper side Averages forms, divides out the divisibility gained, and copies them over a modest number of shifts, building independent vectors that are short, nearly whole, and fill nearly the whole space.
5 Lower side Factors the inverse ratio step by step along the chain into pieces built from special values of related functions. Combined with the product formula, this locks in the lower bound.
6 The chain Turns simple forms into the ones the inequality uses through a chain of similar steps roughly as long as the square root of the size. Each step picks up a little divisibility at certain small primes, and those gains add up.
7 Seesaw Shows that a form built by averaging over an infinite group, then pushed through a chain of integral transforms, matches a finite combination of simple finite transforms of the starting data.
8 Jets Boils the divisibility facts down to Taylor coefficients of classical theta functions on one elliptic curve with extra symmetry, which the relevant primes divide at a steady rate.
9 Hecke type Uses a counting argument over a finite field to cap how much wholeness the special operators at marked primes can cost.
10 Spread Measures the overlaps between shifted copies of an averaged special function—exact where they match, tiny elsewhere—so that for any subspace some shifted copy sends only about half the forms into it.
11 Local analysis Builds, at each place at infinity, a function concentrated around one point whose overlaps with shifted copies of itself drop off fast.
12 Fit family Picks a twist for each prime that keeps certain Galois cohomology groups small, pinning down the denominators. The separate budgets across primes add up to one fixed total.
13 Exchange Shows that two integrals of theta functions built on spaces of different sizes are proportional, with a scaling factor made of a product of special values.
14 Grid Walks pairings of two chains of lifts square by square across a grid, paying a controlled cost at every square. The square count grows like twice the square of the chain length.
15 Crystalline Shows that certain products of cohomology classes vanish once multiplied by a bounded power of a prime, climbing a ladder of finer approximations one rung at a time.

References


  1. Credits and AI use: This paper carries no byline, because it is not the work of any one author: it was made by Graham Smith, Claude Opus 5.5 and Claude Fable 5.2, with MacroCOSM (macro.cosmoes.org), and none of the three could have made it alone. Graham Smith designed the fabulam and pshort formats (MacroCOSM OES § 18.4.10) and directed the series of reading runs. The two Claude models read the Lean source and wrote the record and the guides under that design, and Claude Fable 5.2 drafted the original paper from the record’s guide for everyone and its plain-language summaries of the stages, and drew the figures. On November 29, 2026, Graham Smith directed a voice-and-clarity revision—including Section II on practical significance—with Gemini, shaped by his own prose style. No mathematician has reviewed the record, the guides or this paper, and nothing here is a claim that the proof it describes is correct.↩︎

  2. The source is the public repository lsernau/grh-lean, folder grh-compact, read at commit 72fead1: 796 Lean files holding 10,978 declarations, each a definition or a proved statement. It is written for Lean v4.35.0 on the Mathlib library and released under the Apache 2.0 licence, copyright 2026 Anthropic, PBC. The repository also holds a longer “readable” edition of about 300,000 lines that states the same five theorems; this guide follows the compact edition, of about 76,000 lines.↩︎

  3. Set against the usual wording of the two hypotheses, three of the five statements say exactly the same thing, one speaks only of the right half of the strip (another of the five supplies the left half, by the mirror symmetry), and one is stated for a narrower class of functions than its own proof covers. The statement about the right half sets aside one conventional exception, a point where the function concerned has a pole.↩︎

  4. The leaving-out rule has a side effect that the proof has to handle. The zeros of a second set of functions enter with the opposite sign, and could cancel the spike. The auxiliary prime is chosen so that those functions have no zeros anywhere near the point in question, which the source draws from a theorem on how rare such zeros are.↩︎

  5. In symbols: for every ε between 0 and 1/100 and every large enough x, the overshoot of the smoothed tally at x is at most x raised to the power −1/2 + 8ε. How large is large enough depends on ε. To reach this the proof assembles, for each large size, a kit of auxiliary choices (three scales very far apart, two more primes, a large set of special positions), shows that R is a scaled copy of the overshoot less a correction at a much larger scale, and slides that larger scale along a long window to a spot where the correction is negligible.↩︎

  6. The sizes in the eyes of the primes are what number theorists call p-adic absolute values, and the ledger is a height. The proof uses the product formula for the rational numbers, on a logarithmic scale and with a cut-off.↩︎

  7. One subtlety: the setting is twisted differently for each prime, so the ledger of Q is stitched together from many numbers, one to a line, and need not sum to zero on its own. Line by line, though, Q times 1/Q is the number 1, and ceilings on a ledger that sums to zero cannot themselves sum to less than zero. Four smaller cancellations happen alongside that of the baseline.↩︎

  8. G. H. Hardy proved in 1914 that infinitely many zeros of the zeta function lie on the line.↩︎

  9. In symbols: the star inequality reads m·R ≤ (log B)²·budget, with budget = f·a·(log B)³. Here log B is x raised to the power ε, f is a fixed counting factor, and a is a whole number of about the size x·b. The chain length m is a power of 2 between √x and 2√x. The level N has log N between m·log B and 30·m·log B, and the loss allowed at N is 4·m·f·b, so the bill at N is of the order of m²·f·b·log B. Fitting that bill inside the budget forces m² to be at most of the order of x·(log B)².↩︎

  10. The fabulam and the pshort are defined in MacroCOSM OES, edition 0.9.0, § 18.4.10. Two rules of that section shape this paper: a guide of this kind is never called a proof, and nothing of the proof’s own system is installed, built or run in making one. The record used here was built under trial versions of the schema, which extend that section to a project of many files.↩︎