mirror of
https://github.com/Z3Prover/z3
synced 2025-09-05 09:37:44 +00:00
disable ternary, fixes to propagation, make bv_rewrites for multiplier n-ary
This commit is contained in:
parent
5352a0106d
commit
fe1b4bf5ce
12 changed files with 159 additions and 75 deletions
|
@ -71,6 +71,7 @@ namespace sat {
|
|||
VERIFY(found);
|
||||
}
|
||||
|
||||
#if ENABLE_TERNARY
|
||||
void erase_ternary_watch(watch_list& wlist, literal l1, literal l2) {
|
||||
watched w(l1, l2);
|
||||
watch_list::iterator it = wlist.begin(), end = wlist.end();
|
||||
|
@ -96,6 +97,7 @@ namespace sat {
|
|||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
void conflict_cleanup(watch_list::iterator it, watch_list::iterator it2, watch_list& wlist) {
|
||||
watch_list::iterator end = wlist.end();
|
||||
|
@ -118,9 +120,11 @@ namespace sat {
|
|||
if (w.is_learned())
|
||||
out << "*";
|
||||
break;
|
||||
#if ENABLE_TERNARY
|
||||
case watched::TERNARY:
|
||||
out << "(" << w.get_literal1() << " " << w.get_literal2() << ")";
|
||||
break;
|
||||
#endif
|
||||
case watched::CLAUSE:
|
||||
out << "(" << w.get_blocked_literal() << " " << *(ca.get_clause(w.get_clause_offset())) << ")";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue