sail-solve
Sail makes Verus verification fast and usable from the command line and coding agents. Verify an existing Rust file or Cargo project, watch edits, retain successful proofs, and independently validate focused repairs.
Install Sail 0.4.0 with Rust 1.99 or newer, a C toolchain, Rustup and Python 3:
Save this as proof.rs:
use *;
verus!
Verification reports the pinned Verus verdicts and diagnostics. Changing the
assertion to 1 + 1 == 3 produces a verification error; unchanged successful
inputs can reuse their established proof. sail mcp exposes verification and
jobs over stdio for coding agents. Run sail --help for the CLI commands.
The package installs sail and its sail-solve-z3 companion. Engine installation
downloads Sail's exact pinned Verus/Z3 runtime and validates the archive digest,
provenance and every runtime file. Supported runtime platforms are Linux x86-64
with glibc 2.39 or newer and macOS on Apple silicon. No source checkout or
separate Verus installation is needed.
Cargo installations build the CLI from source and establish their own proofs; GitHub release archives additionally provide preverified vstd and signed solver replies. Both routes keep the same proof-admission checks.
Installation · Standalone files · Background preparation · MCP · Project