summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r--src/smt/smt_engine.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h
index 94c11be5b..56f3ffbb8 100644
--- a/src/smt/smt_engine.h
+++ b/src/smt/smt_engine.h
@@ -527,7 +527,12 @@ class CVC4_PUBLIC SmtEngine
*/
std::vector<Node> getValues(const std::vector<Node>& exprs);
- /** Print all instantiations made by the quantifiers module. */
+ /** print instantiations
+ *
+ * Print all instantiations for all quantified formulas on out,
+ * returns true if at least one instantiation was printed. The type of output
+ * (list, num, etc.) is determined by printInstMode.
+ */
void printInstantiations(std::ostream& out);
/**
* Print the current proof. This method should be called after an UNSAT
@@ -665,6 +670,12 @@ class CVC4_PUBLIC SmtEngine
void getInstantiationTermVectors(Node q,
std::vector<std::vector<Node>>& tvecs);
/**
+ * As above but only the instantiations that were relevant for the
+ * refutation.
+ */
+ void getRelevantInstantiationTermVectors(
+ std::map<Node, std::vector<std::vector<Node>>>& insts);
+ /**
* Get instantiation term vectors, which maps each instantiated quantified
* formula to the list of instantiations for that quantified formula. This
* list is minimized if proofs are enabled, and this call is immediately
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback