logoalt Hacker News

jychang • last Saturday at 11:11 PM • 5 replies • view on HN

Correct.

They don't use some random definition of RiemannHypothesis, they use the version here: https://leanprover-community.github.io/mathlib4_docs/Mathlib...

Note that this definition is years old. It's very well vetted. It's not a case of "the proof works, it just doesn't actually prove what you think it proves".

If you read the blog post, it says they added a "Challenge.lean" file. What that means is that instead of taking for granted the proof is trying to prove Riemann, they added a small file which reads RiemannHypothesis from the Mathlib library mentioned above, and forces the proof to match that.

They also mention running comparator, which is important because it checks for all the ways a proof might mathematically "cheat". For example, if you are trying to prove 1+2=5, and you redefine 2 as 4, then your bad proof would actually compile in Lean at first, but then comparator checks would discover all the tricks like that and declare the proof invalid.

Additionally, they mention compiling the proof with different Lean kernels, not just the mainline one. This rules out a way a proof This means the proof cannot just take advantage of a bug in the mainline Lean kernel. Importantly, they mention compiling the proof with con-leche, which uses a kernel that has been mathematically verified. Using con-leche is a lot slower, but the fact that the proof works on multiple kernels including con-leche means that it's not taking advantage of some bug in Lean.

At this point, I would say the proof is almost certainly true. The only obvious way it could be false is if ZFC itself is inconsistent or something wild like that, and the proof took advantage of it. But if ZFC is inconsistent, all of mathematics is in trouble.


Replies

intuitionist • yesterday at 2:01 AM

Isn’t Lean stronger than ZFC? I thought you could prove Con(ZFC) within Lean. So it’s possible that the formal system encoded by Lean is inconsistent but ZFC is not. (I don’t consider this that likely, though.)

➕ show 2 replies
meowface • yesterday at 11:30 AM

I wonder if in N years, when we (might) have crazy ASIs that make Fable 5.2 look like a nematode, maybe we'll see things like this as completely trivial and banal.

A machine intelligence might devise something as (seemingly) difficult as the Riemann hypothesis, but checking if what it posits is correct might be like a fast test command in a git repo, and so it can keep iterating on many ideas without being bottlenecked by waiting centuries or, perhaps even hours, to know if the ideas are true.

But then one could even imagine they'll one day be so powerful they could do this and more without ever using a formal system. They will just naturally be that comprehensive and rigorous internally, with something like Lean making them 100% instead of 99.99..% confident.

And eventually this would extend to almost everything, besides maybe biology where it may only be able to compress a human century into a day rather than into a second.

➕ show 2 replies
hazenut • yesterday at 5:09 AM

why is the verification is so fast this time while last time (a few weeks ago? and I can't remember name of that theorem) it took a few weeks and they finally found an error in Claude's proof?

➕ show 3 replies
cyanite • last Saturday at 11:55 PM

If ZFC is inconsistent, every well-formed closed formula is s theorem, and thus has a proof.

➕ show 1 reply
xeonmc • last Saturday at 11:41 PM

Given such a massive proof, is there any possibility of accidental tautology inadvertently hiding inside the mess to the effect of "Assume A is true. A million lines later: therefore A is true"?

➕ show 3 replies