Symbolic formula representation and solver interaction library
Go to file
Langston Barrett 30309b5d86
Add bv{Zero,One} helpers, hlint config (#258)
Fixes #257. The HLint configuration only checks that these helpers are
used where appropriate. I used it to find places where they would be
useful. It may also serve as a template for downstream repos. I added
HLint checking to CI as well.
2024-04-03 15:02:40 -04:00
.github/workflows Add bv{Zero,One} helpers, hlint config (#258) 2024-04-03 15:02:40 -04:00
dependencies Allow building with GHC 9.8 2024-03-04 09:37:43 -05:00
what4 Add bv{Zero,One} helpers, hlint config (#258) 2024-04-03 15:02:40 -04:00
what4-abc Allow building with GHC 9.8 2024-03-04 09:37:43 -05:00
what4-blt Allow building with GHC 9.8 2024-03-04 09:37:43 -05:00
what4-transition-system Allow building with GHC 9.8 2024-03-04 09:37:43 -05:00
.gitignore Add darcs and emacs backups to .gitignore. 2021-04-19 15:57:15 -07:00
.gitmodules Remove lingering references to Sally 2022-04-11 16:51:47 -04:00
.hlint.yaml Add bv{Zero,One} helpers, hlint config (#258) 2024-04-03 15:02:40 -04:00
cabal.project Remove lingering references to Sally 2022-04-11 16:51:47 -04:00
README.md Add a solver adapter for bitwuzla 2024-01-12 15:35:02 -05:00

What4 is a library for representing symbolic terms and communicating with satisfiability and SMT solvers (e.g. Yices and Z3).

It was originally a part of the Crucible project, but has found use cases that are independent of its original purpose as the representation language for the Crucible symbolic simulator, and has thus been split out into a separate repository.

For an overview of What4 and how to use it, please see the package-level README.

This material is based upon work supported by the Defense Advanced Research Projects Agency (DARPA) under Contract No. HR0011-19-C-0070. The views, opinions, and/or findings expressed are those of the author(s) and should not be interpreted as representing the official views or policies of the Department of Defense or the U.S. Government.

Solver Compatibility

Feature ABC Bitwuzla Boolector CVC4 CVC5 Dreal STP Yices Z3
Supported yes yes >= 3.2.0, ? >= 1.8, ? 1.0.2 yes >= 2.3.3, ? 2.6.x, ? 4.8.8 -- 4.8.14
goal timeouts ? yes yes yes yes ? yes yes ! (4.8.11 or 4.8.12)
strings with unicode and escape codes ? no ? >= 1.8 yes ? ? ? >= 4.8.11