3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

z3str3: ignore non-relevant formulas in bitvector model construction

This commit is contained in:
Murphy Berzish 2020-01-20 19:43:40 -05:00 committed by Nikolaj Bjorner
parent cf3f271f5b
commit 812049ca4a

View file

@ -659,6 +659,10 @@ namespace smt {
sort * bool_sort = m.mk_bool_sort();
for (expr * f : formulas) {
if (!get_context().is_relevant(f)) {
TRACE("str_fl", tout << "skip reducing formula " << mk_pp(f, m) << ", not relevant" << std::endl;);
continue;
}
// reduce string formulas only. ignore others
sort * fSort = m.get_sort(f);
if (fSort == bool_sort && !is_quantifier(f)) {