summaryrefslogtreecommitdiff
path: root/src/theory/output_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/output_channel.h')
-rw-r--r--src/theory/output_channel.h31
1 files changed, 30 insertions, 1 deletions
diff --git a/src/theory/output_channel.h b/src/theory/output_channel.h
index dc5dfc388..ff13d1b6b 100644
--- a/src/theory/output_channel.h
+++ b/src/theory/output_channel.h
@@ -4,7 +4,7 @@
** Top contributors (to current version):
** Morgan Deters, Tim King, Liana Hadarean
** This file is part of the CVC4 project.
- ** Copyright (c) 2009-2019 by the authors listed in the file AUTHORS
+ ** Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
** in the top-level source directory) and their institutional affiliations.
** All rights reserved. See the file COPYING in the top-level source
** directory for licensing information.\endverbatim
@@ -21,9 +21,11 @@
#include <memory>
+#include "expr/proof_node.h"
#include "proof/proof_manager.h"
#include "smt/logic_exception.h"
#include "theory/interrupted.h"
+#include "theory/trust_node.h"
#include "util/proof.h"
#include "util/resource_manager.h"
@@ -188,6 +190,33 @@ class OutputChannel {
*/
virtual void demandRestart() {}
+ //---------------------------- new proof
+ /**
+ * 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 OutputChannel.
+ */
+ virtual void trustedConflict(TrustNode pconf)
+ {
+ Unreachable() << "OutputChannel::trustedConflict: no implementation"
+ << std::endl;
+ }
+ /**
+ * 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 OutputChannel.
+ */
+ virtual LemmaStatus trustedLemma(TrustNode lem,
+ bool removable = false,
+ bool preprocess = false,
+ bool sendAtoms = false)
+ {
+ Unreachable() << "OutputChannel::trustedLemma: no implementation"
+ << std::endl;
+ }
+ //---------------------------- end new proof
}; /* class OutputChannel */
} // namespace theory
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback