mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 01:32:17 +00:00
detect approximate relations to return unknown, fix product relations, fix symbolic magic set transformation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d9e3881560
commit
784455d1fc
18 changed files with 182 additions and 155 deletions
|
@ -95,11 +95,13 @@ namespace datalog {
|
|||
neg.push_back(false);
|
||||
}
|
||||
new_rule = rm.mk(mk_ans(r.get_head()), tail.size(), tail.c_ptr(), neg.c_ptr(), r.name(), true);
|
||||
result->add_rule(new_rule);
|
||||
if (source.is_output_predicate(r.get_decl())) {
|
||||
result->set_output_predicate(new_rule->get_decl());
|
||||
new_rule = rm.mk(mk_query(r.get_head()), 0, 0, 0, r.name(), true);
|
||||
result->add_rule(new_rule);
|
||||
}
|
||||
|
||||
result->add_rule(new_rule);
|
||||
for (unsigned j = 0; j < utsz; ++j) {
|
||||
new_rule = rm.mk(mk_query(r.get_tail(j)), tail.size()-utsz+j, tail.c_ptr(), neg.c_ptr(), r.name(), true);
|
||||
result->add_rule(new_rule);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue