3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-01 12:58:54 +00:00

fixes based on benchmarking UFDTLIA/NIA/BV

This commit is contained in:
Nikolaj Bjorner 2025-01-29 17:00:26 -08:00
parent f1e0950069
commit e3566288a4
3 changed files with 16 additions and 6 deletions

View file

@ -666,7 +666,6 @@ namespace sls {
void bv_valuation::tighten_range() {
// verbose_stream() << "tighten " << m_lo << " " << m_hi << " " << m_bits << "\n";
if (!has_range())
return;
@ -683,7 +682,7 @@ namespace sls {
if (!has_range())
return;
if (!in_range(m_bits)) {
if (!in_range(m_bits) || !in_range(m_fixed_values)) {
if (!can_set(m_lo))
return;
m_lo.copy_to(nw, m_fixed_values);
@ -698,7 +697,6 @@ namespace sls {
if (hi() < rational::power_of_two(i))
m_is_fixed.set(i, true);
// verbose_stream() << "post tighten " << m_lo << " " << m_hi << " " << m_bits << "\n";
SASSERT(well_formed());
}