mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
ensure assume-eqs is invoked after check-lia statically
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d2e3e4895e
commit
ef943347ee
4 changed files with 51 additions and 52 deletions
|
@ -1595,8 +1595,10 @@ public:
|
|||
CTRACE("arith",
|
||||
is_eq(v1, v2) && n1->get_root() != n2->get_root(),
|
||||
tout << "assuming eq: v" << v1 << " = v" << v2 << "\n";);
|
||||
if (is_eq(v1, v2) && n1->get_root() != n2->get_root() && th.assume_eq(n1, n2))
|
||||
if (is_eq(v1, v2) && n1->get_root() != n2->get_root() && th.assume_eq(n1, n2)) {
|
||||
++m_stats.m_assume_eqs;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
@ -1690,13 +1692,12 @@ public:
|
|||
|
||||
switch (m_final_check_idx) {
|
||||
case 0:
|
||||
if (assume_eqs()) {
|
||||
++m_stats.m_assume_eqs;
|
||||
st = FC_CONTINUE;
|
||||
}
|
||||
st = check_lia();
|
||||
break;
|
||||
case 1:
|
||||
st = check_lia();
|
||||
if (assume_eqs())
|
||||
st = FC_CONTINUE;
|
||||
|
||||
break;
|
||||
case 2:
|
||||
switch (check_nla()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue