Skip to content
View original post on X: Lewis Tunstall
Published

Lewis Tunstall flags Lean 4's unproven consistency and unfixable bugs

AILewis Tunstall says he learned from a LessWrong article that Lean 4's consistency has no proof yet and that its type theory has "sea monsters," bugs that cannot be systematically squashed. He reports that tests of whether Lean code runs safely trigger cybersecurity guardrails in Codex and Claude, and suggests that Mistral's Leanstral could be a better fit for that task.
View on X

This is a fascinating article on some of the subtle and deep challenges one encounters with formal languages like Lean.

I didn't realise that we don't yet have a proof of Lean4's consistency, and that there are some "sea monsters" concerning its type theory (basically bugs that you can't systematically squash)

Another interesting observation is that testing whether Lean code runs safely triggers the cybersecurity guardrails of Codex / Claude. IMO this is a pretty good opportunity for @MistralAI's Leanstral :)

As the author points out, all of these issues are fixable, but it does show that getting to a future where most software is formally verified won't be a simple task at all.

https://www.lesswrong.com/posts/zHhGa3iQBQcdSifFL/a-critical-look-at-lean4-1

Source details

Lewis Tunstall · x.comPublished · added here

Original title: This is a fascinating article on some of the subtle and deep challenges one encounters with formal languages like Lean.