Skip to main content
Back to timeline
HarmonicSource publication:

Aristotle extends formal verification to Rust: it can prove unsafe blocks free of undefined behavior and caught a rounding bug in a Solana order book

Synopsis

Harmonic's Aristotle extends formal verification from C and Verilog to Rust, letting developers prove code matches its specification before shipping rather than relying on tests to catch flaws. It claims to prove code has no undefined behavior, including inside unsafe blocks, and that Rust rewritten from C behaves the same as the original. On the open-source order book Manifest, Aristotle proved 28 results across the whole order book and found a rounding bug the team has since fixed.

Source-provided article image: Aristotle Expands Into Rust
Harmonic

Interpretation

Aristotle now supports Rust, proving before release that code behaves as its specification says instead of relying on tests to catch flaws one by one. Previously Aristotle supported C and Verilog, and Rust was outside its coverage. On the open-source 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 targets the specification and checks new code line by line across all possible inputs rather than sampling runs. Aristotle claims it can prove code has no undefined behavior, including inside unsafe blocks, and that Rust rewritten from C behaves the same as the original. At the prime broker Project 0, 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 examples on the open-source order book Manifest and the prime broker Project 0 on Solana; Aristotle for Rust is available today with self-serve, consumption-based pricing.

The capabilities and results come from Harmonic's release announcement, and the specific verification conditions for Manifest and Project 0 are not detailed in the material; the Solana Foundation partnership only states support for established programs and new builders, with no scale or timeline given.