3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

spacer: normalize the cube before creating a lemma

This commit is contained in:
Arie Gurfinkel 2018-05-30 09:05:05 -07:00
parent fce68536d3
commit 3a97451f8c

View file

@ -487,8 +487,10 @@ void lemma::mk_expr_core() {
if (m_pob) {mk_cube_core();}
SASSERT(!m_cube.empty());
m_body = ::push_not(::mk_and(m_cube));
m_body = ::mk_and(m_cube);
// normalize works better with a cube
normalize(m_body, m_body);
m_body = ::push_not(m_body);
if (!m_zks.empty() && has_zk_const(m_body)) {
app_ref_vector zks(m);