summaryrefslogtreecommitdiff
path: root/src/expr/command.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-10-29 05:21:49 +0000
committerMorgan Deters <mdeters@gmail.com>2011-10-29 05:21:49 +0000
commit02f4f0500849bc719cb45bbc771bea90eb6e96f8 (patch)
tree6df8a696dba89732dc17d30e80b1d326edf36a5c /src/expr/command.h
parentb695ce10f294b2469434656fb2c5dc8e6d701c5d (diff)
Support for SMT-LIBv2 (get-proof), CVC-style DUMP_PROOF command, SmtEngine::getProof(), a few other things..
Diffstat (limited to 'src/expr/command.h')
-rw-r--r--src/expr/command.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/expr/command.h b/src/expr/command.h
index 5cf4f6fa0..b686025fe 100644
--- a/src/expr/command.h
+++ b/src/expr/command.h
@@ -35,6 +35,7 @@
#include "util/result.h"
#include "util/sexpr.h"
#include "util/datatype.h"
+#include "util/proof.h"
namespace CVC4 {
@@ -232,6 +233,16 @@ public:
void printResult(std::ostream& out) const;
};/* class GetAssignmentCommand */
+class CVC4_PUBLIC GetProofCommand : public Command {
+protected:
+ Proof* d_result;
+public:
+ GetProofCommand();
+ void invoke(SmtEngine* smtEngine);
+ Proof* getResult() const;
+ void printResult(std::ostream& out) const;
+};/* class GetProofCommand */
+
class CVC4_PUBLIC GetAssertionsCommand : public Command {
protected:
std::string d_result;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback