CreuSAT
A SAT solver written in Rust and formally verified with Creusot, proven free of runtime panics.
At a Glance
CreuSAT, a formally verified SAT solver written in Rust, released under the MIT License and free to use, copy, modify and distribute.
Engagement
Available On
Alternatives
Listed Dec 2026
About CreuSAT
CreuSAT is an open-source SAT solver written in Rust and deductively verified with Creusot. It was developed by Sarek Høverstad Skotåm as part of a 2022 master's thesis at the University of Oslo. The repository also includes related verified and experimental solvers.
What It Is
CreuSAT solves the Boolean satisfiability problem. It reads formulas in DIMACS CNF format and reports whether they are satisfiable or unsatisfiable. According to the README, a SAT or UNSAT answer is proven correct, and the solver is statically proven free of runtime panics, so it cannot crash.
Solver Techniques
The solver implements clause analysis with clause learning, unit propagation, and two watched literals with blocking literals and circular search. It also uses the variable move-to-front decision heuristic, phase saving, and backtracking of the trail to the asserting level. Restarts are based on exponential moving averages, and clause deletion is supported without garbage collection.
Building and Proving
The solver is built, tested and run with Cargo, taking a DIMACS CNF file as input. Proofs are checked by installing Creusot and running cargo creusot why3 ide, which opens the Why3 IDE where SMT solvers discharge the verification conditions. The README notes that the Cargo Make workflow is currently broken.
Related Solvers and Learning Material
The repository includes Robinson, a fully verified DPLL-based solver, and Friday, a fully verified and deliberately naive solver. Both are easier to follow than CreuSAT, and the README suggests them for learning Creusot. JigSAT is an unverified solver used for optimization experiments. The thesis gives an introduction to Creusot, program verification and SAT solving.
Collections
Popular collections
- Team of Agents
Collection by @joemseifi
- Pick Up Where Your Agent Left Off
Collection by @caiovalverde
- Read Your Agent's Code Before You Merge
Collection by @presscheck
- Give Your Agent Design Taste
Collection by @linetwk
Add CreuSAT to one of your collections.
Community Discussions
Be the first to start a conversation about CreuSAT
Share your experience with CreuSAT, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
CreuSAT, a formally verified SAT solver written in Rust, released under the MIT License and free to use, copy, modify and distribute.
- Formally verified using Creusot
- Statically proven free of runtime panics
- Clause analysis with clause learning
- Unit propagation
- Two watched literals (2WL) with blocking literals and circular search
Capabilities
Key Features
- Formally verified with Creusot
- Proven free of runtime panics
- Clause learning
- Unit propagation
- Two watched literals with blocking literals
- VMTF decision heuristic
- Phase saving
- EMA-based restarts
- Clause deletion
- DIMACS CNF input
