3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-19 12:23:38 +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() { bool context::is_monotone() {
try { // only the spacer engine uses monotone semantics.
m_rule_properties.check_for_negated_predicates(); return get_engine() == SPACER_ENGINE;
return true;
}
catch (...) {
return false;
}
} }

View file

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

View file

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