return d_pendingFact.size();
}
-void InferenceManagerBuffered::lemmaTheoryInference(TheoryInference* lem)
+bool InferenceManagerBuffered::lemmaTheoryInference(TheoryInference* lem)
{
// process this lemma
LemmaProperty p = LemmaProperty::NONE;
TrustNode tlem = lem->processLemma(p);
Assert(!tlem.isNull());
// send the lemma
- trustedLemma(tlem, lem->getId(), p);
+ return trustedLemma(tlem, lem->getId(), p);
}
void InferenceManagerBuffered::assertInternalFactTheoryInference(
/**
* Send the given theory inference as a lemma on the output channel of this
* inference manager. This calls TheoryInferenceManager::trustedLemma based
- * on the provided theory inference.
+ * on the provided theory inference, and returns true if the lemma was
+ * successfully sent.
*/
- void lemmaTheoryInference(TheoryInference* lem);
+ bool lemmaTheoryInference(TheoryInference* lem);
/**
* Add the given theory inference as an internal fact. This calls
* TheoryInferenceManager::assertInternalFact based on the provided theory