News for hackers. Stuff that matters.
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)