diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-01-30 16:02:38 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 16:02:38 -0600 |
commit | 8c4788b6356b46df5cede71bcf02c86f0aebe86c (patch) | |
tree | 5b571eef2f7f776d8274fb7386147d0b0fcb560b /src | |
parent | 6112e47d0d93b675fe220438c3828b5b6025dde6 (diff) |
Make eq chain an aggressive rewrite in extended rewriter (#3679)
Diffstat (limited to 'src')
-rw-r--r-- | src/theory/quantifiers/extended_rewrite.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theory/quantifiers/extended_rewrite.cpp b/src/theory/quantifiers/extended_rewrite.cpp index 0fbd971fd..05e789ce2 100644 --- a/src/theory/quantifiers/extended_rewrite.cpp +++ b/src/theory/quantifiers/extended_rewrite.cpp @@ -1137,6 +1137,13 @@ Node ExtendedRewriter::extendedRewriteEqChain( { Assert(ret.getKind() == eqk); + // this rewrite is aggressive; it in fact has the precondition that other + // aggressive rewrites (including BCP) have been applied. + if (!d_aggr) + { + return Node::null(); + } + NodeManager* nm = NodeManager::currentNM(); TypeNode tn = ret[0].getType(); |