mirror of
https://github.com/Z3Prover/z3
synced 2025-09-11 04:01:25 +00:00
parent
6eebfd0629
commit
2673807a7f
2 changed files with 6 additions and 5 deletions
|
@ -397,12 +397,11 @@ namespace datalog {
|
||||||
ptr_vector<rule>::const_iterator end = m_rules.c_ptr() + m_rules.size();
|
ptr_vector<rule>::const_iterator end = m_rules.c_ptr() + m_rules.size();
|
||||||
for (; it != end; it++) {
|
for (; it != end; it++) {
|
||||||
rule * r = *it;
|
rule * r = *it;
|
||||||
app * head = r->get_head();
|
func_decl * head_decl = r->get_decl();
|
||||||
func_decl * head_decl = head->get_decl();
|
|
||||||
unsigned n = r->get_uninterpreted_tail_size();
|
unsigned n = r->get_uninterpreted_tail_size();
|
||||||
for (unsigned i = r->get_positive_tail_size(); i < n; i++) {
|
for (unsigned i = r->get_positive_tail_size(); i < n; i++) {
|
||||||
SASSERT(r->is_neg_tail(i));
|
SASSERT(r->is_neg_tail(i));
|
||||||
func_decl * tail_decl = r->get_tail(i)->get_decl();
|
func_decl * tail_decl = r->get_decl(i);
|
||||||
unsigned neg_strat = get_predicate_strat(tail_decl);
|
unsigned neg_strat = get_predicate_strat(tail_decl);
|
||||||
unsigned head_strat = get_predicate_strat(head_decl);
|
unsigned head_strat = get_predicate_strat(head_decl);
|
||||||
|
|
||||||
|
|
|
@ -358,6 +358,8 @@ class horn_tactic : public tactic {
|
||||||
not_supported("xform.instantiate_arrays");
|
not_supported("xform.instantiate_arrays");
|
||||||
if (p.xform_magic())
|
if (p.xform_magic())
|
||||||
not_supported("xform.magic");
|
not_supported("xform.magic");
|
||||||
|
if (p.xform_quantify_arrays())
|
||||||
|
not_supported("xform.quantify_arrays");
|
||||||
}
|
}
|
||||||
|
|
||||||
void not_supported(char const* s) {
|
void not_supported(char const* s) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue