summaryrefslogtreecommitdiff
path: root/src/theory/rewriterules
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/rewriterules')
-rw-r--r--src/theory/rewriterules/theory_rewriterules.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/theory/rewriterules/theory_rewriterules.cpp b/src/theory/rewriterules/theory_rewriterules.cpp
index 6bf4ca22d..b08b770d2 100644
--- a/src/theory/rewriterules/theory_rewriterules.cpp
+++ b/src/theory/rewriterules/theory_rewriterules.cpp
@@ -592,8 +592,15 @@ void TheoryRewriteRules::collectModelInfo( TheoryModel* m ){
}
Theory::PPAssertStatus TheoryRewriteRules::ppAssert(TNode in, SubstitutionMap& outSubstitutions) {
- addRewriteRule(in);
- d_ppAssert_on = true;
+ //TODO: here add only to the rewriterules database for ppRewrite,
+ //and not for the general one. Otherwise rewriting that occur latter
+ //on this rewriterules will be lost. But if the rewriting of the
+ //body is not done in "in", will it be done latter after
+ //substitution? Perhaps we should add the rewriterules to the
+ //database for ppRewrite also after the subtitution at the levvel of check
+
+ // addRewriteRule(in);
+ // d_ppAssert_on = true;
return PP_ASSERT_STATUS_UNSOLVED;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback