summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/extended_rewrite.cpp
diff options
context:
space:
mode:
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