Creusot
Creusot is a deductive verifier for Rust that proves code conforms to formal specifications.
At a Glance
Creusot, a deductive verifier for Rust, is released under the OSI-approved LGPL-2.1 license and installed from source at no cost.
Engagement
Available On
Alternatives
Listed Dec 2026
About Creusot
Creusot is a deductive verifier for the Rust programming language, developed at the Laboratoire Méthodes Formelles. It checks that code is free of panics, overflows and undefined behaviors, and lets users go further by proving that code matches a formal specification. The current release listed on the site is version 0.16.0, and the source is open under the LGPL-2.1 license.
What It Is
Creusot is a formal verification tool for Rust. Developers annotate functions with contracts and loops with invariants, and Creusot proves that the code satisfies them. Verification covers safety properties such as panics, overflows and assertion failures, as well as functional correctness when specifications are added.
How the Verification Workflow Works
Creusot translates Rust programs into Coma, an intermediate verification language of the Why3 Platform. Why3 then generates verification conditions, which are dispatched to off-the-shelf SMT solvers. Multiple solvers can be combined to use their respective strengths. Automation handles simple goals, so users can focus on the remaining proof obligations.
Specification Language and Techniques
Contracts are written in Pearlite, a specification language that supports user-defined logic functions and predicates, including in traits. Prophecies provide the logical model for first-class support of mutable borrows. Termination checking uses variants and well-founded relations. Ghost ownership supports verifying code with interior mutability, raw pointers or atomics.
Setup Path
Installation requires rustup and opam. Users clone the repository and run the INSTALL script, then confirm it with cargo creusot --help. The project provides a guide, an API reference for creusot-std, a tutorial, and examples such as verified sorting algorithms, union-find and a persistent array. The README cites CreuSAT, a verified SAT solver, and Krabka, a Kafka broker with verified safety algorithms, as projects built with it.
Collections
Popular collections
- Codebase Context Generators
Collection by @joemseifi
- Frameworks
Collection by @joemseifi
- Let Your Agents Talk to Each Other
Collection by @leftchannel
- See What Your Agent Is Doing remix
Collection by @joemseifi
Add Creusot to one of your collections.
Community Discussions
Be the first to start a conversation about Creusot
Share your experience with Creusot, ask questions, or help others learn from your insights.
Pricing
Open Source
Creusot, a deductive verifier for Rust, is released under the OSI-approved LGPL-2.1 license and installed from source at no cost.
- Licensed under GNU Lesser General Public License v2.1 (LGPL-2.1)
- Self-installed from the GitHub repository
- Deductive verification of Rust programs via Why3 and SMT solvers
- Prophecies, Pearlite specification language, termination checking, ghost ownership
Capabilities
Key Features
- Deductive verification of Rust code
- Pearlite contract specification language
- Prophecy-based support for mutable borrows
- Termination checking with variants
- Ghost ownership for raw pointers, interior mutability and atomics
- Loop invariants and function contracts
- Automated SMT solver dispatch via Why3
- Translation of Rust to the Coma intermediate verification language
- Example gallery including verified sorts and union-find
