mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 01:40:22 +00:00
address some crashes reported by Caleb
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6524a70c32
commit
02f34ea4b1
3 changed files with 8 additions and 4 deletions
|
@ -525,7 +525,8 @@ namespace smt {
|
|||
lits.reset();
|
||||
lits.push_back(~lit);
|
||||
if (!m.is_true(cond)) {
|
||||
lits.push_back(th.mk_literal(mk_forall(m, hd, mk_not(m, cond))));
|
||||
expr_ref ncond(mk_not(m, cond), m);
|
||||
lits.push_back(th.mk_literal(mk_forall(m, hd, ncond)));
|
||||
}
|
||||
expr_ref is_empty1 = sk().mk_is_empty(p.second, re().mk_union(u, r));
|
||||
lits.push_back(th.mk_literal(is_empty1));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue