summaryrefslogtreecommitdiff
path: root/src/theory/theory_inference_manager.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-09-04 17:52:11 -0500
committerGitHub <noreply@github.com>2020-09-04 17:52:11 -0500
commit3f150596fe2186aea1c40b3210e8a0d59dc1ba94 (patch)
treed0e3fbe5e3e55ef59783b8b4eb3e15e1f7020a4c /src/theory/theory_inference_manager.cpp
parent721ce847f4d44fb7ee2509df3b34aad49fc7f484 (diff)
Add asLemma flag to theory inference process (#5030)
This is required for strings, which uses the same data structure, InferInfo, for both lemmas and facts. This ensures the process method of theory inference knows where we are a pending lemma or a pending fact. It also makes a few changes necessary for the proof-new branch, including disabling the proof node manager in the inference manager for datatypes.
Diffstat (limited to 'src/theory/theory_inference_manager.cpp')
-rw-r--r--src/theory/theory_inference_manager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/theory/theory_inference_manager.cpp b/src/theory/theory_inference_manager.cpp
index 801d6a266..ff6f0ebc7 100644
--- a/src/theory/theory_inference_manager.cpp
+++ b/src/theory/theory_inference_manager.cpp
@@ -64,6 +64,11 @@ bool TheoryInferenceManager::hasSent() const
|| d_numCurrentFacts > 0;
}
+eq::ProofEqEngine* TheoryInferenceManager::getProofEqEngine()
+{
+ return d_pfee.get();
+}
+
void TheoryInferenceManager::conflictEqConstantMerge(TNode a, TNode b)
{
if (!d_theoryState.isInConflict())
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback