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:
parent
cf3f271f5b
commit
812049ca4a
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue