summaryrefslogtreecommitdiff
path: root/src/theory/trust_node.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2020-05-06 23:27:44 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2020-05-07 08:00:08 -0500
commit06f584d7aef3f54886044e3aa80921fce3ec0e6e (patch)
treedda37bdfb53a5f28d3429cbb4858c01edc5b0049 /src/theory/trust_node.cpp
parent6d088bb4117de9d76ba75efb2df31a378cdd3ca3 (diff)
Some fixes
Diffstat (limited to 'src/theory/trust_node.cpp')
-rw-r--r--src/theory/trust_node.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/theory/trust_node.cpp b/src/theory/trust_node.cpp
index 35fc5e348..d447cbf60 100644
--- a/src/theory/trust_node.cpp
+++ b/src/theory/trust_node.cpp
@@ -14,6 +14,8 @@
#include "theory/trust_node.h"
+#include "theory/proof_engine_output_channel.h"
+
namespace CVC4 {
namespace theory {
@@ -36,14 +38,14 @@ std::ostream& operator<<(std::ostream& out, TrustNodeKind tnk)
TrustNode TrustNode::mkTrustConflict(Node conf, ProofGenerator* g)
{
// if a generator is provided, should confirm that it can prove it
- Assert(g == nullptr || g->hasProofFor(conf));
+ Assert(g == nullptr || g->hasProofFor(ProofEngineOutputChannel::getConflictKeyValue(conf)));
return TrustNode(TrustNodeKind::CONFLICT, conf, g);
}
TrustNode TrustNode::mkTrustLemma(Node lem, ProofGenerator* g)
{
// if a generator is provided, should confirm that it can prove it
- Assert(g == nullptr || g->hasProofFor(lem));
+ Assert(g == nullptr || g->hasProofFor(ProofEngineOutputChannel::getLemmaKeyValue(lem)));
return TrustNode(TrustNodeKind::LEMMA, lem, g);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback