29 releases

0.16.2 Sep 12, 2022
0.16.0 Apr 19, 2022
0.14.1 Nov 18, 2021
0.12.0 Apr 5, 2021
0.2.0 Sep 15, 2016

#645 in Science

Download history 30/week @ 2024-06-17 26/week @ 2024-06-24 97/week @ 2024-07-01 6/week @ 2024-07-08 4/week @ 2024-07-15 304/week @ 2024-07-29 5/week @ 2024-08-19 77/week @ 2024-08-26 5/week @ 2024-09-02 11/week @ 2024-09-09 8/week @ 2024-09-16 67/week @ 2024-09-23 65/week @ 2024-09-30

152 downloads per month
Used in 2 crates (via mikino_api)

MIT/Apache

255KB
4K SLoC

crates.io Documentation CI

rsmt2

A generic library to interact with SMT-LIB 2 compliant solvers running in a separate system process, such as z3 and CVC4.

If you use this library consider contacting us on the repository so that we can add your project to the readme.

See changes.md for the list of changes.

Features

  • support main solvers (z3, CVC4, Yices 2)
  • all basic declaration/definition/assertion/model/values commands
  • check-sat-assuming, with dedicated actlit API
  • the commands to run each solver can be passed through environment variables, see the conf module
  • alt-ergo
  • get-proof command

Known projects using rsmt2

  • kinō, a model-checker for transition systems (abandoned)
  • hoice, a machine-learning-based predicate synthesizer for horn clauses

License

MIT/Apache-2.0

Dependencies

~2.4–7.5MB
~68K SLoC