Hacker News new | ask | show | jobs
by cloudbonsai 47 days ago
They created an implementation of a Lean kernel in Lean (con-leche) and verified it as consistent.

Since there can be bugs in its compiler and runtime, they translated the code into Rust (con-ron), and verified the resulting kernel with another Rust-based verification tool.

There is also an ongoing verification project of Lean4, which is written in Lean4 itself. (My mental model is Lean4 := Raku and Lean := Perl)

So we have two verified kernels now, and another is awaiting release.

1 comments

But is this cyclic? also no matter what we do we will hit Godel?
For the highlighted kernel (con-leche) , they postulate a set theory. Godel doesn't get involved because the proof is effectively saying Lean+ZFC entails Con(Lean), but even that isn't quite right, because the kernel doesn't include all the features of Lean. But even that isn't quite right, because they're actively modifying the kernel to be "simpler" to check.

It's a marketing post at the end of the day is what I'm trying to say. Regardless, Lean is probably the most trustworthy proof assistant on the planet at this point.

What’s more interesting to me is the fact that these two kernels (con-leche and con-ron) were actually implemented by Claude (with “human supervision”).

Programming as a hand-crafted art is really diminishing fast.

Rocq (Coq) and Isabelle/HOL?
Rocq has had similar issues with AI finding soundness bugs, particularly in module code last I checked. Yet they don't even have half the resources of Lean. Rocq is nowhere close in my opinion. Though this is really like comparing how many 9s. If Lean is 99.9999% trustworthy, than Rocq is 99.99% trustworthy.

Isabelle/HOL is probably at similar footing to Lean because its kernel is so simple.

The question is if Godel matters in practice, or if its is just a limiting behaviour with infinite resources
> we will hit Godel

It seems no one understands how useless this theorem is in practice.