Skip to content

Commit

Permalink
Bugfix relevancy propagation + UP (old core) (#6678)
Browse files Browse the repository at this point in the history
* Some UP bugfixes in the new core

* Bugfix relevancy propagation + UP (old core)

* Revert smt_context.cpp
  • Loading branch information
CEisenhofer committed Apr 10, 2023
1 parent 4a142b0 commit 98d3fab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/smt/theory_user_propagator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ void theory_user_propagator::propagate_cb(

expr_ref _conseq(conseq, m);
ctx.get_rewriter()(conseq, _conseq);
if (!ctx.get_manager().is_true(_conseq) && !ctx.get_manager().is_false(_conseq))
ctx.mark_as_relevant((expr*)_conseq);

if (ctx.lit_internalized(_conseq) && ctx.get_assignment(ctx.get_literal(_conseq)) == l_true)
return;
m_prop.push_back(prop_info(num_fixed, fixed_ids, num_eqs, eq_lhs, eq_rhs, _conseq));
Expand Down

0 comments on commit 98d3fab

Please sign in to comment.