3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 13:28:47 +00:00

disable propagation in proof mode as it produces ill-formed proof objects. Fixes #5063

This commit is contained in:
Nikolaj Bjorner 2021-03-03 09:51:56 -08:00
parent bef6f1a729
commit 8c66691e6d
2 changed files with 5 additions and 0 deletions

View file

@ -525,6 +525,8 @@ void asserted_formulas::commit(unsigned new_qhead) {
} }
void asserted_formulas::propagate_values() { void asserted_formulas::propagate_values() {
if (m.proofs_enabled())
return;
flush_cache(); flush_cache();
unsigned num_prop = 0; unsigned num_prop = 0;

View file

@ -146,6 +146,9 @@ class propagate_values_tactic : public tactic {
if (m_max_rounds == 0) if (m_max_rounds == 0)
goto end; goto end;
if (m_goal->proofs_enabled())
goto end;
m_subst = alloc(expr_substitution, m, g->unsat_core_enabled(), g->proofs_enabled()); m_subst = alloc(expr_substitution, m, g->unsat_core_enabled(), g->proofs_enabled());
m_r.set_substitution(m_subst.get()); m_r.set_substitution(m_subst.get());
m_occs(*m_goal); m_occs(*m_goal);