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

Fixed rewriter bug in theory_fpa.

This commit is contained in:
Christoph M. Wintersteiger 2015-10-31 18:53:40 +00:00
parent 8491b3bebe
commit 1d7aa9ba2f

View file

@ -558,9 +558,10 @@ namespace smt {
expr_ref bv_atom(m);
bv_atom = convert_atom(atom);
SASSERT(is_app(bv_atom) && m.is_bool(bv_atom));
bv_atom = m.mk_and(bv_atom, mk_side_conditions());
assert_cnstr(m.mk_iff(atom, bv_atom));
expr_ref constr(m);
constr = m.mk_iff(atom, m.mk_and(bv_atom, mk_side_conditions()));
m_th_rw(constr);
assert_cnstr(constr);
return true;
}