3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 00:55:31 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-08-01 12:49:36 -07:00
parent 924ea6ab31
commit a4cc9e7895
3 changed files with 25 additions and 12 deletions

View file

@ -319,6 +319,14 @@ namespace mbp {
tids.insert(v, mbo.add_var(r, a.is_int(v)));
}
}
// bail on variables in non-linear sub-terms
for (auto& kv : tids) {
expr* e = kv.m_key;
if (is_arith(e) && !var_mark.is_marked(e))
mark_rec(fmls_mark, e);
}
if (m_check_purified) {
for (expr* fml : fmls)
mark_rec(fmls_mark, fml);