3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-20 07:24:40 +00:00

avoid empty lemmas

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-05-15 16:44:27 -07:00
parent 40cc8c31e5
commit b2b4193afa
2 changed files with 2 additions and 1 deletions

View file

@ -1625,6 +1625,7 @@ bool core::find_bfc_to_refine(const monomial* & m, factorization & bf){
}
void core::generate_simple_sign_lemma(const rational& sign, const monomial& m) {
add_empty_lemma();
SASSERT(sign == nla::rat_sign(product_value(m.vars())));
for (lpvar j : m.vars()) {
if (val(j).is_pos()) {