summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/extended_rewrite.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-01-30 16:02:38 -0600
committerGitHub <noreply@github.com>2020-01-30 16:02:38 -0600
commit8c4788b6356b46df5cede71bcf02c86f0aebe86c (patch)
tree5b571eef2f7f776d8274fb7386147d0b0fcb560b /src/theory/quantifiers/extended_rewrite.cpp
parent6112e47d0d93b675fe220438c3828b5b6025dde6 (diff)
Make eq chain an aggressive rewrite in extended rewriter (#3679)
Diffstat (limited to 'src/theory/quantifiers/extended_rewrite.cpp')
-rw-r--r--src/theory/quantifiers/extended_rewrite.cpp7
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();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback