diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-11-05 20:26:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-06 01:26:33 +0000 |
commit | d93e02dc254fea6c9d56194f21649cc18f29aafe (patch) | |
tree | e21dd0bafa7c8f843a224e03361f2119de5d55da /src/theory/quantifiers/quantifiers_rewriter.h | |
parent | 733ab2f6b9430b2ae5824e2614de5811a60033f3 (diff) |
Do not use extended rewrites on recursive function definitions (#7549)
Leads to potential non-idempotent behavior in the rewriter.
The issue cannot be replicated on master, but this safe guards this case anyways.
Fixes #5278.
Diffstat (limited to 'src/theory/quantifiers/quantifiers_rewriter.h')
-rw-r--r-- | src/theory/quantifiers/quantifiers_rewriter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/quantifiers/quantifiers_rewriter.h b/src/theory/quantifiers/quantifiers_rewriter.h index 6a7eb5158..8b3cbb522 100644 --- a/src/theory/quantifiers/quantifiers_rewriter.h +++ b/src/theory/quantifiers/quantifiers_rewriter.h @@ -293,9 +293,9 @@ class QuantifiersRewriter : public TheoryRewriter /** compute extended rewrite * * This returns the result of applying the extended rewriter on the body - * of quantified formula q. + * of quantified formula q with attributes qa. */ - static Node computeExtendedRewrite(Node q); + static Node computeExtendedRewrite(Node q, const QAttributes& qa); //------------------------------------- end extended rewrite /** * Return true if we should do operation computeOption on quantified formula |