3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

disable destructive equality resolution simplification if there are patterns

- regression from F\star
- reported by @mtzguido (stlc_min.smt2)
This commit is contained in:
Nikolaj Bjorner 2023-04-24 17:59:41 -07:00
parent a2bac119d3
commit 7a689c3298

View file

@ -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)