Skip to content

Commit

Permalink
disable destructive equality resolution simplification if there are p…
Browse files Browse the repository at this point in the history
…atterns

- regression from F\star
- reported by @mtzguido (stlc_min.smt2)
  • Loading branch information
NikolajBjorner committed Apr 25, 2023
1 parent a2bac11 commit 7a689c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/rewriter/th_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ struct th_rewriter_cfg : public default_rewriter_cfg {
expr_ref r(m());

bool der_change = false;
if (is_quantifier(result)) {
if (is_quantifier(result) && to_quantifier(result)->get_num_patterns() == 0) {
m_der(to_quantifier(result), r, p2);
der_change = result.get() != r.get();
if (m().proofs_enabled() && der_change)
Expand Down

0 comments on commit 7a689c3

Please sign in to comment.