summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-05-09 06:51:43 -0500
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-05-09 06:51:43 -0500
commitcc01e2119801bbd4fd99548b79c297fa57a1977d (patch)
treecf9c64efbc286089a898d93abb3150e79138e5a7 /src/smt
parent88907b94e858b701e83bbee67f542ad0ee5ae626 (diff)
Add variable ordering to ambqi. Bug fix to macros. More preparation for CASC proofs.
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/options2
-rw-r--r--src/smt/smt_engine.cpp4
-rw-r--r--src/smt/smt_engine.h5
3 files changed, 11 insertions, 0 deletions
diff --git a/src/smt/options b/src/smt/options
index f3429287f..7b749fc6c 100644
--- a/src/smt/options
+++ b/src/smt/options
@@ -35,6 +35,8 @@ option checkProofs check-proofs --check-proofs bool :link --proof :link-smt prod
after UNSAT/VALID, machine-check the generated proof
option dumpProofs --dump-proofs bool :default false :link --proof
output proofs after every UNSAT/VALID response
+option dumpInstantiations --dump-instantiations bool :default false
+ output instantiations of quantified formulas after every UNSAT/VALID response
# this is just a placeholder for later; it doesn't show up in command-line options listings
undocumented-option unsatCores produce-unsat-cores --produce-unsat-cores bool :predicate CVC4::smt::unsatCoresEnabledBuild CVC4::smt::beforeSearch :predicate-include "smt/options_handlers.h"
turn on unsat core generation (NOT YET SUPPORTED)
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index a411530e6..1397c10d3 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -3789,6 +3789,10 @@ Proof* SmtEngine::getProof() throw(ModalException) {
#endif /* CVC4_PROOF */
}
+void SmtEngine::printInstantiations() {
+ //TODO
+}
+
vector<Expr> SmtEngine::getAssertions() throw(ModalException) {
SmtScope smts(this);
finalOptionsAreSet();
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h
index 2991ab21b..88ba55b45 100644
--- a/src/smt/smt_engine.h
+++ b/src/smt/smt_engine.h
@@ -498,6 +498,11 @@ public:
Proof* getProof() throw(ModalException);
/**
+ * Print all instantiations made by the quantifiers module.
+ */
+ void printInstantiations();
+
+ /**
* Get the current set of assertions. Only permitted if the
* SmtEngine is set to operate interactively.
*/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback