3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-20 12:53:38 +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_TO_INT: return Z3_OP_TO_INT;
case OP_IS_INT: return Z3_OP_IS_INT; case OP_IS_INT: return Z3_OP_IS_INT;
default: default:
UNREACHABLE(); //UNREACHABLE();
return Z3_OP_UNINTERPRETED; 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_FPBV" ||
s == "QF_BVFP" || s == "QF_BVFP" ||
s == "QF_S" || s == "QF_S" ||
s == "ALL" ||
s == "HORN"; s == "HORN";
} }
@ -566,6 +567,7 @@ bool cmd_context::logic_has_bv_core(symbol const & s) const {
s == "QF_BVRE" || s == "QF_BVRE" ||
s == "QF_FPBV" || s == "QF_FPBV" ||
s == "QF_BVFP" || s == "QF_BVFP" ||
s == "ALL" ||
s == "HORN"; s == "HORN";
} }
@ -609,6 +611,7 @@ bool cmd_context::logic_has_array_core(symbol const & s) const {
s == "AUFNIRA" || s == "AUFNIRA" ||
s == "AUFBV" || s == "AUFBV" ||
s == "ABV" || s == "ABV" ||
s == "ALL" ||
s == "QF_ABV" || s == "QF_ABV" ||
s == "QF_AUFBV" || s == "QF_AUFBV" ||
s == "HORN"; s == "HORN";

View file

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