Aristotle brings formal verification to Rust, including unsafe code
Harmonic's Aristotle, a formal verification tool that previously targeted C and Verilog, now supports Rust. The company says it can prove that Rust code has no undefined behavior, that it matches its specification, and that a Rust rewrite behaves like the C code it replaced. It also says the proofs cover unsafe blocks. That last claim is the one that matters most, because unsafe is where Rust's guarantees stop and the programmer's obligations begin.
The announcement is aimed at high-stakes code: Solana programs, smart contracts, and infrastructure where a single bug can move money or take down a service. Harmonic is offering Aristotle with self-serve, consumption-based pricing and has a partnership with the Solana Foundation. The case studies are real enough to be interesting: an open-source order book called Manifest, and a prime broker called Project 0. But formal verification announcements are easy to overread. A proof is a statement about a model, and the model is only as good as the specification behind it.
What Harmonic says Aristotle can do
Harmonic's claims are specific. Aristotle can prove that Rust code has no undefined behavior, that it does exactly what its specification says, and that it can do this even inside unsafe blocks. It can also prove that Rust code rewritten from C behaves the same as the original. The company frames this as a move from testing, which samples inputs, to proofs, which cover all inputs allowed by the model.
The Solana focus is not incidental. Solana programs are small, deterministic, and financially exposed. A bug in an order book or a lending protocol can be exploited immediately, and the transaction cannot be rolled back. That makes the cost-benefit calculation for formal verification much easier than it is for a large web service. Harmonic says Aristotle proved 28 results across Manifest's order book, including that a valid swap goes through, and found a rounding bug that the team fixed. At Project 0, it proved that the books stay consistent through deposits, withdrawals, borrows, repayments, and liquidations, in any order.
Those are useful properties. They are also carefully chosen. "A valid swap goes through" is a liveness property under a specific model of validity. "The books stay consistent" is an invariant over a model of the ledger. Neither claim says the entire program is correct, that the economic design is sound, or that the surrounding JavaScript, RPC layer, and deployment pipeline are safe. Formal verification narrows the trusted core; it does not eliminate the rest of the system.
The specification is the hard part
The most common mistake in discussions of formal verification is to treat the proof as the difficult part. The proof is hard, but the specification is harder. A proof can only show that an implementation satisfies a specification. If the specification is incomplete, wrong, or assumes the wrong threat model, the proof can be perfectly valid and still fail to protect the thing you care about.
Consider a simple transfer function. A specification might say that the total balance is conserved, that no account goes negative, and that only the owner can transfer. Those are three different properties, and each one needs a precise definition. What does "owner" mean when a delegate is approved? What happens if the recipient is the same as the sender? What if the token has a fee-on-transfer mechanism? What if the program is invoked through a cross-program invocation that reenters? The proof is only as strong as the answers to those questions.
Harmonic's announcement does not publish the specifications used in the case studies. It says Aristotle proved 28 results and found a rounding bug. That is a good sign, because finding a real bug is evidence that the tool is doing something beyond checking the happy path. But it does not tell an outside reader how much of the order book was modeled, which properties were assumed, or what was left out. Those details matter more than the number 28.
For teams evaluating Aristotle, the first question should be: who writes the specification, and how is it reviewed? A tool that makes it easy to write a proof against a shallow spec can create false confidence. The useful workflow is to treat the spec as a first-class artifact, review it with the same care as the code, and keep it under version control next to the implementation.
Unsafe code is where the claims get interesting
Rust's ownership and borrowing rules give strong guarantees for safe code, but unsafe blocks are an escape hatch. Inside an unsafe block, the programmer can dereference raw pointers, call unsafe functions, access mutable statics, and implement unsafe traits. The compiler still checks some things, but the programmer is responsible for upholding the invariants that make the abstraction sound.
That is exactly where a formal verification tool can add value. A proof that an unsafe block never violates its safety contract is more useful than a proof that safe code is safe, because safe code is already checked by the compiler. Harmonic says Aristotle can prove the absence of undefined behavior even inside unsafe blocks. If that claim holds for the supported subset, it is a meaningful advance.
The word "subset" is doing a lot of work. Rust is a large language with a complex memory model, and unsafe code can interact with hardware, FFI, inline assembly, allocator internals, and concurrency primitives. The announcement does not say which Rust features are supported, which version of the language is modeled, how aliasing is represented, or how the tool handles atomics and data races. Those are not minor details. They determine whether a proof about a real driver or runtime is possible, or whether the tool only works on a carefully restricted fragment.
The same issue applies to C-to-Rust equivalence. Proving that a Rust rewrite behaves like the original C is valuable for migrations, but it requires a shared semantic model of both languages. C has undefined behavior, implementation-defined behavior, and a preprocessor. Rust has different aliasing rules and a different memory model. The equivalence proof has to say which C semantics it assumes, which compiler flags and platform it models, and what happens at the FFI boundary. Without those details, "behaves the same" is a slogan, not a specification.
Solana is the beachhead, not the whole market
Solana is a sensible first market. Programs are relatively small, the execution model is deterministic, and the financial stakes are high. The Solana Foundation partnership gives Harmonic access to real programs and a community that already understands the cost of bugs. Manifest and Project 0 are good reference customers because their invariants are concrete: an order book should not lose track of orders, and a prime broker should not let its books drift.
But Solana is not a representative sample of Rust. A Solana program is not a multi-threaded async service with a database, a network stack, and a plugin system. It does not have the same FFI surface, the same concurrency model, or the same dependency graph. Success on Solana says something about the tool's ability to handle small, deterministic state machines. It does not say that Aristotle can verify a 500,000-line Rust service, a kernel driver, or a browser engine.
That matters for how the announcement should be read. The most compelling use case is a high-value, well-bounded program with a clear invariant. The least compelling use case is a large, evolving codebase where the specification changes every sprint. Teams should start with the former and treat the latter as a research project.
Continuous proofs change the audit model
The traditional security audit is a snapshot. A team pays a firm, the firm reviews a commit, and the report describes the code at that moment. The report is useful, but it goes stale as soon as the code changes. Harmonic's pitch is that Aristotle can run on every new line of code, so verification becomes a continuous part of the development loop rather than a one-time event.
That is the right direction, but it changes the economics. A proof that takes hours and requires a expert to write the spec is not something most teams will run on every pull request. The cost has to come down, and the specification has to become maintainable. If every change requires rewriting the proof, the tool will be used for audits, not for CI. If the spec is stable and the proofs are incremental, continuous verification becomes plausible.
There is also an AI angle. Harmonic's CEO says Rust is where critical new code is being written, increasingly by AI. If agents generate more code, human review becomes a bottleneck, and proof obligations become a way to check properties that tests might miss. That is a plausible future, but it also raises a question: who reviews the specification if the same agent writes the code and the spec? Formal verification does not remove the need for human judgment about what the system is supposed to do.
What the announcement does not tell us
The announcement is long on claims and short on technical detail. It does not name the proof assistant or solver backend. It does not describe the trusted computing base, the supported Rust subset, the handling of concurrency and FFI, or the cost of a typical proof. It does not provide independent benchmarks or a public example that an outside team can reproduce. It does not say whether the Manifest and Project 0 case studies were audited by a third party.
Those omissions do not make the claims false. They make them unverified. A vendor announcement is allowed to be a vendor announcement, but engineers should treat it as a starting point for due diligence, not as evidence that Rust's safety problems are solved. The right response is to ask for a trial on a small, well-specified module with a known bug or a known invariant, and to compare the cost and the result with a conventional audit.
How to evaluate it
Start with a module that has a crisp invariant and a small attack surface. A token transfer, a queue, a state machine, or a parser is a better first target than a full service. Write the specification before you run the tool, and have someone who did not write the code review it. Ask the vendor which language features are supported, what the proof assumes about the platform, and how the tool handles unsafe, FFI, and concurrency. Run the proof against a known vulnerability and see whether it catches it. Then run it against a clean module and see how much work the proof takes.
If the tool passes those tests, it can be a useful part of a defense-in-depth strategy. It will not replace testing, code review, fuzzing, or runtime monitoring. It will not prove that the specification matches what users want. But it can prove that a small, critical piece of code does what its authors said it would do, even when the inputs are adversarial. That is a valuable property, and it is worth the effort when the cost of a bug is high enough.
Aristotle's Rust support is a real milestone for the Rust ecosystem. It gives teams another tool for the most dangerous parts of their code, and it puts pressure on the idea that formal verification is only for academic projects. The next step is not another announcement. It is a reproducible case study, a clear statement of the supported subset, and evidence that the proofs survive contact with real code.
Sources
- Aristotle Expands Into Rust — Harmonic, 2026-11-16
- Aristotle case study: Manifest — Harmonic
- Aristotle case study: Project 0 — Harmonic