RepositoryRust
CR

creusot-rs/creusot

Creusot helps you prove your Rust code is correct.

2.0kstars
113forks
95issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: contracts

#1 Repository of the week

1
TINIX TRENDING·Topic: proof

#1 Repository of the week

1
TINIX TRENDING·Topic: deductive-reasoning

#1 Repository of the week

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


Creusot

Guide API Tutorial   Zulip Discussions   Home Devlog

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

To get an idea of what verifying a program with Creusot looks like, we encourage you to take a look at some of our test suite:

More examples are found in examples and tests/should_succeed.

Projects built with Creusot

  • CreuSAT is a verified SAT solver written in Rust and verified with Creusot. It really pushes the tool to its limits and gives an idea of what 'use in anger' looks like.
  • Another big project is in the works :)

Installing Creusot as a user

  1. Install rustup, to get the suitable Rust toolchain
  2. Get opam, the package manager for OCaml
  3. Clone the creusot repository, then move into the creusot directory.
    git clone https://github.com/creusot-rs/creusot
    cd creusot
    
  4. Install Creusot:
    ./INSTALL
    
  5. Check that the installation succeeded:
    cargo creusot --help
    

See the Creusot guide: Installation for more details.

Upgrading Creusot

  1. Enter the cloned Creusot git repository used previously to install Creusot
  2. Update Creusot's sources:
    git pull
    
  3. Update opam's package listing:
    opam update
    
  4. Reinstall Creusot:
    ./INSTALL
    

Hacking on Creusot

See CONTRIBUTING.md for information on the developer workflow for hacking on the Creusot codebase.

Similar Projects

Discover other similar projects and AI models.

RepositoryRust
sarsko/CreuSAT

CreuSAT - A formally verified SAT solver written in Rust and verified with Creusot.

710
Aug 20, 2026
RepositoryTypeScript
quint-co/quint

An executable specification language with delightful tooling based on the temporal logic of actions (TLA)

2.3k
Nov 27, 2026
RepositoryF*
hacl-star/hacl-star

HACL*, a formally verified cryptographic library written in F*

1.8k
Nov 29, 2026
RepositoryOCaml
AeneasVerif/aeneas

A verification toolchain for Rust programs

1.3k
Nov 30, 2026
RepositoryPython
aallan/vera

Vera: a programming language designed for LLMs to write

425
Nov 26, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
156.6M
Jun 1, 2026
RepositoryRust
prusti/prusti

A static verifier for Rust, based on the Viper verification infrastructure.

1.8k
Dec 2, 2026
RepositoryRust
AeneasVerif/charon

Analyze Rust crates without touching compiler internals

502
Dec 2, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

159.0k
Dec 3, 2026