3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-08-18 22:47:30 -07:00
parent ed258ca019
commit 5aaa7e0022

View file

@ -287,7 +287,10 @@ void goal::get_formulas(expr_ref_vector & result) const {
void goal::update(unsigned i, expr * f, proof * pr, expr_dependency * d) {
if (m_inconsistent)
return;
if (pr) {
if (proofs_enabled()) {
SASSERT(pr);
if (!pr)
return;
SASSERT(f == m().get_fact(pr));
expr_ref out_f(m());
proof_ref out_pr(m());
@ -305,7 +308,6 @@ void goal::update(unsigned i, expr * f, proof * pr, expr_dependency * d) {
}
}
else {
SASSERT(!proofs_enabled());
expr_ref fr(f, m());
quick_process(true, fr, d);
if (!m_inconsistent) {