Skip to content
Tech News
← Back to articles

Creusot helps you prove your Rust code is correct

read original get Rust Programming Book → more articles
Why This Matters

Creusot is a powerful tool that enhances the safety and correctness of Rust code by providing formal verification capabilities. Its integration with the Why3 platform allows developers to automatically verify critical aspects of their code, reducing bugs and increasing reliability in safety-critical applications. This advancement signifies a step forward in making formal verification more accessible to Rust developers, potentially improving software safety standards across the industry.

Key Takeaways

Le marteau-pilon, forges et aciéries de Saint-Chamond, Joseph-Fortuné LAYRAUD, 1889 Creusot

About

Creusot is a deductive verifier for Rust code. It verifies your code is safe from panics, overflows, and assertion failures. By adding annotations you can take it further and verify your code does the correct thing.

Creusot works by translating Rust code to Coma, an intermediate verification language of the Why3 Platform. Users can then leverage the full power of Why3 to (semi)-automatically discharge the verification conditions!

See ARCHITECTURE.md for technical details.

Help and Discussion

If you need help using Creusot or would like to discuss, you can post on the discussions forum or join our Zulip chat!

Citing Creusot

If you would like to cite Creusot in academic contexts, we encourage you to use our ICFEM'22 publication.

Examples of Verification

... continue reading