Naru News日本語

Home › Glossary › Math

What is the Generalized Riemann Hypothesis (GRH, the Riemann Hypothesis extended to L-functions)?

Also called: Extended Riemann Hypothesis, ERH

Term explainer · Checked November 26, 2026 · 15 min read

In one minute

The Generalized Riemann Hypothesis takes the claim of the Riemann Hypothesis, “all nontrivial zeros of the zeta function (the places where its value is 0) lie on the line with real part 1/2”, and extends it to every Dirichlet L-function, a relative of the zeta function.

An L-function multiplies each term of the zeta function’s sum 1 + 1/2^s + 1/3^s + … by a weight set by the remainder when the whole number is divided by a fixed number (dividing by 4: remainder 1 gets +1, remainder 3 gets −1, even numbers get 0). If the hypothesis is true, then when the primes up to x are sorted into groups by remainder, every group’s count strays from its estimate by only about the square root of x, so the primes are spread out regularly.

The Riemann Hypothesis is just one case of it, so proving the Riemann Hypothesis alone does not settle the generalized version. On November 20, 2026, a proof in Lean (software in which a machine checks whether a proof is correct) claiming both was released; as of November 26, the Lean groups have certified only the Riemann Hypothesis part.

A common mix-up

“If the Riemann Hypothesis is proved, the Generalized Riemann Hypothesis follows automatically”

It is the other way round. The Generalized Riemann Hypothesis is a stronger claim that contains the Riemann Hypothesis as one case. The zeta function is the simplest L-function, the one with every weight equal to 1, so proving the generalized version would prove the Riemann Hypothesis too. But proving the Riemann Hypothesis does not, by itself, settle where the zeros of the infinitely many other L-functions lie, such as those built from remainders after dividing by 4 or by 10. In the November 2026 announcements, too, the groups behind Lean and Mathlib certified the statement and proof of the Riemann Hypothesis part only, and their statement does not mention the generalized version. The author wrote that the same method extends easily to the generalized version, and his Lean proof also contains theorems for it, but that part has to be checked separately.

Explained in pictures

A figure comparing how the zeta function and a Dirichlet L-function are built. Title: “The zeta function and its relatives, L-functions”, with “Multiply each term by a ‘weight’ set by a remainder, then add” below. In the left panel, the top row shows whole numbers n from 1 to 8. Row 1, “Zeta function (All weights are 1)”: eight squares, all navy-outlined “1”, with “Sum 1 + 1/2^s + 1/3^s + 1/4^s + …” below. Row 2, “L-function using remainders ÷ 4”: n = 1 and 5 are orange squares “+1”, n = 3 and 7 are navy squares with white “−1”, and n = 2, 4, 6 and 8 are gray dotted squares “0”, with “Sum 1 − 1/3^s + 1/5^s − 1/7^s + …” below. Underneath: “Remainder 1 → +1, Remainder 3 → −1, Even → 0” and “15 = 3 × 5, and the weights too: −1 = (−1) × (+1)”. Right panel: a navy tag “Riemann Hypothesis” with “Zeta function: all its nontrivial zeros lie on the real-part-1/2 line”, an orange downward arrow “Extend”, and an orange tag “Generalized RH” with “Every Dirichlet L-function: nontrivial zeros on the same line”. Band at the bottom: the Riemann Hypothesis is the all-weights-1 case, just one of them.
This figure compares how the zeta function and its relative, a Dirichlet L-function, are built. The zeta function adds 1 ÷ (n to the power s) for every whole number n = 1, 2, 3, … with the same weight, 1 (top row). The L-function for remainders after dividing by 4 multiplies numbers with remainder 1 (1, 5, …) by +1, numbers with remainder 3 (3, 7, …) by −1 and even numbers by 0, then adds, giving 1 − 1/3^s + 1/5^s − … (bottom row). The weights are chosen to fit multiplication, as in 15 = 3 × 5 and −1 = (−1) × (+1), which is why the function can also be rewritten as a product over primes. The Riemann Hypothesis is about the zeros of the zeta function; extending the same claim to every Dirichlet L-function gives the Generalized Riemann Hypothesis (right panel). The zeta function is the all-weights-1 case, so the Riemann Hypothesis is one case of the generalized one.
A figure drawing, side by side, the zeros in the strip for the zeta function and for the L-function of remainders after dividing by 4. Title: “Zeros at different heights, but on the same line”, with “Zeros in the strip (real part 0 to 1), up to height (imaginary part) 26; upper half only” below. Left panel, “Zeta function”: across is the real part (0, 1/2, 1), up is the height (10, 20). Down the middle of a pale navy strip, at real part 1/2, runs a navy dotted vertical line. On it are three navy circles at heights “14.13…”, “21.02…” and “25.01…”. Below: “3 zeros up to height 26 (●)”. Middle panel, “L-function for ÷ 4” (the L-function of remainders after dividing by 4): on the same axes and dotted line are eight orange squares; the lowest three are labeled “6.02…”, “10.24…” and “12.98…”. Below: “8 zeros up to height 26 (■)”. Right panel: an orange tag “Generalized RH” with “Every Dirichlet L-function: its zeros in the strip all lie on the 1/2 line”; “As far as computers have checked, no zero off the line has been found”; “A zero right of the line would make the prime-count gaps grow larger than √x”. At the bottom, a legend: circle “Zeta function”, square “L-function”.
This figure draws the zeros in the strip (real part 0 to 1) of two functions, up to height 26. The zeta function (left, circles) has three, at heights 14.13…, 21.02… and 25.01…. The L-function for remainders after dividing by 4 (middle, squares) has eight, starting at 6.02…, 10.24… and 12.98…, so both the heights and the number differ. Even so, all of them lie on the dotted line with real part 1/2. The Generalized Riemann Hypothesis says that for every Dirichlet L-function, the zeros in the strip lie on this line. As far as computers have checked, no zero off the line has been found. If even one zero lay to the right of the line, the gap in the count of primes split by remainder would grow larger than the square root of x.
A figure splitting primes into four groups by last digit. Title: “Primes split into 4 groups by last digit”, with “Apart from 2 and 5, every prime ends in 1, 3, 7 or 9” below. Top panel, “Primes up to 100 (except 2 and 5)”: navy tag “Ends in 1” with 11, 31, 41, 61, 71 and a bar “5”; “Ends in 3” with 3, 13, 23, 43, 53, 73, 83 and “7”; “Ends in 7” with 7, 17, 37, 47, 67, 97 and “6”; “Ends in 9” with 19, 29, 59, 79, 89 and “5”. Bottom table, columns “Up to x”, “Ends in 1”, “Ends in 3”, “Ends in 7”, “Ends in 9”, “Estimate Li(x) ÷ 4” (orange) and “√x”. Row x = 100: 5, 7, 6, 5, about 7.5, 10. Row 10,000: 306, 310, 308, 303, about 312, 100. Row 1 million: 19,617, 19,665, 19,621, 19,593, about 19,657, 1,000. Band at the bottom: if it holds, each group stays within about √x of the estimate.
This figure splits the primes other than 2 and 5 into four groups by last digit (1, 3, 7, 9). Up to 100, the counts are uneven, 5, 7, 6 and 5, but counting up to a million gives 19,617, 19,665, 19,621 and 19,593, almost a quarter each. That every group gets the same share in the long run has been proved without any hypothesis. What the Generalized Riemann Hypothesis speaks to is the size of the gap. If it is true, each group’s count strays from Li(x) (a smooth formula that estimates the number of primes up to x) divided by 4, about 19,657 for a million, by only about the square root of x (more exactly, the square root times log x). Up to a million, every group is within 64 of it, far less than the square root, 1,000.
A figure drawing the rings of generalization as nested frames from inside to outside, and showing where the two November 2026 announcements aim. Title: “How far is the hypothesis extended?”, with “Each outer ring is a stronger claim that includes all the inner ones” below. Outermost, a gray dotted frame: “All L-functions, even broader (automorphic, etc.)”. Inside it, a navy frame: “Number-field zeta functions, Hecke L-functions (number systems extended with √−1 and the like)”. Inside that, a thick orange frame: “Dirichlet L-functions (Weights set by remainders)”, containing a navy box “Zeta function (Riemann Hypothesis)” and “Remainders ÷ 4”, “Remainders ÷ 10”, “… infinitely many”. Near the bottom of this frame: “A claim about this whole ring is this page’s ‘Generalized Riemann Hypothesis’”. Upper right, a navy card “Alpöge with Claude”: “Nov. 20: Lean proof released”; “RH (innermost) → Lean groups certified it”; “Generalized (Dirichlet ring) → Mathematicians’ checks pass so far; not yet certified”. A navy line runs from this card to the right edge of the orange frame. Lower right, an orange dotted card “Masullo (all human)”: “Nov. 20: draft proof released”; “Aims at the Hecke ring”; “Problems found with AI help; not accepted so far”. An orange dotted line runs from this card to the right edge of the navy frame. At the bottom: “(As of Nov. 26, 2026. Names differ by source; some swap inner and outer)”.
This figure draws, as nested frames, how far a hypothesis of the same form as the Riemann Hypothesis can be extended. Innermost is the zeta function (the Riemann Hypothesis); around it, all Dirichlet L-functions (this page’s Generalized Riemann Hypothesis); further out, the zeta functions of number fields (number systems extended with √−1 and the like) and Hecke L-functions; outermost, all L-functions of a wider kind. The farther out, the stronger the claim. Alpöge’s Lean proof of November 20, 2026 contains theorems for the inner two rings. On November 21, the Lean groups certified the statement and proof for the innermost ring; for the Dirichlet ring, as of November 26, the proof has passed several mathematicians’ machine checks but has not been certified by the groups. Masullo’s attempt, released on November 20, aims at the ring of Hecke L-functions, but problems have been pointed out and it has not been accepted.

You’re free to use these figures in lessons, slides and posts if you credit Naru News (naru.news). CC BY 4.0.

Think of it like this

Customers lining up at four checkout counters

Imagine a shop with four checkout counters. Even if the total number of customers in a day matches the estimate, they might all have crowded into one counter while the others stood empty. The Riemann Hypothesis says the total number of customers (the number of primes up to x) is very close to the estimate. The Generalized Riemann Hypothesis goes further and says that the number at each counter strays from a quarter of the total by only about the square root of x.

For primes, the counters are the last digits 1, 3, 7 and 9. The 78,498 primes up to a million line up as 19,617, 19,665, 19,621 and 19,593, almost the same number at each counter. The counters for last digits 0, 2, 4, 5, 6 and 8 are closed: nobody comes except 2 and 5. The hypothesis says that however many counters you set up (whatever number you divide by), the count at every open counter strays by only about the square root.

But the analogy breaks down in places. Customers choose on a whim, but the primes are fixed from the start and are not random. Also, when you split by the remainder after dividing by 4, the remainder-3 counter usually has slightly more customers, a quirk of its own (the size of the gap stays within what the hypothesis allows).

Key points

What is an L-function, and how is it different from the zeta function?

The zeta function adds up “1 ÷ (n to the power s)” for every whole number n, as in 1 + 1/2^s + 1/3^s + 1/4^s + …. A Dirichlet L-function first multiplies each of these terms by a “weight” set by the remainder when n is divided by a fixed number q, and then adds them up. In the simplest example with q = 4, numbers with remainder 1 (1, 5, 9, …) get +1, numbers with remainder 3 (3, 7, 11, …) get −1, and even numbers get 0, giving 1 − 1/3^s + 1/5^s − 1/7^s + ….

The weights are chosen so that the weight of a product of two numbers is the product of their weights (15 = 3 × 5, and −1 = (−1) × (+1)). Thanks to this, an L-function, like the zeta function, can be rewritten as a product over the primes alone (an Euler product). In the q = 4 example, primes with remainder 1 and primes with remainder 3 enter with opposite signs. In this way, an L-function becomes a tool for counting primes separately by their remainder.

These functions were introduced by Dirichlet, who used them in 1837 to prove that an arithmetic progression a, a + q, a + 2q, … contains infinitely many primes as long as a and q have no common factor other than 1. For example, there are infinitely many primes ending in each of 1, 3, 7 and 9. This was some twenty years before Riemann took up the zeta function in earnest as a function of a complex variable.

Setting every weight to 1 (q = 1) gives the zeta function itself. As with the zeta function, complex numbers are also put in for s in an L-function. A complex number is written like 3 + 2i, using a number i whose square is −1, and it can be shown as a point on a plane: across is the ordinary-number part (the real part), and up is how many times i (the imaginary part, also called the height). A value of s where the L-function is 0 is called a zero. Dirichlet L-functions can also be extended smoothly over this plane, and they have zeros in the strip where the real part is between 0 and 1. The Generalized Riemann Hypothesis says that every zero in that strip lies on the vertical line with real part 1/2; it is said to have been first stated by Piltz in 1884.

If the Generalized Riemann Hypothesis is true, what would we learn?

The main pillar is how primes are spread out within arithmetic progressions. For example, apart from 2 and 5, every prime ends in 1, 3, 7 or 9. Split the 78,498 primes up to a million by last digit and you get 19,617, 19,665, 19,621 and 19,593, almost a quarter each. For a fixed number q, it has been proved without any hypothesis that the primes eventually fall in equal shares into every remainder group that has no common factor with q other than 1 (the prime number theorem for arithmetic progressions).

What the Generalized Riemann Hypothesis adds is the size of the gap. If it is true, the number of primes up to x in any group strays from the smooth estimate (Li(x) divided by the number of groups) by only about the square root of x (more exactly, the square root times log x). What the Riemann Hypothesis says for all primes together could then be said for each group. What is more, this bound on the gap works in the same form however large the divisor q is. Without the hypothesis, the bound on the gap that has been proved is much larger than the square root of x, and how it changes with q is unclear.

Many results have also been derived by assuming the hypothesis. For example, in 1975 Miller showed that, if the hypothesis is true, a fixed procedure that does not rely on luck can quickly check whether a number is prime. Rabin then turned it into a method that needs no hypothesis but uses luck (random numbers), and in 2002 Agrawal, Kayal and Saxena found a fast method that needs neither the hypothesis nor luck (the paper appeared in 2004). Results first obtained by assuming the hypothesis are often shown later without it, and this is counted as one piece of support for believing the hypothesis.

Is it true that primes leaving remainder 3 after dividing by 4 are a little more common?

Yes. Among the primes up to 100, those leaving remainder 1 when divided by 4 (5, 13, 17, …) number 11, and those leaving remainder 3 (3, 7, 11, …) number 13. Up to a million, there are 39,175 with remainder 1 and 39,322 with remainder 3, so the remainder-3 group is still slightly larger. Counting upward from the smallest primes, the remainder-3 group is ahead almost everywhere, and the remainder-1 group first pulls ahead only when you have counted up to 26,861. This is called Chebyshev’s bias.

This does not contradict the Generalized Riemann Hypothesis. The gap of 147 up to a million is smaller than 1,000, the square root of a million, so it stays within the “gap of about the square root” the hypothesis speaks of. The bias has to do with the fact that when primes are counted through an L-function, squares of primes (9, 25, 49, …) and the like are counted along with them. The square of any odd number leaves remainder 1 when divided by 4, so in the L-function’s count, the squares such as 9 and 25 show up as a bonus added to the remainder-1 group. Take that bonus away and count only the primes, and the remainder-1 group tends to come out a little short.

Why are there several names, such as the “Extended Riemann Hypothesis”?

Because a hypothesis of the same form as the Riemann Hypothesis comes in several rings, depending on how far through the family of functions it is extended: to Dirichlet L-functions; further, to the zeta functions of number fields (number systems made by adding numbers like √−1 to the ordinary rational numbers) and Hecke L-functions; and further still, to all L-functions of a wider kind. The farther out the ring, the stronger the claim.

The names differ from source to source. The pages of the mathematicians who checked the November 2026 Lean proof, and Japanese research notes, call the Dirichlet ring the “Generalized Riemann Hypothesis (GRH)”. Alpöge, who made the announcement, says the Generalized Riemann Hypothesis is resolved and expects the “Extended Riemann Hypothesis (ERH)” to follow with more time, so for him the extended one is a further ring. On the other hand, Noam Elkies’s course notes at Harvard call the Dirichlet ring the “Extended Riemann Hypothesis” and the version that also covers the zeta functions of number fields and more the “Generalized Riemann Hypothesis”, the other way round. In the story of Miller’s primality test, too, the 2004 paper by Agrawal and his colleagues calls the assumption the “Extended Riemann Hypothesis”. To be sure which ring is meant, check which functions the hypothesis is about, not its name.

Some questions need an outer ring. When 1/p is written as a decimal, some primes repeat every p − 1 digits, as in 1/7 = 0.142857142857… (7, 17, 19, 23, 29, …). Are there infinitely many such primes? Gauss studied such decimals in his 1801 book, and Artin turned the question into a conjecture in 1927. In 1967, Hooley showed that if the Riemann Hypothesis holds for the zeta functions of certain number fields (an outer ring), then there are infinitely many such primes and a formula for counting them holds.

Has it been proved? (the November 2026 announcements)

On November 20, 2026, Levent Alpöge, a mathematician working at the AI company Anthropic, posted a note on his website saying he believes that, working with the AI Claude, he has found a proof of the Riemann Hypothesis. It says the method easily extends much further, resolving the Generalized Riemann Hypothesis too (this is his own claim). What he released is only a proof in Lean (software in which a machine checks proofs), about 17 million lines long; besides the Riemann Hypothesis, it contains a theorem that for every Dirichlet L-function, the zeros in the strip lie on the line with real part 1/2.

The next day, November 21, the two groups behind Lean and its shared library of mathematics, Mathlib (the Lean FRO and the Mathlib Initiative), certified that both the statement and the proof of the Riemann Hypothesis are correct. They also used tools to confirm that the statement proved is the same as Mathlib’s statement of the Riemann Hypothesis, which experts had checked. This statement, however, does not mention the Generalized Riemann Hypothesis.

For the generalized part, several mathematicians have rebuilt the proof themselves, checked it and published the results. The checks so far have passed: for example, the theorems including the generalized part depend only on Lean’s three standard axioms, and independently built checking tools accept them too (in a record updated on November 24, some checks were still running). The statement of the generalized part sits in a short file released with the proof, and it is not something the Lean groups have certified. What was checked goes up to the Dirichlet ring; the zeta functions of number fields, Hecke L-functions and the like are not included. As for an explanation that lets people read and understand why it is true, what has appeared so far is an unfinished guide limited to the zeta function.

On the same day, November 20, the mathematician Ravi Vakil hurriedly announced on his blog a proposed proof of the Generalized Riemann Hypothesis written by Alessandro Maria Masullo entirely by hand, without AI. The mathematician Brian Conrad had been looking at it for months, and it had looked good to him so far. Masullo’s attempt aims at the ring of Hecke L-functions. About eight hours later, however, Vakil added that several people had told him of problems in the proof, found with the help of various AI models, and said the proof would not be accepted as true until all the issues were resolved to the satisfaction of the community. Masullo himself says the manuscript was never meant to be seen by the public in its current form and will be revised over the coming months.

For both, publication in a refereed journal or similar and broad acceptance by mathematicians are still ahead (as of November 26).

Check yourself

  1. Q1The “Riemann Hypothesis”, dating from 1859, says the zeros of the zeta function lie on one straight line, the one with real part 1/2. How does the “Generalized Riemann Hypothesis” extend it?

    Answer and explanation

    Answer: B It says L-functions’ zeros lie on the same 1/2 line

    The Generalized Riemann Hypothesis extends the claim of the Riemann Hypothesis to every Dirichlet L-function, built with weights set by the remainders of whole numbers: for each of them, every zero in the strip lies on the line with real part 1/2. The line stays at real part 1/2, and the claim is that all the zeros are on the line, not just that most are near it.

    More on this → Key points: What is an L-function, and how is it different from the zeta function?

  2. Q2Split the primes up to a million by last digit (1, 3, 7, 9) and you get 19,617, 19,665, 19,621 and 19,593. If the Generalized Riemann Hypothesis is true, what can be said when counting the primes up to a much larger x?

    Answer and explanation

    Answer: C Each group’s gap stays about the size of the square root of x

    If the hypothesis is true, the count in each group strays from the smooth estimate Li(x) divided by 4 by only about the square root of x (more exactly, the square root times log x). Up to a million, a quarter of the estimate is about 19,657, and every group is within 64 of it. What the hypothesis says is that the gap is held to about the size of the square root; it does not say the gap shrinks toward zero or stays inside some fixed number forever. The gap can grow with x, but its growth is held to about the pace of the square root.

    More on this → Key points: If the Generalized Riemann Hypothesis is true, what would we learn?

  3. Q3On November 21, 2026, the groups behind Lean and Mathlib certified both the statement and the proof of a Riemann Hypothesis proof said to have been found with the AI Claude. Which is true of how the Generalized Riemann Hypothesis and the Riemann Hypothesis are related?

    Answer and explanation

    Answer: A The generalized one contains the Riemann Hypothesis as one case

    The zeta function is the L-function with every weight equal to 1, so the Riemann Hypothesis is one case of the Generalized Riemann Hypothesis. Proving the generalized version would also prove the Riemann Hypothesis, but proving the Riemann Hypothesis does not settle where the zeros of the infinitely many other L-functions lie. So a proof of the Riemann Hypothesis alone does not solve the generalized version. If the generalized version were one case within the Riemann Hypothesis, or a restatement of it in other words, proving the Riemann Hypothesis alone would have solved it too.

    More on this → In one minute

Sources and how we checked

AI wrote this page from the sources above, and a different AI checked it against the text of those sources (November 26, 2026). A person with a master’s degree in science and a Japanese high-school science teaching license also read and checked it before publishing. Numbers are as of that date. If anything was hard to follow, you spot a mistake, or there’s a term you’d like explained, please write to [email protected].

Glossary

All 10 Math terms →