How Google's Anneal Uses lean-miri to Validate Its Rust Semantics
lean-miri was recently adopted by Anneal, a Rust verification tool developed as part of Google's zerocopy project. Following this adoption, a pull request from Anneal’s creator, Josh Liebow-Feeser, has already been merged into lean-miri. What makes this especially remarkable is that lean-miri was developed almost entirely by AI and found real-world adoption less than three weeks after its public announcement. lean-miri is a port of Rust’s Miri interpreter to the Lean proof assistant, providing an executable formalization of Rust’s MIR semantics. It is designed to enable formal proofs that Rust programs, including those containing unsafe code, are free of undefined behavior. Rather than running lean-miri directly as an end-to-end verifier, Anneal uses its MIR execution model as a reference semantics. Proofs in Anneal show that individual operations in Anneal’s own model correspond to the matching operations in lean-miri. ...