I checked Clojure’s core with Lean and found unreported bugs / 我用Lean检查了Clojure的核心,发现了未报告的漏洞

📰 2026-11-26 03:00 更新

🔸 I checked Clojure’s core with Lean and found unreported bugs / 我用Lean检查了Clojure的核心,发现了未报告的漏洞

🔗 I checked Clojure’s core with Lean and found unreported bugs
🔥 88 points

原文:
I read Koukyosyumei’s article “著名なRust製OSSをLean 4で形式検証してみたら、めちゃめちゃバグが見つかった話” (in Japanese; the title means “I formally verified well-known Rust OSS with Lean 4 and found a lot of bugs”). The author ported well-known Rust projects into a form they could prove in Lean 4, and where a proof failed, they found a bug in the original code. Many people have used Clojure’s persistent data structures since around 1.0, so I expected no bugs t…

译文:
我读了 Koukyosyumei 的文章“著名なRust製OSSをLean 4で形式検証してみたら、めちゃめちゃバグが見つかった話”(日语;标题的意思是“我使用 Lean 4 对著名的 Rust OSS 进行了形式化验证,并发现了许多漏洞”)。作者将知名 Rust 项目移植为可以在 Lean 4 中进行证明的形式,并在证明失败的地方发现了原始代码中的一个漏洞。许多人已经使用过 Clojure 的持久数据结构。 自1.0左右以来的功能,所以我预计不会有任何漏洞……


自动更新 · 正文抓取 · 双语翻译

Leave a Comment