3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-02 00:23:44 +00:00

hoist out fixed-bits reasoning into self-contained module

without dependencies on viable entries
This commit is contained in:
Nikolaj Bjorner 2023-12-25 10:59:27 -08:00
parent 658f079efd
commit b1072d0a1c
8 changed files with 183 additions and 158 deletions

View file

@ -107,7 +107,7 @@ namespace polysat {
unsigned lo = offset, hi = bv.get_bv_size(n->get_expr());
rational value;
VERIFY(bv.is_numeral(n->get_expr(), value));
out.push_back({ fixed_bits(lo, hi, value) });
out.push_back({ fixed_slice(lo, hi, value) });
return false;
};
theory_var v = m_pddvar2var[pv];