mirror of
https://github.com/Z3Prover/z3
synced 2025-11-08 07:15:07 +00:00
tweak bound propagation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
88269edd4b
commit
4828ed97be
3 changed files with 13 additions and 3 deletions
|
|
@ -1627,7 +1627,6 @@ br_status arith_rewriter::mk_lshr_core(unsigned sz, expr* arg1, expr* arg2, expr
|
|||
|
||||
if (is_num_y) {
|
||||
result = m_util.mk_mod(arg1, m_util.mk_int(N));
|
||||
//result = arg1; // unsound
|
||||
result = m_util.mk_idiv(result, m_util.mk_int(rational::power_of_two(y.get_unsigned())));
|
||||
return BR_DONE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue