Functions | |
void | start_smt2 () |
Starting a proof. More... | |
void | declare_sort (SORT s) |
Declaring a sort. More... | |
void | declare_fun (FUNSYM f) |
Declaring a function or predicate symbol. More... | |
void | assertf (EXPR f) |
Asserting a formula. More... | |
int | check_proof (CERTIF proof) |
Checking a certificate with the certified checker. More... | |
void | debug_check_proof (CERTIF proof) |
Checking a certificate with the uncertified debugging checker. More... | |
The imperative style directly correspond to SMT-LIB2 commands. A proof starts with start_smt2()
, then sorts, function and predicate symbols, and assertions are declared. Finally, the proof is checked, using either the certified checker check_proof
or the uncertified checker for debugging debug_check_proof
.
void assertf | ( | EXPR | f | ) |
Asserting
a formula.
This function asserts the formula f
.
f | The formula that is asserted. |
int check_proof | ( | CERTIF | proof | ) |
Checking
a certificate with the certified checker.
This function calls the certified checker on the problem that was input in the imperative style.
proof | The certificate. |
void debug_check_proof | ( | CERTIF | proof | ) |
Checking
a certificate with the uncertified debugging checker.
This function calls the uncertified debugging checker on the problem that was input in the imperative style. Step by step proof checking is printed in the standard output.
proof | The certificate. |
void declare_fun | ( | FUNSYM | f | ) |
Declaring
a function or predicate symbol.
This function declares the uninterpreted function or predicate symbol f
.
f | The uninterpreted function or predicate symbol to declare. |
void declare_sort | ( | SORT | s | ) |
Declaring
a sort.
This function declares the uninterpreted sort s
.
sort("Bool")
and sort("Int")
are interpreted and should not be declared.s | The uninterpreted sort to declare. |
void start_smt2 | ( | ) |
Starting
a proof.
This function starts the imperative proof mode.