What is the Riemann Hypothesis and why does it matter? (Apparently AI found a proof)

I don’t know anything about math, but today I heard that some AI mathematicians have a proof of a famous hypothesis: Anthropic employee claims general proof of the Riemann Hypothesis [pdf] | Hacker News

What does that hypothesis mean, in layman’s terms? Is there any practical advantage to it now having a proof? Does it change the way anything works, or make things more efficient?

I don’t mean in the sense of “is pure research worth it”, but more like why were mathematicians interested in this problem to begin with?

I’ll try as another math-interested layman, without linking to external content or even using the formula editor.

You know that the central problem of number theory can be phrased as: “How many prime numbers are there below a given number x, as a function of x”, right? If you picture this as an exact function, it will be rather jumpy as it stays constant while moving over composite numbers and then jumps up by one as it encounters a prime. But you don’t want a jumpy function, you want something continuous that you can do any real math with.

Continuous functions approximating the prime number function were found over the years. But how smooth exactly will the approximation be?

Riemann found out that, if his zeta-function does not have any “rogue” zeros, the approximation will be “quite smooth” and the math that is based on it will tell us a lot about the distribution of primes.

For example, the Generalized Riemann Hypothesis, which Alpöge also claims, implies the Goldbach conjecture.

All these implied results were, for what I can tell, very strong conjectures assumed to be true, and the definitive proof will not have many practical consequences. But you know that nagging feeling that it could still be wrong …

Scientific American article:

Alpöge says his proof confirms the “Generalized Riemann Hypothesis,” a gargantuan expansion on Riemann’s initial guess that undergirds the entire mathematical universe with untold hidden structure. There is no superlative strong enough for how this would transform mathematics, instantly unlocking a deluge of truths contingent upon the ambitious conjecture.

“If the proof is correct and understood, this completes a dictionary between different branches of math where the connections were only partial,” says Hector Pasten, a mathematician at the Pontifical Catholic University of Chile. “Something like a Rosetta Stone.”

Far more important that the proof of Fermat’s Theorem, I believe.

If true, this would be the most important mathematics result in the last 100 years. A vast number of proofs of other theorems rely on the assumption that the RH is true. This result would automatically ground all those proofs. The SciAm article says that Alpöge has coded the proof in the Lean language, which makes it much more likely to be correct than if it were just written in a natural language. I’m rather gobsmacked by this. I never expected to see a proof of RH in my lifetime.

I’m with @Reply. A layman’s curiosity as to what practical effect this might produce.

It is not some obscure theorem with no consequences. Besides direct number-theoretic consequences, there are some genuinely new mathematical ideas necessary to (correctly) prove such a statement. In fact, generally speaking, you could say this very problem has inspired a lot of analytic number theory in the first place.

You can download and compile the Lean project yourself. I did. Note that a Lean file is written for computer checking, not necessarily for human consumption like an academic paper.

On the paywalled Wall Street Journal post please note:

On his website, Alpöge posted the proof in Lean, a programming language that allows computers to verify it, line by line, and mathematicians immediately got to work trying to wrap their minds around the argument. He said the full argument is both “incredibly long” and “some massive unreadable travesty of ‘slop,’ ” with the AI-written version clocking in at more than 250,000 pages.

non-paywalled repost at:

There are serious questions as to how much this kind of thing really advances mathematics. A mathematical proof can be technically correct yet practically almost useless if nobody can understand what it is doing.

If only there were some kind of profession of people trained to read and understand mathematical proofs and techniques as well as produce them. Some of them might even specialize in number theory.

I read the Scientific American article, and my first reaction is, mathematicians could really stand to improve their ability to communicate with laymen.

I have not read that article, but does it fail to at least define the Riemann zeta function? I see nobody in this thread has explicitly mentioned it:

\zeta(a) = 1 + \frac{1}{2^a} + \frac{1}{3^a} + \frac{1}{4^a} + \cdots

and then you can see it has to do with prime numbers by checking that, for instance

\zeta(a) = \prod_p \left(1-\frac{1}{p^a}\right)^{-1}

where p ranges over the prime numbers

You can warm up by proving there are infinitely many primes, then try to prove there are infinitely many primes of the form a+bn if a and b have no common factors, to see that this kind of stuff is useful and not just nonsense.

Practical meaning what? That we can now build an interstellar starship? That we can make a better doughnut? Number theory doesn’t directly lend itself very well to practical effects, although it underpins some real world sciences like cryptography and crystallography. It’s enough that it’s a towering intellectual achievement.

Even laymen like us should appreciate it whether we understand it or not. Heck, I’ve read entire books on the Riemann Hypothesis and I still don’t understand even the basics.

Indeed. Not trying to downplay it, just trying to understand maybe 1% of it so I can join in the celebration (and mourning).

Right now I feel like that scene in Arrival when the humans meet the alien squid gods and they squirt their magic time travel ink at us and we just stare blankly.

An alien intelligence has discovered something profound, but my primate brain hasn’t the faintest idea what it means.

Datacamp has a helpful article on the current claims, and there’s additional useful background in their article from August about Claude’s first attempt at the Riemann hypothesis.

Thanks! That’s the most readable explanation so far.

If I’m understanding that right, that means there’s some secret, cyclical pattern to all prime numbers…? I don’t know what “interesting zeroes lie on a vertical line in the complex plane” means though.

Sheesh, calm down. I admire the intellectual achievement, as much as a layman can, but wondered what practical applications this might support. Sorry if that offended you.

Apparently a second group (really, one guy) has also dropped a DIFFERENT proof (and what looks like a much more elegant one - 900 pages vs. 250000 pages) for the generalized Riemann hypothesis. A 100% human, no AI proof. Been in the works for over a year but in light of today’s events they put it out. What a day.

One important point here is that the Lean proof-checking software is not AI (as that term is currently understood). It’s all conventional, well-understood algorithms, and if there’s a mistake in it, it’s been missed by legions of programmers and mathematicians. If Lean says that the proof is valid, then we can trust that (at least, to the extent that we can trust anything in mathematics).

But “valid” is not necessarily the same thing as “interesting”, and a 250,000-page proof is almost certainly not interesting in its own right. It’s good that we know that the RH is true, but the process of figuring that out isn’t very elucidating.

Indeed, one criticism of the AI proof is that it was probably using the work of those humans as one input. They hadn’t yet completely finalized it before the AI did, but they probably had most of it.

I don’t know what part of that you don’t understand, so I’ll explain the pieces.

A complex number is a number of the form x+yi where x and y are real numbers and i is \sqrt{-1}. The complex plane is a picture of all complex numbers, similar to the Cartesian plane, where each complex number x+yi is mapped to a point x units to the right of the origin and y units above it.

The Reimann zeta function \zeta(z) is a complex function, which means its input z and its output \zeta(z) are both complex numbers, so it maps each complex number (ie. each point in the complex plane) to another complex number. For some complex numbers z, the value of \zeta(z) is exactly zero (ie. 0+0i). Such values z are called the “zeros of the zeta function”.

It turns out that all negative even integers are zeros of zeta; these are not very interesting and are called the “trivial” zeros. All other values of z that make \zeta(z) = 0 are the nontrivial (or “interesting”) zeros. The Reimann Hypothesis states that all such nontrivial zeros have a real part equal to \frac{1}{2}; that is, they are all of the form \frac{1}{2} + yi for some real number y. If you plot these values on the complex plane, since they all have a real value of \frac{1}{2}, they all lie the same distance to the right of the origin, so they all lie on one vertical line, the vertical line passing through \frac{1}{2}.

From my understanding, LEAN only demonstrates that the proof is mathematically consistent, not that its true. Is that correct? I’m not a mathematician, just trying to understand all this at a basic level.

A Lean proof, like any proof, shows that a statement can be derived from a given set of axioms using a given set of rules of inference. If you accept the axioms as true and the rules of inference as valid, then any statement derivable in that way is a “theorem” and therefore is true. Or at least it’s as true as the axioms are. There’s a lot of heavy philosophical lifting behind what exactly “true” means here, but naively, yes, any valid proof (in Lean or otherwise) shows that the proven theorem is true.