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

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

- Source: Lewis Tunstall
- Published: 2026-10-12T12:36:57.000Z
- Bad Influence: https://badinfluence.news/items/p2dejm0j4exsgj62y8bitgedi
- Original: https://x.com/_lewtun/status/2109624363121078319

## Summary

Lewis 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. He adds that the article's author considers the issues fixable, but that formally verifying most software will not be simple.

## Post

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

![](https://badinfluence.news/api/img-proxy?u=https%3A%2F%2Fpbs.twimg.com%2Fmedia%2FHUbg-RpWsAATNrn.png&mode=thumb&exp=1795651200&sig=b055764ca55846c2)
