Skip to content

Commit

Permalink
fix #6650
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Mar 27, 2023
1 parent f366772 commit adec937
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tactic/core/symmetry_reduce_tactic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ class symmetry_reduce_tactic::imp {
app* c = select_const(consts, cts);
if (!c) break;
cts.push_back(c);
expr_ref mem(mk_member(t, cts), m);
expr_ref mem = mk_member(t, cts);
g.assert_expr(mem);
num_sym_break_preds++;

TRACE("symmetry_reduce", tout << "member predicate: " << mem << "\n";);

fml = m.mk_and(fml.get(), mem);
Expand Down Expand Up @@ -592,7 +593,7 @@ class symmetry_reduce_tactic::imp {
return (j == A.size())? nullptr:A[j];
}

expr* mk_member(app* t, term_set const& C) {
expr_ref mk_member(app* t, term_set const& C) {
expr_ref_vector eqs(m);
for (expr* e : C)
eqs.push_back(m.mk_eq(t, e));
Expand Down

0 comments on commit adec937

Please sign in to comment.