3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-12 02:04:43 +00:00

fix #3076 - need to apply relevancy propagation in mk_bits. Assume bv v is already relevant but did not have bits associated with it, the bits need to then be marked as relevant

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-10 10:35:53 -07:00
parent df1b308dd0
commit bed2097fc4
5 changed files with 31 additions and 16 deletions

View file

@ -149,6 +149,9 @@ namespace smt {
void context::updt_params(params_ref const& p) {
m_params.append(p);
m_asserted_formulas.updt_params(p);
if (!m_setup.already_configured()) {
m_fparams.updt_params(p);
}
}
unsigned context::relevancy_lvl() const {
@ -308,7 +311,7 @@ namespace smt {
}
void context::assign_core(literal l, b_justification j, bool decision) {
CTRACE("assign_core", l.var() == 1573 || l.var() == 1253, tout << (decision?"decision: ":"propagating: ") << l << " ";
CTRACE("assign_core", l.var() == 2816, tout << (decision?"decision: ":"propagating: ") << l << " ";
display_literal_smt2(tout, l); tout << " level: " << m_scope_lvl << "\n";
display(tout, j););
m_assigned_literals.push_back(l);