mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
fix missing equality propagation in new bv solver
This commit is contained in:
parent
36e40a296f
commit
f6f594e21d
5 changed files with 35 additions and 13 deletions
|
@ -203,9 +203,11 @@ namespace euf {
|
|||
if (!m.is_bool(e))
|
||||
continue;
|
||||
unsigned id = n->get_root_id();
|
||||
if (!m_values.get(id))
|
||||
continue;
|
||||
bool tt = m.is_true(m_values.get(id));
|
||||
if (mdl.is_true(e) != tt) {
|
||||
IF_VERBOSE(0, verbose_stream() << "Failed to evaluate " << id << " " << mk_bounded_pp(e, m) << "\n");
|
||||
IF_VERBOSE(0, verbose_stream() << "Failed to evaluate " << id << " " << mk_bounded_pp(e, m) << " " << mdl(e) << " " << mk_bounded_pp(m_values.get(id), m) << "\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue