summaryrefslogtreecommitdiff
path: root/src/theory/engine_output_channel.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-06-25 15:22:08 -0500
committerGitHub <noreply@github.com>2020-06-25 15:22:08 -0500
commit23aa2a0868027527469f2293952f038c66db23e1 (patch)
tree41cf614eb5e921523e486c2afe84c5a9d888086d /src/theory/engine_output_channel.h
parent8374a8dd4bf740bf26748c1dbe1616ad798cf624 (diff)
(proof-new) Add TrustNode interfaces to OutputChannel (#4643)
Diffstat (limited to 'src/theory/engine_output_channel.h')
-rw-r--r--src/theory/engine_output_channel.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/theory/engine_output_channel.h b/src/theory/engine_output_channel.h
index 992ef064b..d7b26928d 100644
--- a/src/theory/engine_output_channel.h
+++ b/src/theory/engine_output_channel.h
@@ -67,6 +67,24 @@ class EngineOutputChannel : public theory::OutputChannel
void handleUserAttribute(const char* attr, theory::Theory* t) override;
+ /**
+ * Let pconf be the pair (Node conf, ProofGenerator * pfg). This method
+ * sends conf on the output channel of this class whose proof can be generated
+ * by the generator pfg. Apart from pfg, the interface for this method is
+ * the same as calling OutputChannel::lemma on conf.
+ */
+ void trustedConflict(TrustNode pconf) override;
+ /**
+ * Let plem be the pair (Node lem, ProofGenerator * pfg).
+ * Send lem on the output channel of this class whose proof can be generated
+ * by the generator pfg. Apart from pfg, the interface for this method is
+ * the same as calling OutputChannel::lemma on lem.
+ */
+ LemmaStatus trustedLemma(TrustNode plem,
+ bool removable = false,
+ bool preprocess = false,
+ bool sendAtoms = false) override;
+
protected:
/**
* Statistics for a particular theory.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback