Library to deal with Quantified Boolean Formulas in OCaml.
Linux, MacOS | Windows |
---|---|
- The main library,
qbf
, contains types and functions to deal with representing boolean literals and quantified formulas, as well as a generic interface for solvers. - A sub-library,
qbf.quantor
, contains a binding to the quantor QBF solver. The solver itself and Picosat (version 535) are packaged with the library for convenience (they are rarely packaged on distributions, and require some compilation options such as-fPIC
to work with OCaml).
It works with any version of OCaml from 3.12.1 to 4.04.0 onwards.
- tested on linux (Ubuntu 16.04, x86_64),
- tested on MacOS,
- on windows, the cross-compilation to native win32 under cygwin works fine using the mingw64-i686 cross-compiler. It does not work with the x86_64 compiler1. Should also work under windows-bash for windows 10.
The library and its dependencies are licensed under the BSD license (and the MIT license for picosat), which is fairly permissive.
Please use opam (after the first release is done).
Footnotes
-
This is a bug in quantor's
./configure
. When testing the size of a word, windows usesunsigned long long
but this option is not checked (onlyunsigned long
andunsigned
). โฉ