3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00
z3/examples/tptp
Nikolaj Bjorner 59e388ece1 handle bind proof constructor and print lambda
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-06-04 11:59:59 -07:00
..
CMakeLists.txt
README
tptp5.cpp handle bind proof constructor and print lambda 2020-06-04 11:59:59 -07:00
tptp5.h
tptp5.lex.cpp
tptp5.tab.c
tptp5.tab.h

TPTP front-end and utilities as a sample using the C++ bindings.
To build the example execute
   make examples
in the build directory.

This command will create the executable tptp.
On Windows, you can just execute it.
On macOS and Linux, you must install z3 first using
   sudo make install
OR update LD_LIBRARY_PATH (Linux) or DYLD_LIBRARY_PATH (macOS)
   with the build directory. You need that to be able to 
   find the Z3 shared library.

The sample illustrates using Z3 from the TPTP language.
The TPTP language is documented on http://tptp.org
It also exposes utilities for converting between SMT-LIB 
and TPTP format.