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:
parent
fce68536d3
commit
3a97451f8c
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue