{
 "slug": "the-theorem-was-the-smaller-prize",
 "url": "https://epimystic.com/essays/the-theorem-was-the-smaller-prize/",
 "title": "The Theorem Was the Smaller Prize",
 "dek": "If the formal proof of the Riemann Hypothesis holds, a century of conditional mathematics is paid off at once. But number theory has been borrowing against the hypothesis for so long that the theorem changes little anyone believed -- and the exact line where its consequences stop shows what is still locked inside seventeen million lines no person has yet read through.",
 "theme": "mathematics",
 "themeName": "Mathematics",
 "author": "Epimystic",
 "datePublished": "2026-11-29",
 "readingMinutes": 16,
 "tags": [
  "riemann hypothesis",
  "proof",
  "number theory",
  "understanding",
  "machine assistance"
 ],
 "markdown": "https://epimystic.com/essays/the-theorem-was-the-smaller-prize.md",
 "body": [
  {
   "type": "p",
   "text": "In 1927 Emil Artin made a guess about the number 2. Take a prime p and write down the powers of 2, keeping only the remainder after dividing by p. Sooner or later the remainders return to 1 and start over. For some primes -- 3, 5, 11, 13, 19 -- they visit every possible non-zero remainder before returning; for others, like 7, they cycle early through a few. Artin conjectured that the first kind never runs out, and that it makes up a fixed share of all primes, a little over 37 in every hundred. Forty years later Christopher Hooley proved it. Or rather, he proved that it follows from something else.[^1]"
  },
  {
   "type": "p",
   "text": "That something else was a version of the Riemann Hypothesis. Hooley's paper is a celebrated piece of analysis, and its theorem begins, as thousands of theorems in number theory begin, with the word _assume_. A large part of the subject has been built on a floor marked with that word: results that are true if the zeros of certain functions lie where everyone believes they lie. For a century the profession has lived, productively and somewhat uneasily, on credit."
  },
  {
   "type": "p",
   "text": "On 20 November that floor may have turned into ground. Levent Alpöge, a mathematician at Anthropic, announced a proof, found working with Claude, of the Riemann Hypothesis and of its generalisation to the Dirichlet L-functions. It came not as a paper but as a formal proof in the Lean language, 175,187 files and about seventeen million lines. Within a day Michael Rubinstein at Waterloo reported that every module compiled, that the five main theorems rested only on Lean's three standard axioms, and that an independent kernel called nanoda had checked 1,484,729 declarations without error; Andrew Sutherland at MIT compiled it separately. Five days later Luke Sernau and colleagues released a rewrite of the same theorem statements, about 76,000 lines in its compact form, which six kernels accepted.[^2] The mathematicians quoted that week spoke conditionally, of what would follow if it is correct and understood. The profession has not declared the hypothesis settled, and it is right not to have."
  },
  {
   "type": "p",
   "text": "And Hooley's theorem is still conditional. That fact is the shape of the event, and the place to begin. The argument here is that the theorem, for all its fame, is the smaller prize. Mathematics has been spending the Riemann Hypothesis for a hundred years; its consequences were worked out, relied on and in several cases reached by other roads long before anyone held a proof. What a proof was always supposed to deliver was a method. A method that cannot yet be read cannot yet be carried anywhere, and the line where this proof's consequences stop, which can be drawn exactly, is the best measure we have of what understanding it would be worth."
  },
  {
   "type": "h2",
   "text": "A Square Root of Disorder"
  },
  {
   "type": "p",
   "text": "The hypothesis can be stated in one breath and understood in two. The zeta function adds up one over every whole number raised to a power _s_; Euler saw that the same sum is a product with one factor for each prime, which is why it knows about them, and Riemann extended it to the whole complex plane, except for the single point _s_ = 1, where it blows up. [[the-music-of-the-primes|The August essay]] told that story at leisure. What matters here is the instrument Riemann built from it, the explicit formula, in the cleaner form von Mangoldt proved in 1895. Count primes with a weight -- each prime power contributes the logarithm of its prime -- and the running total up to _x_ equals exactly _x_, minus one term for every non-trivial zero of zeta, minus the constant log 2π and a last small term that dies away as _x_ grows.[^3]"
  },
  {
   "type": "p",
   "text": "Every zero is a point in the complex plane, with a real part and a height. Apart from the trivial zeros at the negative even integers, which that last small term accounts for, all of them lie in the critical strip, where the real part is between 0 and 1. Each contributes a wave whose amplitude grows like _x_ raised to its real part. So the error in counting the primes, the distance between the true count and the smooth estimate, is governed by the zero that lies farthest to the right. Riemann's functional equation pairs every zero with a mirror image across the vertical line at real part one-half, the critical line, so the farthest-right zero cannot sit left of it. The best possible world is the one in which every zero sits exactly on it. That world is the Riemann Hypothesis, and in it the prime count pi(_x_) differs from Gauss's logarithmic integral Li(_x_) by no more than a constant times the square root of _x_ times its logarithm. Lowell Schoenfeld made the constant explicit in 1976: one over eight pi, from 2,657 onward.[^4]"
  },
  {
   "type": "figure",
   "figure": "the-math-error-ceiling",
   "caption": "The error in counting the primes, measured at every power of ten from ten thousand to 10^25, against the ceiling the Riemann Hypothesis sets and the size one zero at real part three-quarters would force, infinitely often.",
   "note": "Log-log axes. The dots are li(x) minus pi(x) from the published prime counts; they grow almost exactly like the square root of x divided by its logarithm, which is the size the explicit formula predicts when every zero is on the line. They stay under Schoenfeld's ceiling by a margin that widens from about two at ten thousand to about a hundred and thirty at 10^25. The ceiling holds from x = 2,657. The dashed line is not a measurement but a consequence: if any zero had real part 3/4, the error would exceed x to every power below 3/4 infinitely often -- and at 10^18 that line is already six decades above anything observed."
  },
  {
   "type": "p",
   "text": "There is a second way to say the same thing, and it changes how the whole question feels. Give every whole number a sign: plus one if it is a product of an even number of distinct primes, minus one if an odd number, zero if some prime divides it twice. This is the Möbius function, and its running sum is a walk -- step up, step down, stand still. Littlewood showed in 1912 that the Riemann Hypothesis is equivalent to the claim that this walk never strays further from zero than the square root of the distance walked, give or take an arbitrarily small power. That is about how far a walk driven by fair coin tosses strays.[^5]"
  },
  {
   "type": "pull",
   "text": "The primes are fixed for ever by arithmetic, and the hypothesis says they cancel against themselves as thoroughly as coin tosses do."
  },
  {
   "type": "p",
   "text": "That is why it is so powerful and so hard. Square-root cancellation is the signature of independence. To prove it of the primes is to show that a sequence settled completely by multiplication leans in no direction at all, at any scale, and every consequence that follows is a way of cashing that one fact."
  },
  {
   "type": "h2",
   "text": "A Century on Credit"
  },
  {
   "type": "p",
   "text": "Begin with what becomes unconditional, because it is real. If the proof holds, Schoenfeld's inequality is simply true. So is Harald Cramér's theorem of 1920 that, once _x_ is large, every interval from _x_ to _x_ plus a constant times the square root of _x_ times its logarithm contains a prime.[^6] For every prime p, the smallest number that is not a perfect square modulo p lies below twice the square of the logarithm of p; the best unconditional bound, Burgess's, is a fixed power of p, about p to the 0.152, which for large primes is astronomically worse.[^7]"
  },
  {
   "type": "p",
   "text": "The same bound runs a primality test. In 1976 Gary Miller showed that, under the generalised hypothesis, a short deterministic check of a few small bases decides whether a number is prime, and Eric Bach later fixed the cutoff: every base below twice the square of the logarithm of _n_. If the proof holds, that test is correct, and its running time, roughly the fourth power of the number of digits, beats the best running time proved for the unconditional test of Agrawal, Kayal and Saxena, roughly the sixth. The least prime in an arithmetic progression with difference q falls below twice the square of q log q, where the best unconditional bound is a constant times q to the fifth. And the oldest embarrassment in the theory of class numbers lifts. Siegel's theorem of 1935 says the class number of an imaginary quadratic field grows nearly as fast as the square root of its discriminant, but with a constant nobody can compute, because the proof cannot rule out a single exceptional real zero near 1. The generalised hypothesis rules it out. The constant becomes a number.[^8]"
  },
  {
   "type": "p",
   "text": "Now notice how much of this was already in hand. Nobody doubted these statements; they were used, taught and built upon. Several had been reached by other means. In 2002 Agrawal, Kayal and Saxena gave a primality test in polynomial time that assumes nothing. The class number one problem, which asks for every imaginary quadratic field with unique factorisation, was closed by Heegner, Baker and Stark by 1967, all nine fields found. The weak Goldbach conjecture, that every odd number above 5 is a sum of three primes, was proved under the generalised hypothesis in 1997 and then outright by Harald Helfgott in 2013.[^9] When a debt has been carried long enough, people find other ways to pay it."
  },
  {
   "type": "p",
   "text": "Even where the hypothesis is the only road, the distance it adds can be small. The shortest intervals known to contain primes are a good gauge. Guido Hoheisel proved in 1930 that for large _x_ an interval of length _x_ to a power slightly below 1 always holds one; seventy years of work brought the power down to 0.525. The Riemann Hypothesis brings it to one-half -- and no further."
  },
  {
   "type": "figure",
   "figure": "the-math-halfway",
   "caption": "How short a window above x can be and still be sure to hold a prime. A century of work drove the exponent from just below 1 to 0.525; the Riemann Hypothesis adds the last 0.025 to one-half.",
   "note": "Below one-half lies Cramér's guess that gaps never exceed about the square of the logarithm of x, which the computations support and which even a proof of the hypothesis does not touch. The magnified panel keeps only results whose exponent and year are well established: Ingham 1937, Huxley 1972, Heath-Brown and Iwaniec 1979, Baker, Harman and Pintz 2001."
  },
  {
   "type": "h2",
   "text": "The Abelian Line"
  },
  {
   "type": "p",
   "text": "What does not follow is drawn as sharply, and it is where the interest lies. The theorem proved is about the zeta function and the Dirichlet L-functions -- the functions attached to the characters that sort whole numbers by their remainders. The generalised hypothesis in most of the literature is larger than that. Every number field has its own zeta function, every elliptic curve its own L-function, every modular form another, and for each family the claim that the zeros lie on the line is a separate conjecture."
  },
  {
   "type": "p",
   "text": "Some of these come free. The Kronecker-Weber theorem says every abelian extension of the rationals sits inside a field generated by roots of unity, and the zeta function of such a field factors into Dirichlet L-functions. So the hypothesis, if proved for those, holds for every abelian number field too, and with it the effective form of Chebotarev's density theorem in the abelian case, which is the old theorem about primes in progressions wearing a larger coat. Beyond that line the factors are Artin L-functions, which are not Dirichlet L-functions, and the proof says nothing about their zeros.[^10]"
  },
  {
   "type": "figure",
   "figure": "the-math-abelian-line",
   "caption": "What a proof of the hypothesis for Dirichlet L-functions reaches. Filled points follow if the proof holds; hollow ones remain conjectures. The dashed line is where zeta functions stop factoring into Dirichlet L-functions.",
   "note": "Each row lists a result long proved on the assumption of the hypothesis for that family. Hooley's theorem on Artin's conjecture needs it for the zeta functions of fields made by adjoining roots of 2, which are not abelian; the general effective Chebotarev theorem of Lagarias and Odlyzko needs it for every number field; Brumer's bound on the average rank of elliptic curves needs it for their L-functions."
  },
  {
   "type": "p",
   "text": "Hooley's fields lie on the far side. To count the primes for which 2 is a primitive root he needed the hypothesis for fields built by adjoining roots of 2 as well as roots of unity, and those are not abelian. So Artin's guess of 1927 is exactly as conditional this week as last. So is the general effective Chebotarev theorem; so are the bounds on the average rank of elliptic curves, and the long shelf of results that assume the hypothesis for the L-functions of modular forms. The hypothesis also never implied that the zeros are simple, or that their spacings follow the statistics of random matrices, or Cramér's guess about prime gaps. None of those follow now."
  },
  {
   "type": "p",
   "text": "The line matters because a method might cross it where a theorem cannot. A verdict that seventeen million lines compile says nothing about Artin L-functions. An idea might. The outline of the short proof reduces the hypothesis to a one-sided bound for a sum over the primes that stay prime in an imaginary quadratic field, which at least hints at a route through the arithmetic of such fields rather than the mollifier methods behind August's two-thirds.[^11] Whether that route has an analogue one floor up is a question one can put to an idea and not to a kernel."
  },
  {
   "type": "h2",
   "text": "What It Does Not Touch"
  },
  {
   "type": "p",
   "text": "One consequence the hypothesis never had deserves a precise burial, since it rises again with every headline. A proof does not weaken RSA or any other cipher in use. RSA rests on the assumption that multiplying two large primes is easy and undoing the multiplication is hard. The hypothesis speaks about how primes are distributed along the number line, in aggregate, and says nothing about how a particular product comes apart."
  },
  {
   "type": "p",
   "text": "The strongest thing it can say about where primes are is Cramér's window. The primes in a 2,048-bit RSA key have about 1,024 bits each, and near numbers that size the guaranteed window is roughly the square root of 2 to the 1,024, times 710 -- about 10^157 consecutive integers. Being assured that a prime lies somewhere among 10^157 candidates is not an attack. Key generation already finds primes with the randomised Miller-Rabin test, whose chance of passing a composite falls by at least a factor of four with each round, so a proven deterministic test changes no key anywhere. Where the generalised hypothesis appears in computational number theory at all, it is mostly in proofs that algorithms already in use are correct or fast; a proof upgrades some of those certificates and makes nothing faster. The real threat to RSA is a quantum computer running Shor's algorithm, a separate matter [[four-states-and-a-short-vector|this codex has followed]] for its own reasons."
  },
  {
   "type": "h2",
   "text": "What the Kernel Certifies"
  },
  {
   "type": "p",
   "text": "Then there is what the checking establishes, which is subtler than either side of the week's argument allowed. Lean's kernel is a small program that accepts a proof only if every step follows by the rules of its logic from earlier steps, definitions and axioms. The three standard axioms are propositional extensionality, the axiom of choice and the soundness of quotients, all of them used throughout ordinary mathematics. The short proof was accepted by six kernels, Lean's own in two modes and four written separately, so a bug in any one of them is very unlikely to explain the result. The comparator run on it confirmed that its five theorems prove exactly the statements of a challenge file. On all of that, the evidence is about as strong as evidence gets."
  },
  {
   "type": "p",
   "text": "What no kernel checks is whether the statements say what Riemann meant. Mathlib, the community library of formal mathematics, states the hypothesis like this: for every complex _s_, if zeta of _s_ is zero, and _s_ is not a negative even integer, and _s_ is not 1, then the real part of _s_ is one-half.[^12] The last clause is the instructive one. Zeta has a pole at 1 and no value there, but a Lean function must return something at every input, so the library assigns one. The clause excludes the point to make the statement independent of that choice. It is harmless; the library proves the assigned value is not zero. It is also a small window onto the work that remains, because every definition the statement leans on -- the zeta function, the complex numbers, the real part -- must be read by a person and judged to mean the familiar object, and that judgement is not a computation."
  },
  {
   "type": "figure",
   "figure": "the-math-hourglass",
   "caption": "Where the trust in a formal proof sits. Machines check the whole upper chamber; the neck, the statement itself, is read by people; below it lie questions no kernel answers.",
   "note": "The upper filters are the checks reported on Michael Rubinstein's verification page for 21 and 26 November 2026. The lower ones are what remains to people: that each definition means its familiar object, that a convention such as Lean's value for zeta at its pole cannot leak into the conclusion, that the axioms are consistent, and why the theorem is true. The little sand at the bottom is the reading done so far."
  },
  {
   "type": "p",
   "text": "Below that sit two further layers. That the axioms are consistent cannot be proved from inside the system that uses them, which is [[the-theorem-that-eats-itself|Gödel's second theorem]] and true of every foundation mathematics has. And under everything is the question a check cannot address at all: why the theorem is true. Hence the hourglass. Seventeen million lines pour through filters no person needs to watch, everything narrows to a statement of a few lines that people must read, and below it the question widens again into the whole of mathematics."
  },
  {
   "type": "h2",
   "text": "The Smaller Prize"
  },
  {
   "type": "p",
   "text": "[[november-2026-the-month-the-proof-checked-and-the-ground-voted|The November dispatch]] put the event in one line: checking is not understanding. That is true, and the case of this theorem shows why the second matters more than it usually does. For most theorems, the statement is the payload. For this one the statement had been in use for a century and the payload was always going to be the reason."
  },
  {
   "type": "p",
   "text": "The human route to the reason is under construction, in public, and its builders are candid about its state. A 45-page outline of the short proof, at version 1.5 on 27 November, proves its first steps, outlines a zero-density estimate, and states three central theorems of the formal development and outlines their proofs without completing them; for those, it still rests on the Lean text. A 265-page guide to the zeta case, a working draft of 22 November, reduces its key inequality to thirteen numbered hypotheses, none of them proved outright.[^13] This is what the early life of a proof looks like when the certificate arrives before the explanation. The reading is being done backwards, from a conclusion already verified towards an idea presumed to be somewhere inside it, and nobody yet knows how large that idea is, or whether it is one idea or many small ones held together by sheer length."
  },
  {
   "type": "pull",
   "text": "A checked proof is a theorem. An understood proof is a tool. Seventeen million lines have given us the first."
  },
  {
   "type": "p",
   "text": "The history of the Riemann Hypothesis's own analogues shows what the tool is for. When Pierre Deligne proved the version for varieties over finite fields in 1974, the theorem was the least of it; the methods became an engine that ran through algebraic geometry, representation theory and number theory for the next fifty years. Andrew Wiles's modularity method settled Fermat and was then pushed by others through a series of problems nobody had thought within reach, among them the Sato-Tate conjecture. Both were understood quickly, and both mattered most where they were carried. A proof becomes mathematics, as distinct from a certified fact, when it can be moved."
  },
  {
   "type": "p",
   "text": "So the proper measure of November is not whether seventeen million lines compile. They do. It is how soon a person can say, in a few pages, what the decisive idea is, and whether it survives the trip across the abelian line to the Artin L-functions, where Hooley's theorem waits. If it does, the result will be much larger than the Riemann Hypothesis. If it does not, we will have the most famous theorem in mathematics, thoroughly checked, and very little we did not already believe."
  },
  {
   "type": "p",
   "text": "Meanwhile the powers of 2, reduced modulo a large prime, go on visiting every remainder before returning to 1, for a little over 37 primes in every hundred. We have believed that since 1927 and assumed it since 1967. Whether we are now entitled to it is a question for whoever first reads the seventeen million lines closely enough to see what is in them."
  }
 ],
 "notes": [
  "Christopher Hooley, 'On Artin's conjecture', _Journal für die reine und angewandte Mathematik_ 225 (1967). The share for the base 2 is Artin's constant, about 0.3739558. Hooley assumed the generalised hypothesis for the zeta functions of the fields obtained by adjoining roots of unity and roots of 2 to the rationals.",
  "Michael Rubinstein's verification page (in Further reading) records the size of the formalisation, the axiom check, the kernel replay and the nanoda check of 21 November, and the comparator run of 26 November on the short proof, accepted by Lean's default and paranoid kernels, nanoda, lean4lean and two further kernels. The model used was not named.",
  "The weighted count is Chebyshev's function psi(x). In von Mangoldt's form, psi(x) = x minus the sum of x^rho/rho over the non-trivial zeros rho, minus log 2pi, minus half the logarithm of 1 - x^-2, for x not a prime power. The sum must be taken in order of height for it to converge.",
  "Lowell Schoenfeld, 'Sharper bounds for the Chebyshev functions theta(x) and psi(x). II', _Mathematics of Computation_ 30 (1976): on the hypothesis, the absolute difference between pi(x) and li(x) is less than the square root of x times log x, divided by 8 pi, for every x of at least 2,657.",
  "The running sum is the Mertens function M(x). Littlewood's equivalence: the hypothesis holds if and only if M(x) is O(x^(1/2+e)) for every e > 0. The stronger Mertens conjecture, with no e at all, is false (Odlyzko and te Riele, 1985).",
  "Cramér's theorem of 1920, conditional on the hypothesis. The unconditional exponent 0.525 is from Baker, Harman and Pintz, 'The difference between consecutive primes, II', _Proceedings of the London Mathematical Society_ (2001).",
  "Ankeny proved the order of magnitude, the square of log p, in 1952; Bach's paper (in Further reading) gives the constant 2. Burgess's unconditional exponent is one over four times the square root of e, about 0.1516, up to an arbitrarily small addition.",
  "Miller, 'Riemann's hypothesis and tests for primality', _Journal of Computer and System Sciences_ (1976); Bach and Sorenson (1996) bound the least prime congruent to a modulo q by twice the square of q log q under the hypothesis, against Linnik's unconditional bound with the exponent 5 found by Xylouris (2011); the best proved running time for the Agrawal-Kayal-Saxena test is the Lenstra-Pomerance variant, about the sixth power of the number of digits; Siegel's theorem is of 1935, and Littlewood had shown in 1928 what the hypothesis gives for the values of L-functions at 1 that control class numbers.",
  "Deshouillers, Effinger, te Riele and Zinoviev proved the weak Goldbach conjecture on the generalised hypothesis in 1997; Helfgott's unconditional proof appeared as a preprint in 2013.",
  "The general effective Chebotarev theorem is that of Lagarias and Odlyzko (1977). Brumer's bound on the average analytic rank of elliptic curves, conditional on the hypothesis for their L-functions, is from 1992.",
  "Rubinstein's page describes the outline of the shortened proof: its first steps reduce the hypothesis to a one-sided bound for a sum over primes inert in an imaginary quadratic field. Three central theorems of the Lean development, on which the reduction depends, are stated and outlined there but not proved in that text.",
  "Mathlib's definition is named RiemannHypothesis, in the file on the Riemann zeta function, and is discussed by Loeffler and Stoll (in Further reading). Which formal statement the five theorems use is a matter for the challenge file; the point here is the kind of reading any such statement needs.",
  "Both documents, with their versions and dates, are listed on Rubinstein's page, which calls the outline a work in progress. The guide's first version, of 21 November, ran to 164 pages."
 ],
 "furtherReading": [
  {
   "name": "Verification of the Alpöge--Claude proof of GRH",
   "by": "Michael Rubinstein, University of Waterloo",
   "note": "The plain record of what was checked, by whom, on which machines and with which kernels, together with the outline and guides as they stand -- unusually candid about which steps a reader can follow and which still rest on the formal text.",
   "url": "https://www.math.uwaterloo.ca/~mrubinst/alpoge_claude_grh/",
   "kind": "site"
  },
  {
   "name": "Problems of the Millennium: The Riemann Hypothesis",
   "by": "Enrico Bombieri",
   "note": "The official statement for the Clay Institute: a dozen pages that set out the hypothesis, its generalisations and some of its known equivalents, written by one of the people who did most to sharpen the unconditional substitutes for it.",
   "kind": "paper"
  },
  {
   "name": "Analytic Number Theory",
   "by": "Henryk Iwaniec and Emmanuel Kowalski",
   "note": "The modern reference for the whole conditional landscape -- explicit formulas, zero-density estimates, Siegel zeros, the large sieve -- and the place to see how often a chapter has to say what it assumes.",
   "kind": "book"
  },
  {
   "name": "Explicit Bounds for Primality Testing and Related Problems",
   "by": "Eric Bach",
   "note": "Mathematics of Computation, 1990. Turns the generalised hypothesis into hard constants -- twice the square of log n for Miller's test, and the like for non-residues and class groups -- which are exactly the statements a proof would make unconditional.",
   "kind": "paper"
  },
  {
   "name": "Formalizing Zeta and L-functions in Lean",
   "by": "David Loeffler and Michael Stoll",
   "note": "Annals of Formalized Mathematics, 2025. How the zeta function, Dirichlet L-functions and the statement of the hypothesis were built in Mathlib, including the conventions at the pole -- the best place to see what reading a formal statement involves.",
   "url": "https://arxiv.org/abs/2503.00959",
   "kind": "paper"
  },
  {
   "name": "On Artin's Conjecture",
   "by": "Christopher Hooley",
   "note": "The 1967 paper that counted the primes for which 2 is a primitive root, on the assumption of the generalised hypothesis for non-abelian fields; the clearest single example of a conditional theorem that a proof for Dirichlet L-functions does not release.",
   "kind": "paper"
  }
 ]
}