3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

add option to rewrite and for arithmetic simplification

This commit is contained in:
Nikolaj Bjorner 2022-09-18 17:17:47 -07:00
parent 088898834c
commit bd4db4c41f
5 changed files with 47 additions and 10 deletions

View file

@ -262,6 +262,11 @@ struct evaluator_cfg : public default_rewriter_cfg {
if (st != BR_FAILED)
return st;
}
if (k == OP_AND) {
st = m_a_rw.mk_and_core(num, args, result);
if (st != BR_FAILED)
return st;
}
return m_b_rw.mk_app_core(f, num, args, result);
}
if (fid == m_a_rw.get_fid())