mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 04:13:38 +00:00
parent
ba820223ce
commit
9c6722bea8
3 changed files with 3 additions and 9 deletions
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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());
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue