Robbepop / stevia

A simple (unfinished) SMT solver for QF_ABV.
Other
35 stars 5 forks source link
bitvector decision-procedure smt smtlibv2 symbolic-execution

Stevia - Satisfiability Modulo Theories (SMT) Solver

Linux Windows Chat Coveralls Codecov Metrics
travis appveyor chat coveralls licence tokei

This is a brave attempt to write a simple SMT solver in the Rust (github) programming language.

It is based on the design of:

Currently the solver is in very early development phase.

Supported Theories (SMT)

The combined theory in SMT notation is called QF_ABV.

Future Goals

Simplifications

Stevia supports word-level transformations, called simplifications, that it applies throughout the solving process. In the following is an example of what is possible with the WIP implementation of the simplifier.

The arithmetic expression in LISP syntax:

(+ x 42 (- x y) (* y (-5)) (- (+ x 10 y)))

Is simplified to:

(+ 32 (* -7 y) x)

This output can then be further processed by other simplification and solving processes.

Unstable Features Used

These features need to be stabilized before this crate can be used on the stable channel.

Current State: Rust version 1.26

License

Licensed under either of

at your option.

Dual licence: badge badge

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.