Skip to content

Commit

Permalink
add variables from definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Oct 17, 2024
1 parent 92376e6 commit a23a8cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ast/simplifiers/model_reconstruction_trail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ void model_reconstruction_trail::replay(unsigned qhead, expr_ref_vector& assumpt
// and their removed formulas are added to the resulting constraints.

if (t->is_loose() && !t->is_def() && t->is_subst()) {
for (auto const& [k, v] : t->m_subst->sub())
for (auto const& [k, v] : t->m_subst->sub()) {
add_vars(v, free_vars);
st.add(dependent_expr(m, m.mk_eq(k, v), nullptr, nullptr));
}
t->m_active = false;
continue;
}
Expand Down

0 comments on commit a23a8cd

Please sign in to comment.