diff options
author | Gereon Kremer <gereon.kremer@cs.rwth-aachen.de> | 2020-09-03 16:27:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 16:27:56 +0200 |
commit | 58733b382a4a956c051d06e7318afa1deed612da (patch) | |
tree | e41944879de5e7f1a06b1994731c9957d65acd3d /src/theory/arith/inference_manager.cpp | |
parent | 337f8b791943e9b6b9a234f4f5422cf173342dd9 (diff) |
Basic integration of arith::InferenceManager (#4999)
This PR adds a first basic integration of the arith::InferenceManager into the arithmetic theory and the nonlinear extension in particular.
While the lemma collection mechanism (in the nonlinear extension) remains unchanged, the lemmas are ultimately not directly pushed to the output channel but instead added to the inference manager. Additionally, we no longer use the cache within the nonlinear extension but instead rely on the inference manager.
This PR is based on #4960.
Diffstat (limited to 'src/theory/arith/inference_manager.cpp')
-rw-r--r-- | src/theory/arith/inference_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/arith/inference_manager.cpp b/src/theory/arith/inference_manager.cpp index bb0bb494e..d03d2ba37 100644 --- a/src/theory/arith/inference_manager.cpp +++ b/src/theory/arith/inference_manager.cpp @@ -65,7 +65,7 @@ void InferenceManager::addPendingArithLemma(const ArithLemma& lemma, isWaiting); } void InferenceManager::addPendingArithLemma(const Node& lemma, - nl::Inference inftype, + InferenceId inftype, bool isWaiting) { addPendingArithLemma(std::unique_ptr<ArithLemma>(new ArithLemma( @@ -82,7 +82,7 @@ void InferenceManager::flushWaitingLemmas() d_waitingLem.clear(); } -void InferenceManager::addConflict(const Node& conf, nl::Inference inftype) +void InferenceManager::addConflict(const Node& conf, InferenceId inftype) { conflict(Rewriter::rewrite(conf)); } |