Formalizing the OCaml runtime in Lean finds 100+ bugs as agents join proof workflows
neurocy · x · 2026-12-02
Marc Brooker's new blog post, "A Correctness Approach for Modern Systems Software," walks through building a Rust client-side lease/lock manager with correctness front and center: proof, model checking, simulation, mutation testing, and more. In the thread, @kcsrk reports a strikingly similar Lean model of the OCaml runtime that surfaced 100+ bugs; with Veil no longer scaling at 256 actions × 180 clauses, he switched to native Lean proofs instead of model checking, with agents helping find more issues.
More from coding & agent
- Security researcher flags maker-checker conflict as AI code tools self-review — LadyAshBorg · 2026-12-02
- Hamel Husain and Shreya Shankar's O'Reilly book 'Evals for AI Engineers' revealed — HamelHusain · 2026-12-02
- Agent failed silently while the dashboard stayed green—dev shares a simple last-success-time fix — BladeWorksBots · 2026-12-02
- Codex spotted using computer use to drive Notion AI to complete a task — TheZachMueller · 2026-12-02
- shadcn: AI coding turned hundreds of lines of UI code into composable agent-friendly behaviors — shadcn · 2026-12-02
- The Oasis: open-source tool turns your Claude Code sessions into 3D village characters — LeviTurk · 2026-12-02