mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 09:34:08 +00:00
add tptp5 example to cmake, adding output SZS directives for Geoff
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6f971a3a86
commit
f3d657ebd1
|
@ -1,2 +1,3 @@
|
|||
add_subdirectory(c)
|
||||
add_subdirectory(c++)
|
||||
add_subdirectory(tptp)
|
||||
|
|
|
@ -2408,7 +2408,9 @@ static void prove_tptp() {
|
|||
}
|
||||
if (g_generate_proof) {
|
||||
try {
|
||||
std::cout << "SZS output start Proof\n";
|
||||
display_proof(ctx, fmls, solver);
|
||||
std::cout << "SZS output end Proof\n";
|
||||
}
|
||||
catch (failure_ex& ex) {
|
||||
std::cerr << "Proof display could not be completed: " << ex.msg << "\n";
|
||||
|
@ -2434,7 +2436,9 @@ static void prove_tptp() {
|
|||
std::cout << "SZS status Satisfiable\n";
|
||||
}
|
||||
if (g_generate_model) {
|
||||
std::cout << "SZS output start Model\n";
|
||||
display_model(ctx, solver.get_model());
|
||||
std::cout << "SZS output end Model\n";
|
||||
}
|
||||
break;
|
||||
case z3::unknown:
|
||||
|
|
Loading…
Reference in a new issue