summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/theory_engine.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index 2472ae023..de6cc8145 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -1887,11 +1887,21 @@ void TheoryEngine::getExplanation(std::vector<NodeTheoryPair>& explanationVector
<< " got from " << toExplain.d_theory << endl;
Assert(explanation != toExplain.d_node)
<< "wasn't sent to you, so why are you explaining it trivially";
+
+ if (toExplain.d_theory == THEORY_STRINGS)
+ {
+ lemma(explanation.impNode(Rewriter::rewrite(toExplain.d_node)),
+ ProofRule::RULE_TRUST,
+ false,
+ false,
+ true,
+ THEORY_LAST);
+ }
+
// Mark the explanation
NodeTheoryPair newExplain(
explanation, toExplain.d_theory, toExplain.d_timestamp);
explanationVector.push_back(newExplain);
-
++ i;
PROOF({
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback