mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 13:28:47 +00:00
parent
077f2248ca
commit
1949a978ce
|
@ -1152,6 +1152,8 @@ namespace sat {
|
||||||
}
|
}
|
||||||
literal l(v, false);
|
literal l(v, false);
|
||||||
if (mdl[v] != l_true) l.neg();
|
if (mdl[v] != l_true) l.neg();
|
||||||
|
if (inconsistent())
|
||||||
|
return l_undef;
|
||||||
push();
|
push();
|
||||||
assign_core(l, justification(scope_lvl()));
|
assign_core(l, justification(scope_lvl()));
|
||||||
propagate(false);
|
propagate(false);
|
||||||
|
|
|
@ -380,6 +380,8 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
convert_internalized();
|
convert_internalized();
|
||||||
|
if (m_solver.inconsistent())
|
||||||
|
return last_cube(false);
|
||||||
obj_hashtable<expr> _vs;
|
obj_hashtable<expr> _vs;
|
||||||
for (expr* v : vs) _vs.insert(v);
|
for (expr* v : vs) _vs.insert(v);
|
||||||
sat::bool_var_vector vars;
|
sat::bool_var_vector vars;
|
||||||
|
|
Loading…
Reference in a new issue