mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 02:15:19 +00:00
check for uninterpreted functions in tail for PDR
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f4e048c1e8
commit
0aaa67fa7d
|
@ -675,9 +675,11 @@ namespace datalog {
|
|||
case PDR_ENGINE:
|
||||
check_existential_tail(r);
|
||||
check_positive_predicates(r);
|
||||
check_uninterpreted_free(r);
|
||||
break;
|
||||
case QPDR_ENGINE:
|
||||
check_positive_predicates(r);
|
||||
check_uninterpreted_free(r);
|
||||
break;
|
||||
case BMC_ENGINE:
|
||||
check_positive_predicates(r);
|
||||
|
|
|
@ -223,6 +223,7 @@ public:
|
|||
dlctx.updt_params(m_params);
|
||||
unsigned timeout = m_dl_ctx->get_params().timeout();
|
||||
cancel_eh<datalog::context> eh(dlctx);
|
||||
bool query_exn = false;
|
||||
lbool status = l_undef;
|
||||
{
|
||||
scoped_ctrl_c ctrlc(eh);
|
||||
|
@ -237,6 +238,7 @@ public:
|
|||
}
|
||||
catch (z3_exception& ex) {
|
||||
ctx.regular_stream() << "(error \"query failed: " << ex.msg() << "\")" << std::endl;
|
||||
query_exn = true;
|
||||
}
|
||||
}
|
||||
switch (status) {
|
||||
|
@ -269,7 +271,7 @@ public:
|
|||
break;
|
||||
|
||||
case datalog::OK:
|
||||
UNREACHABLE();
|
||||
SASSERT(query_exn);
|
||||
break;
|
||||
|
||||
case datalog::CANCELED:
|
||||
|
|
Loading…
Reference in a new issue