r/algorithms • • 15d ago

News A claimed proof of the (Generalized) Riemann Hypothesis ??!

https://alpo.ge/remark.pdf

Hi all, the guy from Anthropic claims to have a proof of GRH. Of course it's just a claim and no human has read the lean stuff etc. and it might very well be complete nonsense.

The reason why I'm posting this here is cause it's known that if GRH and VP = VNP over the complex numbers, then the Polynomial Hierarchy PH collapses and in particular P/Poly = NP/Poly. VP vs VNP is still open and we believe they're not the same.

Edit: The above was apparently true under the Quasi-RH too

The GRH also imples the Miller-Rabin primality test is determinstic (as pointed out here).

I am not sure if there are other links to complexity theory and (G)RH. Thoughts?

235 Upvotes

113 comments sorted by

27

u/Phytor_c 15d ago • Bravo

UL = NL is claimed by William Hoza while we're at it: https://eccc.weizmann.ac.il/report/2026/323/

3

u/Jhuyt 14d ago

Is this the little brother of P = NP?

13

u/Phytor_c 14d ago

no not at all, this about non-determinism but in logarithmic space.

NL = Nondeterministic Log Space

UL = Nondeterministic Log Space with at most one accepting branch

3

u/Jhuyt 14d ago

Sounds interesting but from reading up on P = NP this complexity stuff tends to hurt my brain

33

u/teerre 15d ago

It's 200k+ pages of Lean. This will take years to even be checked at all

42

u/Ok_Cabinet2947 14d ago

No, it’s even crazier than that. 17 million lines of Lean, and 200k+ pages of English.

11

u/IridiumIO 14d ago

Surely stuff like this has to be so disheartening for academics.

You’ve got a ridiculous monstrosity of a paper that claims something big, was heavily contributed to by AI, and now some poor schmucks have to decide to trawl through it all to determine if it’s valid or if it just sounds good on the surface but is riddled with hallucinations. LLMs are extremely good at sounding right even if they’re wrong.

I’m not saying this paper is false; but the barrier for generating passable garbage is only going to get lower, as more and more people can use AI to spew out ever growing piles of junk that someone has to sift through to determine its accuracy.

At least before, this would have been years’ worth of work for a human to generate even if it ended up being flawed. The time to generate the paper would be longer than the time taken to validate it. Now the timescales are reversing, and we’ll end up with giant piles of AI trash generated in hours or days, that each still require weeks or months of actual human academic time to verify. Who’s going to want to sift through that?

6

u/Opengangs 14d ago

It’s not the way we do research. If he really wants to help academia progress forward, he should break up the paper into volumes where the goal of each volume is to make meaningful contributions towards an idea. This is, in my opinion, just as bad as OpenAI dumping 700+ manuscripts all at once.

Even if correct, I just don’t see how this is meaningful or helpful in the slightest.

1

u/statisticalmean 13d ago

It’s not the way we do research.

Okay. Maybe it’s time to do research a new way.

3

u/Robot_Basilisk 14d ago

On the same day, a human proof was released that is still unfinished but seems like it's on its way to solving it.

1

u/davvblack 14d ago

ah of course, what ai stole from

2

u/Lebesgue-Point6040 14d ago

it doesn't use the same tools at all according to experts, and several consumer grade AIs can find fatal mistakes in it. what's more, the author has a history with this problem, and is not taken seriously by many.

1

u/carelet 14d ago

Use some critical thinking
If people are working on a solution for years and suddenly one pops out, it isn't strange some come out to share what they were working on and is unfinished
The human proof is likely false though, but this nonsense about humans working on proofs not being realistic is ridiculous

4

u/Salty_Cat6196 14d ago

Is this not the purpose of the Lean formalization?

As I understand it:

  • No one is seriously claiming his statement of the Riemann Hypothesis is incorrect
  • No one is seriously claiming that it abused bugs in multiple independent lean kernels to cheat

We may not comprehend the solution, but why have Lean if not for this exact scenario? I'm genuinely asking, I'm not confident I have a complete understanding of the full extent of the counterargument to the Lean proof.

1

u/TFPaulMorphy 14d ago

and now some poor schmucks have to decide to trawl through it all to determine if it’s valid or if it just sounds good on the surface but is riddled with hallucinations

That is how a lot of experimental research gets done.

10

u/lonjerpc 14d ago

Do you have to check all the lines though. I thought the whole point of lean is that you only need to check that what needed proved is correctly formalized but the actual steps are checked automatically 

3

u/pi_stuff 14d ago

But there are bugs in Lean, and AIs are very good at exploiting bugs, so there's a chance the AI fooled Lean into accepting the proof.

7

u/Bladee___Enthusiast 14d ago

It’s already been verified by several independent kernels. It’s an understatement to call it vanishingly unlikely that they all have the exact same bug

5

u/Salty_Cat6196 14d ago

I was under the impression we solved this (to a vanishingly small probability) by testing the proof against multiple independent lean kernels. Obviously they can each have their own bugs, but to find a way to exploit them all in the same proof and avoid causing any of them to choke on the input meant to trigger a different kernels bug is like half as mind boggling as Claude solving GRH.

I'm not discounting the possibility, but it's doubtful that Claude went out of its way to generate those exploits on every kernel in advance, and I really hope Alpoge didn't tell Claude to generate them either. Is it more doubtful that it actually solved GRH? Honestly, I don't know. I'm a vulnerability researcher not a mathematician, so I can only really speak on the logistics of exploiting the kernels.

Of course, if Alpoge for some reason directed Claude to validate against multiple Lean kernels it might have had reason to reward hack the outcome, but frankly giving Claude access to more than one Lean kernel is negligent.

2

u/Mysterious_Lawyer551 14d ago

I think N version programming reduces the probability of mistake to significant degree but it's still empirical. What would be better if we could get a formal proof of lean kernel itself. I think lean4lean attempts that.

2

u/kaaiian 14d ago

Yep, easy to see how many people just say shit with no understanding

1

u/assembly_wizard 13d ago

Sure, we don't have to check it manually. We know it is correct. But now what? Now we do have to read everything. Otherwise all we know is that it's true, which we already highly suspected.

4

u/That-Mind6171 14d ago

It’s not 200k pages of lean. It’s 17 million lines, which is comparatively not that bad.

5

u/QuantumHamster 15d ago

Holy mother of all that is good. No wonder humans couldn’t prove it

12

u/teerre 14d ago

Or they are countless ways it can be wrong

4

u/max123246 14d ago

The whole point of lean is that it can be automatically verified. So once it's verified, you just have to check the small section that defines the theorem you're proving and make sure that is actually the Riemann hypothesis instead of something subtly different

1

u/teerre 14d ago

The point of Lean is that given a set of assumptions you can prove those assumption hold up to whatever limits your theorem prover is allowed to

Obviously you can write completely sound Lean code that simply doesn't prove what you think its proving

4

u/max123246 14d ago

That's what I said...

1

u/Salty_Cat6196 14d ago

His lean proof used no assumptions, only axioms, and the definition the proof uses for the Riemann Hypothesis has already been confirmed. This is not like the NS proof where the formulation in the Lean implementation was more narrowly tailored than the natural language proof.

1

u/dMestra 14d ago

RH is formalized in Lean

4

u/CrowdGoesWildWoooo 14d ago

That kind of implies there are still a lot of maths that needs to be “unlocked” like in a skill tree, before reaching the destination. But now with AI we kind of can just reach that destination.

1

u/ba0lian 14d ago

Gemini sums it up perfectly:

None of the blockbuster Millennium Prize claims from 2026—including Navier–Stokes and the Riemann Hypothesis—have been peer-reviewed or officially accepted as solved by the mathematical community.

The skill tree of maths hasn't been unlocked yet.

1

u/yuwox 13d ago

Unfortunately,.things move very fast. See https://leanprover-community.github.io/blog/posts/riemann-hypothesis/

I have little doubt that this thing is true.

1

u/threeshadows 14d ago

This is an astute point. I’m in the field and never thought of it like this.

2

u/Mysterious_Lawyer551 15d ago

Is it lean or in natural language? If later then I have extreme doubt about it.

7

u/Dantzig 14d ago

Natural language

Lean is 15 million lines

1

u/Mysterious_Lawyer551 14d ago

What I understand this was translated from the formal lean proof not the other way autoformalization.

1

u/Dantzig 14d ago

Probably

It is a bit absurd that it is “easy” to find a proof but very hard to present a readable form of the proof

1

u/Mindrust 14d ago

The author said he’ll be working on compressing it over the next few weeks

1

u/Agnimandur 9d ago

“Years” so like 2 weeks?

1

u/teerre 9d ago

Please post again if a week from now there's a single person in the world who says they truly understand the proof

0

u/Time_Entertainer_319 14d ago

It’s not 200k pages of lean.

The lean has mostly been verified already.

The 200k figure was a draft of the explanation that he mentioned. It wasn’t even released

-4

u/notarealperson314 14d ago

Luckily no manual checking is needed as it's formally verified in Lean, all we need to read is a single line definition of Riemann Hypothesis which is a mirror translation from English

7

u/Vivid_Dot_6405 14d ago

The Lean compiler could have a bug and right now this has the same or greater probability as the proof being correct. Many bugs have been uncovered in the compiler and subsequently fixed.

1

u/notarealperson314 14d ago

It's ONE line in the proof, if you know what Riemann states, you understand that it's literally the same

1

u/nohajc 14d ago

Same or greater probability? How did you come up with that? It would basically mean the proof generated by AI is wrong in such a way that it just so happens to cancel out due to a random bug in the Lean compiler. I find that super unlikely.

2

u/Mkep 14d ago

The model could also abuse the bug

1

u/nohajc 14d ago

Fair, I’m assuming a non-malicious LLM.

1

u/ArcaneEyes 13d ago

That's brave.

1

u/Vivid_Dot_6405 14d ago edited 14d ago

You may be right. I came up with that based mostly on gut feeling. There have been earlier, relatively recent Lean bugs that allowed successful compilation of proofs that were not correct. So to me, it is both plausible the proof is an alien AI math proof and it is also plausible that there is either a Lean bug, an error in the formalization or similar. At this point, I really don't know enough to lean significantly in either direction. We will get more info in the coming days and weeks.

EDIT; Okay, so at this point it seems the proof compiles in several different compilers and this has been independently verified. So, I'd say the proof is probably correct, but at the moment extremely unreadable.

1

u/nohajc 14d ago

Yeah, I just read the same discussion about alternative Lean implementations all being able to compile the proof. Wild times.

1

u/yuwox 13d ago

It has been verified with different lean kernels. It checks out in all of them. It's extremely unlikely they all have the same bug.

1

u/lonjerpc 14d ago

Interesting. Compiler bugs are quite rare in other languages at least ones that break specification. But I guess Lean is not a normal programming language 

5

u/castarco 14d ago

Most compilers have bugs.

0

u/lonjerpc 14d ago

Bugs yes but not ones that break production code which this proof is roughly analogous to 

5

u/Conscious_Ad_7131 14d ago

The lean compiler is really getting put through its paces lately on account of the sheer volume of l completely novel math being done, and I’d I assume that a program that inherently relies on being 100% logically sound and provable is a lot more sensitive to compiler bugs than your average application.

2

u/Vivid_Dot_6405 14d ago

They are rare in Lean too. The number of bugs discovered in Lean's compiler are no greater than in a C compiler or JVM. But they do exist and are frequently discovered in all langs. They are usually minor and the vast majority of devs will never encounter them. The same is true for Lean. However, for a proof of GRH, the holy grail of pure math, and a proof that is 1GB of Lean code and 250,000 pages of natural language, written by an LLM that has not been manually verified, the probability of a compiler bug is just as likely.

1

u/david-1-1 11d ago

It's only 17 million lines of Lean. Other numbers are conjectures.

1

u/lonjerpc 14d ago

A compiler bug being causing a bug in a gig of rust code would be rare though I guess is my point. 

Like a more typical compiler bug would cause correct code to not compile rather than incorrectly compile code

2

u/MilkEnvironmental106 14d ago

Yeah but that's written in rust so there's no bugs

2

u/Vivid_Dot_6405 14d ago

I am not that familiar with Lean, but I know that bugs have been discovered that did result in false proofs compiling as though they were correct. Lean is a different kind of programming language, though.

It would be a better comparison to compare Lean to a software that would verify that a computer program written in a given language functions exactly as expected by the programmer, not simply that it compiles without errors.

It is also possible that there is no bug but that the problem formulation is wrong or some assumptions were added, i.e. the thing that was proven is not GRH.

1

u/max123246 14d ago

Compiler bugs aren't as rare as you'd think

1

u/lonjerpc 14d ago

I shouild had really said compiler bugs that will effect the code you are trying to run in practice. Like in 15 years as a software engineer I think I ran into a genuine compiler bug 1 and a half times in my career. Like sure there are bugs on the bug tracker but thats not my point.

1

u/TFPaulMorphy 14d ago

It doesn't matter how rare they are. People just want to sow a little doubt in AI.

1

u/Melodic-Clue9555 14d ago

This has already been checked with a completely separate Rust based implementation of Lean and it also checks out

2

u/castarco 14d ago

Except that there's nothing guaranteeing that what has been proved in LEAN really matches what is said in natural language. Somehow, it still has to be thoroughly checked.

3

u/notarealperson314 14d ago

It's ONE line in the proof, if you know what Riemann states, you understand that it's literally the same

1

u/castarco 14d ago

The match is trivial only for that part, for what is being proved... but not for most of the intermediate steps necessary to prove the Riemann Hypothesis.

In fact, there have been instances already of this kind of mismatches in other AI-driven proofs.

0

u/notarealperson314 14d ago

But that's the point of a formally verified proof: that you don't need to understand every step, just the statement and the axioms and the inference rules

0

u/[deleted] 14d ago

[deleted] — view deleted comment

2

u/Salty_Cat6196 14d ago edited 14d ago

There might be a bug in Lean kernel "A" that allows 0.5 + 0.5 = 2 but this proof has been verified under multiple independently implemented Lean kernels. To find bugs for each that ALSO don't cause the others to choke is, well, about as likely as solving GRH*, so who fucking knows but it's not quite so simple as you make it sound.

*unless using nested inductive types...

2

u/nedteel 14d ago

yes, it is guaranteed. the statement of GRH has been in Lean for years. you cannot compile a proof for a statement that violates the statement.

1

u/entronid 14d ago

you can, by exploiting lean kernel bugs which has been done before by llms unprompted to

1

u/nedteel 14d ago

if you don't know how any of this works just don't say anything

1

u/Reasonable_Tip_5659 14d ago

you only need to verify the opening statement is equivalent.

1

u/Friendly_Software614 14d ago

That means nothing, the model could have formalized a different statement, there is nothing that can force a model to ac to ally formally 1-1 what the written proof says

36

u/sonicfood 14d ago

That paper reads like AI psychosis. “Claude flew and danced towards the finish line”. Give me a break

18

u/sdand1 14d ago

I’m not sure someone who wasn’t going through a little AI psychosis would be able to create this proof in all fairness haha

11

u/JarPicklez 14d ago

Proof is a proof even if it was created by a crazy person

6

u/Throwaway-Pot 14d ago

It was created by Claude

12

u/JarPicklez 14d ago

Prompted by a crazy person

6

u/01Metro 14d ago

The guy who made this is a renowned mathematician who produced more proofs before, not just some crazy person. Lol.

4

u/JarPicklez 14d ago

Lots a smart guys are crazy

1

u/wwplkyih 14d ago

Then what about abc?

2

u/Unfair-Claim-2327 14d ago

It would be a proof if it was a proof

3

u/im_not_afraid 14d ago

A proof is a proof. What kind of a proof? It's a proof. A proof is a proof. And when you have a good proof, it's because it's proven

3

u/Phytor_c 13d ago

Chrétien mention 🫡

2

u/im_not_afraid 13d ago

salut 🫡

Poignée de main shawiniganaise

1

u/david-1-1 11d ago edited 11d ago

A proof containing an error is invalid. We have no way of knowing if this much Lean code is as reliable as the much smaller proofs that humans have generated with Lean. Lean could have a bug that didn't show up in smaller proofs, like a buffer overflow. I assume that there is no proof that any Lean compiler is rigorously correct regardless of proof length.

10

u/RobbinDeBank 14d ago

Whatever you feel about his writings (yea it’s cringe), he still published legit results like the Jacobian conjecture and Euler blowup. Those results don’t give a f about your feelings.

2

u/TFPaulMorphy 14d ago

The future math geniuses are likely to be AI nuts.

1

u/Spare-Distance2415 13d ago

I don’t think it’s AI psychosis if you actually solved the fucking Riemann Hypothesis using ai

1

u/sonicfood 13d ago

The anthropomorphism of AI in his paper is indicative of AI psychosis, not the usage of AI as a tool.

1

u/Neither_Swing9662 13d ago

Don't care if he has AI psychosis if he proved RH lol

2

u/sonicfood 13d ago

You should care. These are the people with unfettered access to the top models with unlimited token budgets. They will help decide how AI is used for research and discovery going forward. Having someone who is sane and of sound mind who wields this type of power is important. 

0

u/[deleted] 12d ago

[removed] — view removed comment

0

u/Substantial_Luck_273 14d ago

I love his writing.