3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 03:07:07 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-06 18:37:39 -07:00
parent ba820223ce
commit 9c6722bea8
3 changed files with 3 additions and 9 deletions

View file

@ -885,13 +885,8 @@ namespace datalog {
}
bool context::is_monotone() {
try {
m_rule_properties.check_for_negated_predicates();
return true;
}
catch (...) {
return false;
}
// only the spacer engine uses monotone semantics.
return get_engine() == SPACER_ENGINE;
}

View file

@ -348,7 +348,7 @@ namespace datalog {
void resolve_rule(rule_manager& rm, rule const& r1, rule const& r2, unsigned idx,
expr_ref_vector const& s1, expr_ref_vector const& s2, rule& res) {
if (!r1.get_proof()) {
if (!r1.get_proof() || !r2.get_proof()) {
return;
}
SASSERT(r2.get_proof());

View file

@ -249,7 +249,6 @@ class horn_tactic : public tactic {
proof_converter_ref & pc) {
lbool is_reachable = l_undef;
try {
is_reachable = m_ctx.query(q);
}