News for hackers. Stuff that matters.
Re:Lean Verification of the Riemann Hypothesis by tmnvdb on Saturday November 21, 2026 @11:01AM (#50590539)
For the other readers: the above are the random thoughts of a guy on the internet.

The experts in computer proofs are quite satisfied.

Regarding bugs in lean; the proof has been tested on multiple independent lean implementations.

They would all have to have the same bug.

This is considered very unlikely for good reasons.

Re:Lean Verification of the Riemann Hypothesis by dfelix on Saturday November 21, 2026 @11:18AM (#50590698)
I agree that this is very unlikely! I say so in my post.
Re:Lean Verification of the Riemann Hypothesis by paganel on Saturday November 21, 2026 @11:19AM (#50590713)
“Very unlikely” is not the same as “we know for sure this didn’t happen”. More exactly, us believing in all these problems getting solved is the same as us believing in the existing lean implementations. I don’t know any university courses that are now studying the correctness of the lean implementations at the PhD level, but maybe I’m wrong on that.

As for “a guy on the internet”, we’re now all people on the internet, the ivory towers are a thing of the past.

Re:Lean Verification of the Riemann Hypothesis by tmnvdb on Saturday November 21, 2026 @05:33PM (#50594317)
Nothing is 100% sure - it can at best rely on a system we like (Gödel)
Re:Lean Verification of the Riemann Hypothesis by paganel on Sunday November 22, 2026 @02:31AM (#50597152)
I partially agree, but then we should put that more in the front, so to speak.
Re:Lean Verification of the Riemann Hypothesis by tmnvdb on Sunday November 22, 2026 @04:07AM (#50597675)
No offense but this is absolutely in the front and known to every mathematician since Gödel.

It is also well known what assumptions Lean rests on.

It's just that you as a layman may be confused about the nature of mathematical proofs and the methods used in formal verification.

Re:Lean Verification of the Riemann Hypothesis by paganel on Monday November 23, 2026 @05:38AM (#50609931)
> No offense but this is absolutely in the front and known to every mathematician since Gödel.

I've received harsh words on this forum a couple of days ago when speaking against maths as a science, more exactly on daring to question how come that Navier-Stokes thingie might be important to our society. So you're now saying that maths isn't even a hard science (which, again, I agree with), so then why should we still put maths at the center of our society? (these very questions were previously asked by Ellul, for example)

Re:Lean Verification of the Riemann Hypothesis by Jblx2 on Saturday November 21, 2026 @11:26AM (#50590798)
Do vibe-coded checkers count as independent?

https://leodemoura.github.io/blog/2026-10-15-lean-now-ships-...

Re:Lean Verification of the Riemann Hypothesis by GrollingGrakbor on Saturday November 21, 2026 @11:58AM (#50591161)
> They would all have to have the same bug.

Why? Pretty sure you can just try to prove False over two reasoning chains C1 and C2 and then do something like (C1 || C2) --> whatever I want.

Re:Lean Verification of the Riemann Hypothesis by tmnvdb on Saturday November 21, 2026 @12:13PM (#50591313)
Thats not how this works. Every checker does every step.

No offense, but do you think the mathematicians who study formal verification didn't think of this obvious trick?

Re:Lean Verification of the Riemann Hypothesis by GrollingGrakbor on Sunday November 22, 2026 @02:21PM (#50602961)
Why 'trick' lol? You're implying that it couldn't work this way because mathematicians would be stupid to implement multiple kernels then, but the point of multiple kernels is that if you have even one that is bugfree, then nothing can break it. So adding multiple kernels is still an obvious benefit, even if my trick works. Here, I can give you a program that compiles under two different buggy kernels:

  4 is a prime => False
  8*8 = 62 => False
  False => my cool assertion

The first buggy kernel thinks 4 is a prime, and the second one thinks 8*8 = 62.

What you probably mean is that Lean ships multiple kernels that are theoretically proven to be bugfree, but because these kernels are themselves programs, the compiler that compiled Lean (e.g. rustc) can still introduce a bug in the compiled version of the kernel. We currently have 2+ theoretically verified kernels (100% theoretical security each!), that get compiled by a different compiler each into potentially broken binaries. And there's a potentially buggy runtime too, but same thing.

The point is that you would now have to memory-corrupt-or-whatever your way out of each of these 2+ runtimes using the same proof while formulating this proof in a way such that the sections that don't do memory corruption remain sound under those parts of the different kernels that aren't buggy. While also being an agent swarm that was guided by a competent researcher. That's extremely unlikely. But the kernel binaries don't need to have the exact same bug for this to work. Or at least that's what I'm claiming.

Re:Lean Verification of the Riemann Hypothesis by zach_moore on Saturday November 21, 2026 @12:18PM (#50591374)
I trust NOTHING that is tied to the largest IPO in the history of the stock market. I just don't give a shit about the expert opinion here.
Re:Lean Verification of the Riemann Hypothesis by TheBlight on Saturday November 21, 2026 @03:45PM (#50593455)
Yeah, that's what he said.