mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +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
|
@ -527,6 +527,9 @@ namespace datalog {
|
|||
|
||||
|
||||
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());
|
||||
const rule_stratifier& strat = rules.get_stratifier();
|
||||
|
|
Loading…
Reference in a new issue