Functions | |
SORTS | sorts (size_t nb, SORT *data) |
Listing the uninterpreted sorts. More... | |
FUNSYMS | funsyms (size_t nb, FUNSYM *data) |
Listing the uninterpreted function and predicate symbols. More... | |
ASSERTIONS | assertions (size_t nb, EXPR *data) |
Listing the assertions. More... | |
SMTLIB2 | smtlib2 (SORTS s, FUNSYMS f, ASSERTIONS a) |
Representing an SMT-LIB2 problem. More... | |
int | checker (SMTLIB2 smt, CERTIF proof) |
Checking a certificate with the certified checker. More... | |
void | debug_checker (SMTLIB2 smt, CERTIF proof) |
Checking a certificate with the uncertified debugging checker. More... | |
The functional style calls the checker on lists of sorts, symbols and assertions declarations, as well as the certificate. The proof can be checked using either the certified checker checker
or the uncertified checker for debugging debug_checker
.
ASSERTIONS assertions | ( | size_t | nb, |
EXPR * | data | ||
) |
Listing
the assertions.
This function lists the assertions, whose conjunction will be checked for unsatisfiability.
nb | The number of assertions. |
data | A pointer to the assertions. |
int checker | ( | SMTLIB2 | smt, |
CERTIF | proof | ||
) |
Checking
a certificate with the certified checker.
This function calls the certified checker on the problem and the certificate.
smt | The SMT-LIB2 problem. |
proof | The certificate. |
void debug_checker | ( | SMTLIB2 | smt, |
CERTIF | proof | ||
) |
Checking
a certificate with the uncertified debugging checker.
This function calls the uncertified debugging checker on the problem and the certificate. Step by step proof checking is printed in the standard output.
smt | The SMT-LIB2 problem. |
proof | The certificate. |
FUNSYMS funsyms | ( | size_t | nb, |
FUNSYM * | data | ||
) |
Listing
the uninterpreted function and predicate symbols.
This function lists the uninterpreted function and predicate symbols.
nb | The number of uninterpreted function and predicate symbols to declare. |
data | A pointer to the uninterpreted function and predicate symbols to declare. |
SMTLIB2 smtlib2 | ( | SORTS | s, |
FUNSYMS | f, | ||
ASSERTIONS | a | ||
) |
Representing
an SMT-LIB2 problem.
This function groups together the lists of sorts, symbols and assertions.
s | The list of uninterpreted sorts. |
f | The list of uninterpreted function and predicate symbols. |
a | The list of assertions. |
SORTS sorts | ( | size_t | nb, |
SORT * | data | ||
) |
Listing
the uninterpreted sorts.
This function lists the uninterpreted sorts.
sort("Bool")
and sort("Int")
are interpreted and should not appear in the list.nb | The number of uninterpreted sorts to declare. |
data | A pointer to the uninterpreted sorts to declare. |