Proof-Oriented Programming in Verus vs. Lean
TL;DR:
One difference is that the domain is encoded as a field in Rust and as a type parameter in Lean.
Longer Read:
A lot of people are now interested in software verification, both because AI is finding many bugs, and because AI is lowering the barrier to entry to formal methods. For context, I know a lot about Rust, a moderate amount about Lean, and very little about Verus. We would need to use a specialized type of unboxed integer arrays in Lean to get memory-parity with Rust.
Related Skills:
Software DesignRust
💬 0 comments