frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Postmortem for Kernel Soundness Bug #14576

https://leodemoura.github.io/blog/2026-8-1-postmortem-for-kernel-soundness-bug-14576/
47•juhopitk•1h ago

Comments

juhopitk•1h ago
"A soundness bug in the Lean kernel (#14576) was reported and fixed during the week of July 27. [...] On July 25, Ramana Kumar published a repository containing a sorry-free "disproof" of the Collatz conjecture, produced with AI assistance. It is not a valid proof because it exploits a bug in the kernel's handling of nested inductive types. On July 28, Kiran Gopinathan reduced it to a small proof of False and opened issue #14576."
vatsachak•46m ago
And everyone who's been into this stuff for a while has had their prediction come through.

If AI is water, Lean is the pipe and collatz is a clog on one end, then surely we'll find the cracks.

de_aztec•40m ago
So essentially: One cannot trust the code produced by an LLM, even if the code is a formal proof passing the verifier.
fancy_pantser•29m ago
One can only trust a verifier as far as they can trust anything made out of software.
layer8•13m ago
Trust in formal reasoning is necessarily always conditional. You have to start somewhere. The good thing about verified formal proofs is that the only way they can be in error is if the verifier is faulty. This drastically limits the possible reasons for error.

(In practice, there’s also the possible error that the proved formal statement means something different than what you intended it to mean.)

gr_norm•39m ago
> The practical consequence: checking with an independent kernel still works, since it required two distinct bugs in two implementations, but users who rely on it need current versions of both.

Things like this aren't too surprising, given that even much simpler type checkers like Rust's have soundness issues occasionally. I think it's very important to view verified results not as an absolute and unbreakable guarantee, just an extraordinarily strong one where (1) the surface area for soundness issues has been painstakingly minimized and (2) any realized soundness issues are taken very seriously and fixed in short order.

rzmmm•26m ago
The implementation of the kernel is relatively trivial, it's an intentional design choice.
remywang•39m ago
Isn’t a disproof of the Collatz conjecture easy to check as it should just be a counterexample? Or is the proof not constructive?
cperciva•28m ago
A counterexample of the form "X cycles to X after N steps" is easy to check. A counterexample of the form "starting with X we keep going up forever" is hard to check in finite time.
IsTom•19m ago
And still that requires X to not be particularly large. It could conceivably be in ballpark of BB(40).
as1297•34m ago
Lean has Claude contributions, what do you expect!

Use Coq or Isabelle or any other decent theorem prover. Lean is just hyped.

Ar-Curunir•28m ago
Do you have any evidence that the bugs were due to LLM code? Or are you just speculating baselessly
adw•26m ago
What is the error rate of human programmers? Anyone who tells you that either human or A.I. code is magically exempt from issues is selling you something.
Zsfe510asG•15m ago
There are humans who make very few mistakes. The presence of Claude in a project however tells you something about the attitude of the project:

- Probably too close to corporations.

- Does not care about slop.

We have seen many projects that adopted AI under corporate pressure circle the drain. Often the corporations themselves backpedaled after some months.

msdz•5m ago
Why can’t your two criteria be applied to projects with human contributors without further due diligence?
aseipp•12m ago
Most of the relevant kernel code isn't written by Claude though. According to git blame, 95% of the code in inductive.cpp is 5+ years old, with only ~3 hunks (totaling less than 30 lines) coming within the last 12 months including this fix. The Lean kernel in general does not seem to change very much, e.g. the last two years are very sparse in terms of activity with relatively contained changes when I examine the history (especially so when contrasted with the pace of the rest of the project).

Beyond that it looks like a pretty simple oversight. Coq and Isabelle have also had 'prove False' bugs, it isn't the end of the world. Stuff like this happens.

michaelfm1211•6m ago
Reminds me of this: https://mathoverflow.net/questions/513742/are-we-stuck-with-...

I know this is an implementation bug not a meta-theory bug, but I'd almost consider the fact soundness bugs are possible as a bug in the ideology, or at least a severe drawback. Stuff like this just wouldn't happen in Metamath. In a future where AI is autogenerating formalizations, why not have the AI use a harder but airtight system like Metamath?

NetBSD 11.0 Released

https://blog.netbsd.org/tnf/entry/netbsd_11_0_released
105•jaypatelani•1h ago•21 comments

Postmortem for Kernel Soundness Bug #14576

https://leodemoura.github.io/blog/2026-8-1-postmortem-for-kernel-soundness-bug-14576/
47•juhopitk•1h ago•17 comments

The Art of 64-bit Assembly

https://nostarch.com/art-64-bit-assembly-v2
127•0x54MUR41•5h ago•65 comments

Kaisel – Routes as Values. Dart 3 Native Router for Flutter

https://kaisel.dev/
32•TheWiggles•3h ago•5 comments

Explorative modeling: Train on the best of K guesses

https://alexiglad.github.io/blog/2026/explorative_modeling/
52•DSemba•4h ago•19 comments

Pgtestdb's template cloning approach to testing is fast

https://brandur.org/fragments/pgtestdb
45•brandur•3h ago•25 comments

RipGrep musl binaries occasionally segfault during very-large searches

https://github.com/BurntSushi/ripgrep/issues/3494
210•throwaway2037•7h ago•145 comments

Tell HN: I hate your fuzzy search

73•tehwebguy•1h ago•34 comments

A Surveillance Treaty in Disguise: Canada Signs UN Cybercrime Convention

https://www.michaelgeist.ca/2026/07/a-surveillance-treaty-in-disguise-the-trouble-with-canadas-qu...
206•iamnothere•5h ago•117 comments

Cursor removed cost information from the usage page and CSV export

https://forum.cursor.com/t/usage-page-to-token-amount-what/167153
222•EugeneOZ•4h ago•98 comments

Oil companies report sky-high profits thanks to wartime crude prices

https://www.npr.org/2026/07/31/nx-s1-5910660/big-oil-earnings-q2-2026
38•speckx•1h ago•39 comments

Franken.domains: Stitched-Together Domains, Because Every .com Is Taken

https://franken.domains/
21•klausbreyer•3h ago•31 comments

Kenji/Serious Eats – 30-Min Pressure Cooker Pho Ga

https://www.seriouseats.com/30-minute-pressure-cooker-pho-ga-recipe
27•stasomatic•4h ago•13 comments

Register deprivation: spills and runtime under forced register scarcity

https://rjp.io/blog/2026-07-19-register-deprivation
17•surprisetalk•2d ago•3 comments

A directory of people who love RSS

https://andrewshell.org/2026/07/i-%e2%99%a5-rss/
126•speckx•2h ago•71 comments

Flint: A Visualization Language for the AI Era

https://microsoft.github.io/flint-chart/
230•vinhnx•17h ago•65 comments

RamenHaus

https://ramen.haus/
184•oler•11h ago•90 comments

Glyphs 4 – the leading Mac font editor

https://glyphsapp.com
15•microflash•4d ago•6 comments

Manual: •.,:;…!?·

https://type.today/en/journal/dots
96•behnamoh•2d ago•19 comments

Linux on ESP32

https://github.com/GrieferPig/esp32-s31-linux
62•boveyking•4d ago•25 comments

Kontigo (YC S24) Is Hiring

https://www.ycombinator.com/companies/kontigo/jobs/xAo6tMt-founding-engineer
1•jecastillof•7h ago

qm – Multiplayer agent harness for work

https://github.com/yc-software/qm
640•tosh•1d ago•151 comments

Nyctography: A substituton cypher by Lewis Carroll

https://en.wikipedia.org/wiki/Nyctography
5•nanna•4d ago•0 comments

Solid Queue 1.6.0 now supports fiber workers

https://github.com/rails/solid_queue/releases/tag/v1.6.0
81•earcar•12h ago•34 comments

The tiny holdout building in the middle of Macy’s is back in view

https://ephemeralnewyork.wordpress.com/2026/07/27/hidden-by-billboards-for-over-100-years-the-tin...
171•donohoe•3d ago•53 comments

The development pipeline is a production system

https://sundry.jerryorr.com/2026/07/31/development-pipeline-is-a-production-system
147•firefoxd•16h ago•71 comments

Elevators

https://john.fun/elevators
1546•Jrh0203•1d ago•383 comments

Software for One

https://www.ajwaxman.com/writing/software-for-one
224•awaxman11•3d ago•225 comments

Run Kimi K3 using 29 GB of RAM at 0.50 tok/s

https://github.com/sqliteai/waste
318•marcobambini•1d ago•152 comments

How to Exist

https://www.raptitude.com/2026/07/how-to-exist/
352•walterbell•19h ago•209 comments