diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2013-05-21 18:58:32 -0400 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2013-05-21 18:58:32 -0400 |
commit | fd076209b073aff3ad3db6eccfc51a59ec5d87c2 (patch) | |
tree | 466739844ba495ae22d3451fb40513fbc60f8905 /src/theory | |
parent | 7cb22c139978c154b13f0159a9308922a36ac6db (diff) | |
parent | 7709fff002e3345bd727eaef2677e28830efb84d (diff) |
Merge branch '1.2.x'
Diffstat (limited to 'src/theory')
-rw-r--r-- | src/theory/theory_engine.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp index ee37f331e..53f5d10f3 100644 --- a/src/theory/theory_engine.cpp +++ b/src/theory/theory_engine.cpp @@ -1311,6 +1311,18 @@ theory::LemmaStatus TheoryEngine::lemma(TNode node, bool negated, bool removable d_iteRemover.run(additionalLemmas, iteSkolemMap); additionalLemmas[0] = theory::Rewriter::rewrite(additionalLemmas[0]); + if(Trace.isOn("lemma-ites")) { + Debug("lemma-ites") << "removed ITEs from lemma: " << node << std::endl; + Debug("lemma-ites") << " + now have the following " + << additionalLemmas.size() << " lemma(s):" << std::endl; + for(std::vector<Node>::const_iterator i = additionalLemmas.begin(); + i != additionalLemmas.end(); + ++i) { + Debug("lemma-ites") << " + " << *i << std::endl; + } + Debug("lemma-ites") << std::endl; + } + // assert to prop engine d_propEngine->assertLemma(additionalLemmas[0], negated, removable); for (unsigned i = 1; i < additionalLemmas.size(); ++ i) { |