Skip to content
/ ethos Public

A Flexible and Efficient Proof Checker for SMT Solvers

License

Notifications You must be signed in to change notification settings

cvc5/ethos

Repository files navigation

Ethos Checker

A Flexible and Efficient Proof Checker for SMT Solvers

Building the Ethos checker

You need cmake (>= version 3.12) and gmp to build the Ethos Checker.

To build a regular build, issue:

cd /path/to/ethos_checker
mkdir build
cd build
cmake ..
make

The executable, called ethos, will be created in the build/src folder.

Alternatively you can configure a regular build with

cmake -DCMAKE_BUILD_TYPE=Release ..

To build a regular build and install it into /path/to/install, issue:

cd /path/to/ethos_checker
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/path/to/install ..
make install

To build a debug build, issue:

cd /path/to/ethos_checker
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make

Using the Ethos checker

ethos [script]

where script is a Eunoia script. See tests and proofs for examples.

For further details, see the user manual here.

Running Tests

You can add tests in the tests directory.

Run them using make test in the build directory.

You can also filter tests using regular expressions for example:

ctest -R arith