Dozens of AI agents just found a bug in numpy's AVX512-optimized code

AlexKontorovich · x · 2026-12-01

William Stein (SageMath) says he's obsessed with correctness now that tools make it achievable for nontrivial software: he's "LEAN pilled," proving his rewritten Rust code in Lean, and running dozens of AI agents to audit code and hunt bugs.

The agents keep finding real bugs in packages being rewritten from scratch — the screenshot shows one just found in numpy's AVX512-optimized code: np.power.reduce(np.array([4., 2., 3.])) returns 64.0 while (4.2.)3. is 4096.0, and another input is similarly wrong.

Original post →

More from coding & agent

coding & agent channel →