The story’s score and claims

Comments on No. 16 of 128 · Conao3 Notes · edition of Wednesday 25 November 2026

I checked Clojure's core with Lean and found 17 unreported bugs

Summary

Naoya Yamashita (conao3) reports 17 previously unreported bugs in the Java-implemented part of Clojure 1.12.7, found by modeling integer and bit arithmetic in Lean 4 and differential-testing collections against java.util. The most serious are a reduce on vector-of that never returns past 65,504 elements, caused by a wrong bit mask, and a HAMT collision-node dissoc that can hide another key. The core HAMT and vector trees showed no mismatches. The author searched JIRA and ask.clojure.org, but the findings are one person's account and have not been independently confirmed.

Comments

Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules