mirror of
https://github.com/Z3Prover/z3
synced 2025-06-01 11:51:20 +00:00
fix bug reported by Nuno Lopes: inlining is unsound for negated predicates
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
81f1f7690d
commit
084a6f35eb
1 changed files with 3 additions and 0 deletions
|
@ -527,6 +527,9 @@ namespace datalog {
|
||||||
|
|
||||||
|
|
||||||
bool mk_rule_inliner::do_eager_inlining(rule * r, rule_set const& rules, rule_ref& res) {
|
bool mk_rule_inliner::do_eager_inlining(rule * r, rule_set const& rules, rule_ref& res) {
|
||||||
|
if (r->has_negation()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
SASSERT(rules.is_closed());
|
SASSERT(rules.is_closed());
|
||||||
const rule_stratifier& strat = rules.get_stratifier();
|
const rule_stratifier& strat = rules.get_stratifier();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue