https://github.com/formalsec/ocaml-cvc5
OCaml bindings for the cvc5 SMT solver
https://github.com/formalsec/ocaml-cvc5
cvc5 ocaml
Last synced: 3 months ago
JSON representation
OCaml bindings for the cvc5 SMT solver
- Host: GitHub
- URL: https://github.com/formalsec/ocaml-cvc5
- Owner: formalsec
- License: gpl-3.0
- Created: 2024-03-27T18:06:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-20T22:32:34.000Z (about 1 year ago)
- Last Synced: 2024-04-20T23:34:16.971Z (about 1 year ago)
- Topics: cvc5, ocaml
- Language: OCaml
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/formalsec/ocaml-cvc5/actions) [](LICENSE) 
ocaml-cvc5
===============================================================================OCaml bindings for the [cvc5] Satisfiability Modulo Theories (SMT) solver
## Installation
### Opam
---
- Install [opam](https://opam.ocaml.org/doc/Install.html).
- Bootstrap the OCaml compiler:```sh
opam init
opam switch create 5.2.0 5.2.0
```- Install cvc5's OCaml bindings:
```sh
opam install cvc5
```
:warning: Installation via Opam is only available for Linux systems.### Build from source
---
- Clone the complete source tree:```sh
git clone --recurse-submodules https://github.com/formalsec/ocaml-cvc5
```- Install the library dependencies:
```sh
cd ocaml-cvc5
opam install . --deps-only
```- Build and test:
```sh
dune build
dune runtest
```- Install cvc5's OCaml bindings on your path by running:
```sh
dune install
```## Examples
Run examples with:
```sh
dune exec -- examples/toy.exe #replace toy with any other example
```[cvc5]: https://github.com/cvc5/cvc5