Three years of formal validation: AI now writes the Rust and proves it in Lean
carlk22 · reddit · 2026-09-23
Over three years the author's formal-validation workflow evolved from manual Rust + Dafny, to manual Rust + AI-written Lean proofs (three weeks, hundreds of prompts), to AI writing both — with Codex Sol 5.6 now writing algorithms, translating to Lean, constructing machine-checked proofs, and refactoring slop, sometimes in minutes. Not a general fix for trusting AI software, but for precisely specifiable algorithms formal validation is becoming practical; lessons written up as "Nine Rules for Vibe Validation."
More from coding & agent
- Elvis Saravia launches a series on custom harnesses with a hands-on playground — omarsar0 · 2026-09-23
- crabbox now runs on boxd: isolated KVM microVMs with ms boot times for repo commands — steipete · 2026-09-23
- The Zvi's One-Shot Codex Attempt at a DataRepublican Network Graph Shows Promise — TheZvi · 2026-09-23
- "We still don't have Kubernetes for agents," devs lament — rakyll · 2026-09-23
- Building a Custom Agent Harness with Pi and Jev, With Interactive Playground — dair_ai · 2026-09-23
- Why AI-Edited UI Keeps Breaking, and the Visual Feedback Loop Fix — nikola_mr64990 · 2026-09-23