diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-02-08 16:50:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-08 16:50:16 -0600 |
commit | c198f374972e62db0cebc93d3977fd1e414f431b (patch) | |
tree | f1180a7bda884d5c91a4bd64044ada8eadaaf333 /src/theory/theory_inference_manager.cpp | |
parent | ca9705cf0785e3a81fc25995df0bc3dc76e3bd9f (diff) |
Use quantifiers inference manager for lemma management (#5867)
Towards eliminating dependencies on quantifiers engine.
This replaces the custom implementation of lemma management in quantifiers engine with the standard one.
It makes a few minor changes to the standard inference manager classes to ensure the same behavior for quantifiers.
Note that some minor changes in behavior are introduced in this PR, such as being more consistent about caching/rewriting lemmas. This should not have any major impact.
Diffstat (limited to 'src/theory/theory_inference_manager.cpp')
-rw-r--r-- | src/theory/theory_inference_manager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theory/theory_inference_manager.cpp b/src/theory/theory_inference_manager.cpp index ebd68a982..58a8b86a4 100644 --- a/src/theory/theory_inference_manager.cpp +++ b/src/theory/theory_inference_manager.cpp @@ -36,6 +36,9 @@ TheoryInferenceManager::TheoryInferenceManager(Theory& t, d_numCurrentLemmas(0), d_numCurrentFacts(0) { + // don't add true lemma + Node truen = NodeManager::currentNM()->mkConst(true); + d_lemmasSent.insert(truen); } void TheoryInferenceManager::setEqualityEngine(eq::EqualityEngine* ee) |