3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 11:37:54 +00:00

shortcut negation

This commit is contained in:
Nikolaj Bjorner 2022-01-31 11:58:02 -08:00
parent f3fc6a50f3
commit 7ddfc54250
2 changed files with 3 additions and 2 deletions

View file

@ -218,7 +218,7 @@ struct sat2goal::imp {
}
sat::literal lit(l.var(), false);
m_lit2expr.set(lit.index(), aux);
m_lit2expr.set((~lit).index(), m.mk_not(aux));
m_lit2expr.set((~lit).index(), mk_not(m, aux));
}
return m_lit2expr.get(l.index());
}