Aristotle extends formal verification to Rust: 28 results proved on a Solana order book, plus a rounding bug found
Synopsis
Harmonic's Aristotle extends formal verification from C and Verilog to Rust, proving before release that code has no undefined behavior and matches its spec, including inside unsafe blocks. On the open-source order book Manifest it proved 28 results across the whole order book, including that a valid swap goes through, and found a rounding bug the team has since fixed; on Project 0 it proved the books stay consistent through deposits, withdrawals, borrows, repayments and liquidations in any order.
Interpretation
Aristotle can now formally verify Rust code, proving it has no undefined behavior and does exactly what its spec says, with coverage inside unsafe blocks as well. Aristotle previously supported C and Verilog, leaving Rust outside its verification scope, so developers relied on testing to catch flaws. On the open-source Solana order book Manifest, Aristotle proved 28 results across the whole order book, including that a valid swap goes through, and found a rounding bug the team has since fixed.
Verification runs on every new line of code, proving intended behavior across all possible inputs rather than waiting for a manual audit after release. Manual audits are slow and are outdated immediately after they are published. At Project 0, a prime broker on Solana, it proved the books stay consistent through deposits, withdrawals, borrows, repayments and liquidations, in any order.
Perspective
The demonstrated scope is formal verification of Rust code, with instances on the open-source Solana order book Manifest and the prime broker Project 0; Aristotle for Rust is available today with self-serve, consumption-based pricing, and volume pricing, dedicated support and custom deployment are available on contact.
The material gives no verification scale, runtime, or comparison with other verification tools; the 28 results on Manifest and the book consistency at Project 0 are limited to the properties stated for those two programs.
