mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 05:30:51 +00:00
working on quantifiers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fb947f50fb
commit
c82deeaf3c
6 changed files with 49 additions and 33 deletions
|
@ -121,10 +121,11 @@ namespace datalog {
|
|||
}
|
||||
else {
|
||||
rule_ref new_rule(rm);
|
||||
std::cout << mk_pp(r.get_head(), m) << " :- \n";
|
||||
for (unsigned i = 0; i < tail.size(); ++i) {
|
||||
std::cout << " " << mk_pp(tail[i].get(), m) << "\n";
|
||||
}
|
||||
TRACE("dl",
|
||||
tout << mk_pp(r.get_head(), m) << " :- \n";
|
||||
for (unsigned i = 0; i < tail.size(); ++i) {
|
||||
tout << " " << mk_pp(tail[i].get(), m) << "\n";
|
||||
});
|
||||
new_rule = rm.mk(r.get_head(), tail.size(), tail.c_ptr(), 0, r.name(), false);
|
||||
quantifier_ref_vector* qs = alloc(quantifier_ref_vector, quantifiers);
|
||||
m_refs.push_back(qs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue