3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 04:26:00 +00:00

fix missing dependency, expose inefficiency

This commit is contained in:
Nikolaj Bjorner 2021-12-19 12:32:20 -08:00
parent c1d5111159
commit 2afc58cc08
4 changed files with 39 additions and 3 deletions

View file

@ -34,6 +34,17 @@ namespace polysat {
for (auto v : r.free_vars())
if (!m_vars.contains(v))
m_vars.push_back(v);
switch (c) {
case code::and_op:
case code::or_op:
case code::xor_op:
if (p.index() > q.index())
std::swap(m_p, m_q);
break;
default:
break;
}
}
lbool op_constraint::eval(pdd const& p, pdd const& q, pdd const& r) const {