diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2020-07-10 16:42:56 -0700 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2020-07-10 16:42:56 -0700 |
commit | 431a8901f8e63dd81787e2928e14287eabf433ec (patch) | |
tree | 93688a6fa2faefd628626718851c1ed2ab628b69 | |
parent | 55767b9620f18763b7b56ecefa954202d35fe2d3 (diff) |
Send explanation lemmasendExplLemma
-rw-r--r-- | src/theory/theory_engine.cpp | 12 |
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({ |