3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00

add cases for recognizing ALL. Issue #674

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-07-09 05:18:26 -07:00
parent 59865f5502
commit 53b3edc8cc
3 changed files with 5 additions and 3 deletions

View file

@ -989,7 +989,7 @@ extern "C" {
case OP_TO_INT: return Z3_OP_TO_INT;
case OP_IS_INT: return Z3_OP_IS_INT;
default:
UNREACHABLE();
//UNREACHABLE();
return Z3_OP_UNINTERPRETED;
}
}

View file

@ -546,6 +546,7 @@ bool cmd_context::logic_has_arith_core(symbol const & s) const {
s == "QF_FPBV" ||
s == "QF_BVFP" ||
s == "QF_S" ||
s == "ALL" ||
s == "HORN";
}
@ -566,6 +567,7 @@ bool cmd_context::logic_has_bv_core(symbol const & s) const {
s == "QF_BVRE" ||
s == "QF_FPBV" ||
s == "QF_BVFP" ||
s == "ALL" ||
s == "HORN";
}
@ -609,6 +611,7 @@ bool cmd_context::logic_has_array_core(symbol const & s) const {
s == "AUFNIRA" ||
s == "AUFBV" ||
s == "ABV" ||
s == "ALL" ||
s == "QF_ABV" ||
s == "QF_AUFBV" ||
s == "HORN";
@ -702,7 +705,7 @@ void cmd_context::init_external_manager() {
}
bool cmd_context::supported_logic(symbol const & s) const {
return s == "QF_UF" || s == "UF" ||
return s == "QF_UF" || s == "UF" ||
logic_has_arith_core(s) || logic_has_bv_core(s) ||
logic_has_array_core(s) || logic_has_seq_core(s) ||
logic_has_horn(s) || logic_has_fpa_core(s);

View file

@ -45,7 +45,6 @@
#include"scoped_ctrl_c.h"
#include"cancel_eh.h"
#include"scoped_timer.h"
//# include"pp_params.hpp"
/* A wrapper around an ast manager, providing convenience methods. */