News for hackers. Stuff that matters.
Re:Lean Verification of the Riemann Hypothesis by TwoFx on Saturday November 21, 2026 @11:13AM (#50590648)
A lot has happened since the fake Collatz refutation: https://leodemoura.github.io/blog/2026-10-15-lean-now-ships-...

In short, Lean has formally verified checkers now, and the RH proof was checked with them. So any such soundness hole would have to be exploited in the correctness proofs of the checkers, which is a much smaller attack surface than the RH formalization.

Re:Lean Verification of the Riemann Hypothesis by YetAnotherNick on Saturday November 21, 2026 @11:32AM (#50590861)
One thing that every manual/automated verification relies on is the consistency of ZFC + few large ordinals. I mean while humans have carefully thought about the flaws in that for century and didn't find any, it's not grounded in any clear reasoning why it is consistent.

Not at all saying it is inconsistent, but I personally find the liberal use of introducing 2 large ordinals axioms a bit concerning.

Re:Lean Verification of the Riemann Hypothesis by jeremyjh on Saturday November 21, 2026 @11:46AM (#50591017)
Much of mathematics relies on these axioms. There is nothing special about the dependency of proof checkers or verification of this particular hypothesis. What is the purpose of this statement in this context?
Re:Lean Verification of the Riemann Hypothesis by YetAnotherNick on Saturday November 21, 2026 @04:01PM (#50593598)
Many set theories were proven to inconsistent, and lot more type theories(e.g. ZFC plus a Reinhardt cardinal, Martin-Löf's first type theory). And if in AI posttraining it hit it once, the probability of hitting it increases because of reward hacking.
Re:Lean Verification of the Riemann Hypothesis by jibalt on Saturday November 21, 2026 @08:42PM (#50595412)
AI posttraining is irrelevant. The proof generated by the AI is being checked by proof checkers that have been carefully examined by humans.
Re:Lean Verification of the Riemann Hypothesis by YetAnotherNick on Saturday November 21, 2026 @11:52PM (#50596380)
Lean had been carefully examined by humans for years, still they find consistency issues every year or two, because of how complex its type theory is.

In [1], 3 independently written lean checkers had this one soundness issue which certifies invalid proof.

[1]: https://leodemoura.github.io/blog/2026-8-1-postmortem-for-ke...

Re:Lean Verification of the Riemann Hypothesis by ogogmad on Saturday November 21, 2026 @12:09PM (#50591270)
It's possible that the question of consistency or lack thereof is too abstract to assess the significance of. A lot of the mathematics that was done in the 18th century was obviously inconsistent and yet still useful. Trying to verify consistency is basically impossible because of Goedel's 2nd Incompleteness Theorem. I have a feeling we're asking the wrong question here.
Re:Lean Verification of the Riemann Hypothesis by ironborn123 on Saturday November 21, 2026 @12:14PM (#50591323)
Most natural problems like RH, twin primes, etc dont fundamentally rely on the inaccessible cardinals. Any problem that depends on them, there is much debate whether they can be called natural.

Many problems may not require even full zfc. zf, peano or even weaker may be enough.

There are also many theorem provers not just lean. lean depends on type theory, but metamath for example depends on zfc directly.

It may be a good but likely tedious exercise to convince yourself by translating the current proof to a zfc dependent prover.

Re:Lean Verification of the Riemann Hypothesis by gf000 on Saturday November 21, 2026 @03:35PM (#50593360)
> relies on is the consistency of ZFC + few inaccessible cardinals

I don't think so. They depend on some kind of type theory and formulate everything from those primitives.

Re:Lean Verification of the Riemann Hypothesis by YetAnotherNick on Saturday November 21, 2026 @04:05PM (#50593631)
Consistency of type theory depends on consistency of ZFC.
Re:Lean Verification of the Riemann Hypothesis by jibalt on Saturday November 21, 2026 @08:45PM (#50595423)
> Consistency of type theory depends on consistency of ZFC.

No it doesn't ... that's a fallacy of affirmation of the consequent.

Re:Lean Verification of the Riemann Hypothesis by YetAnotherNick on Saturday November 21, 2026 @11:59PM (#50596423)
Yes it does. Sets could be represented in Martin Lof type theory and all the ZFC axioms proven inside it. If ZFC is inconsistent, then so would be the type theory.
Re:Lean Verification of the Riemann Hypothesis by gf000 on Sunday November 22, 2026 @06:25AM (#50598607)
But that's a bit backwards. That's like saying that building a calculator requires that it returns the correct solution for 4 times 8.

Sure, it is broken if it outputs 5 , but it's not part of the chip doing the calculations. But we are just using "depends" a bit differently

Re:Lean Verification of the Riemann Hypothesis by jibalt on Saturday November 21, 2026 @08:40PM (#50595398)
> I mean while humans have carefully thought about the flaws in that for century and didn't find any, it's not grounded in any clear reasoning why it is consistent.

That statement flatly contradicts itself.

Re:Lean Verification of the Riemann Hypothesis by bertonvv on Saturday November 21, 2026 @11:56AM (#50591134)
I might be asking a stupid question, but how are the checkers formally verified? Do they use another theorem prover that is not Lean?
Re:Lean Verification of the Riemann Hypothesis by Betelbuddy on Saturday November 21, 2026 @11:59AM (#50591183)
Checkers all the way down?
Re:Lean Verification of the Riemann Hypothesis by computerfriend on Saturday November 21, 2026 @12:16PM (#50591351)
Yo dawg, I heard you like formal verification...
Re:Lean Verification of the Riemann Hypothesis by Betelbuddy on Saturday November 21, 2026 @12:23PM (#50591427)
Dont get me started...hate it...
Re:Lean Verification of the Riemann Hypothesis by FartyMcFarter on Saturday November 21, 2026 @08:30PM (#50595341)
Please go ahead.
Re:Lean Verification of the Riemann Hypothesis by Betelbuddy on Sunday November 22, 2026 @08:37AM (#50599585)
The reason why they are stressing the original definition of the Riemann Hypothesis they are starting from, is very sound tells you everything you need to know...
Re:Lean Verification of the Riemann Hypothesis by sigbottle on Saturday November 21, 2026 @12:02PM (#50591202)
It's turtles all the way down (what if every x86 and ARM chip has some obscure ISA exploit that agents are silently using that we don't know about?) but the idea is that while you can't remove absolute dependence, you can remove chains of dependencies and keep making it smaller and smaller w/ reductionism
Re:Lean Verification of the Riemann Hypothesis by alethic on Saturday November 21, 2026 @05:23PM (#50594253)
Yeah, I'd just add here that the top-level con-leche is proven correct with respect to a set-theoretic model of Lean. That model very well could be inconsistent! But it's unlikely.

What con-leche et al. do is eliminate trust at other levels: con-leche removes the need to trust Lean's type-checker, con-ron lets you trust either Lean's compiler or Rust's compiler, con-agua lets you trust only the Kraken x86 semantics.

Re:Lean Verification of the Riemann Hypothesis by lisper on Saturday November 21, 2026 @06:59PM (#50594862)
> what if every x86 and ARM chip has some obscure ISA exploit that agents are silently using that we don't know about?

Given how easy this would be to do, I'd be very surprised if there were not multiple such vulnerabilities.

Re:Lean Verification of the Riemann Hypothesis by marshray on Saturday November 21, 2026 @08:12PM (#50595257)
The challenge would be encoding the ISA exploit into the Lean proof in such a way that the CPU would be able to recognize it and behave in an exploitable way, without also making this complex behavior stand out in the (surely short and readable :-) proof text.

Then someone tries to verify the proof on some other kind of CPU and the differential execution trace shines a giant spotlight right at your ultra-valuable backdoor.

Re:Lean Verification of the Riemann Hypothesis by lisper on Sunday November 22, 2026 @03:01PM (#50603329)
Please see my reply to the sibling comment: https://news.ycombinator.com/item?id=50603322
Re:Lean Verification of the Riemann Hypothesis by FartyMcFarter on Saturday November 21, 2026 @08:19PM (#50595297)
Easy to do? Maybe.

But extremely risky too. The only thing needed for someone to expose your backdoor is for them to run the lean compilation on an older CPU (or different CPU) without the backdoor, and suddenly there are very knowledgeable people interested in finding the embarrassing reason for the observed discrepancy.

Re:Lean Verification of the Riemann Hypothesis by lisper on Sunday November 22, 2026 @03:01PM (#50603322)
I don't understand. The attack would be an attack on the silicon, not the ISA spec. It would manifest itself as a divergence between the formal spec and the actual behavior of the hardware, one which would probably only be evident when a very specific data pattern were loaded into some very specific registers or something like that. It's not something that would show up under any kind of empirical test with any higher probability than brute-forcing an AES key.
Re:Lean Verification of the Riemann Hypothesis by NetMageSCW on Sunday November 22, 2026 @04:51PM (#50604294)
But the attack wouldn’t work on silicon without the issue (i.e. the lean verification of this proof would fail on that h/w) which would trigger research into finding out why it is different for all lean versions on the different hardware.
Re:Lean Verification of the Riemann Hypothesis by lisper on Sunday November 22, 2026 @05:22PM (#50604561)
> But the attack wouldn’t work on silicon without the issue

Correct.

> (i.e. the lean verification of this proof would fail on that h/w)

That would be true if you had access to the actual physical silicon layout. But unless you know something I don't, the only way to get that is to somehow get access to the actual masks used during the fab run, or somehow extract the detailed structure of a physical chip. Good luck with that.

And in fact the exploit wouldn't even have to be in the silicon. Modern x86 chips are not actually x86 chips, they are essentially RISC chips that implement the x86 ISA in microcode, which is even easier to compromise than the silicon.

Re:Lean Verification of the Riemann Hypothesis by jibalt on Saturday November 21, 2026 @08:38PM (#50595388)
"Given [false], my favorite belief follows."
Re:Lean Verification of the Riemann Hypothesis by acchow on Sunday November 22, 2026 @01:02AM (#50596732)
And cross-checking (since there is more than 1 verifier)
Re:Lean Verification of the Riemann Hypothesis by 3uruiueijjj on Saturday November 21, 2026 @12:52PM (#50591758)
You can keep writing simpler checkers that check the more complicated checkers. But at some point you will have to give up and say "this checker looks correctly implemented (to us) and gives the results we expect on all our tests."

Depending on how the checker works, you might be able to run it on itself. But that doesn't say much; maybe it only approves itself due to a bug.

Re:Lean Verification of the Riemann Hypothesis by thechao on Saturday November 21, 2026 @01:09PM (#50591911)
There's multiple independent kernels, run on distinct hardware; they're trusted because they're small.
Re:Lean Verification of the Riemann Hypothesis by tito on Saturday November 21, 2026 @09:26PM (#50595620)
If anyone here is interested in running a checker yourself, I setup a tool here so anyone can do it, and there's a global dashboard to keep track:

https://riemann-at-home.github.io/riemann-at-home/

Open to suggestions too, it uses leanchecker. Are there other checkers you recommend I integrate?

Re:Lean Verification of the Riemann Hypothesis by otabdeveloper4 on Sunday November 22, 2026 @05:12AM (#50598097)
> but how are the checkers formally verified

Probably by Claude. It's just a marketing stunt for the IPO.

Re:Lean Verification of the Riemann Hypothesis by acchow on Sunday November 22, 2026 @01:01AM (#50596725)
Or the elaborator+tactic engine (compiler)?