package cvc5

  1. Overview
  2. Docs
OCaml bindings for the cvc5 SMT solver

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-cvc5-v1.3.0-3.tar.gz
md5=42d8a1e594a2358936141b6416cd8b27
sha512=6ae90b58c9d9eb14ff52d51ecfa6fbd97e77eb87bc4e9c188b255e4fc1e206200d7f869698a586d27b462759a1d7b7438024cea7b7850eee97192862dcd971a0

doc/README.html

Build badge MIT Platform

ocaml-cvc5

OCaml bindings for the cvc5 Satisfiability Modulo Theories (SMT) solver

Installation

Opam


  • Install opam.
  • Bootstrap the OCaml compiler:
opam init
opam switch create 5.2.0 5.2.0
  • Install cvc5's OCaml bindings:
opam install cvc5

:warning: Installation via Opam is only available for Linux systems.

Build from source


  • Clone the complete source tree:
git clone --recurse-submodules https://github.com/formalsec/ocaml-cvc5
  • Install the library dependencies:
cd ocaml-cvc5
opam install . --deps-only
  • Build and test:
dune build
dune runtest
  • Install cvc5's OCaml bindings on your path by running:
dune install

Examples

Run examples with:

dune exec -- examples/toy.exe  #replace toy with any other example

Development

Creating a new release

# Create a new tag and push it to github
git tag -a TAG
git push -u origin TAG

# Wait for CI to create a new release and then run publish script
./scripts/publish.sh

To run the publish script you need to install opam-publish and create a github token with the scopes repo and workflow. You can then set this token to the env var export OPAM_PUBLISH_GH_TOKEN=ghp_....