A Rust verification tool
hax is a Rust verification tool developed by Cryspen that translates a large subset of Rust into formal languages including Lean, F*, Rocq, ProVerif, SSProve, and EasyCrypt. The tool operates as a cargo subcommand and is built with Rust for its frontend and CLI components, OCaml for its core engine, and includes support for proc macros like `requires` and `ensures` to annotate pre- and post-conditions in Rust programs. hax supports multiple backends at varying maturity levels, with F* marked as stable, the Lean backend (via Aeneas) in active development, and others in experimental status, making it suitable for high-assurance cryptographic and formal verification use cases.