diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-10-16 17:10:47 +0000 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-10-16 17:10:47 +0000 |
commit | bbcfb5208c6c0f343d1a63b129c54914f66b2701 (patch) | |
tree | f2369b3cc07121645ef0c8c3a415f243f5a4fcb9 /src/theory/quantifiers_engine.h | |
parent | 5b8b6acd9091e2afec654ebed1332d6755bbb7d9 (diff) |
first draft of new inst gen method (still with bugs), some cleanup of quantifiers code
Diffstat (limited to 'src/theory/quantifiers_engine.h')
-rw-r--r-- | src/theory/quantifiers_engine.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/theory/quantifiers_engine.h b/src/theory/quantifiers_engine.h index a658cccf6..d0c5832ff 100644 --- a/src/theory/quantifiers_engine.h +++ b/src/theory/quantifiers_engine.h @@ -222,13 +222,22 @@ public: //create inst variable std::vector<Node> createInstVariable( std::vector<Node> & vars ); +private: + /** compute term vector */ + void computeTermVector( Node f, InstMatch& m, std::vector< Node >& vars, std::vector< Node >& terms ); public: + /** get instantiation */ + Node getInstantiation( Node f, std::vector< Node >& vars, std::vector< Node >& terms ); + /** get instantiation */ + Node getInstantiation( Node f, InstMatch& m ); + /** exist instantiation ? */ + bool existsInstantiation( Node f, InstMatch& m, bool modEq = true, bool modInst = false ); /** add lemma lem */ bool addLemma( Node lem ); /** instantiate f with arguments terms */ bool addInstantiation( Node f, std::vector< Node >& vars, std::vector< Node >& terms ); /** do instantiation specified by m */ - bool addInstantiation( Node f, InstMatch& m, bool makeComplete = true ); + bool addInstantiation( Node f, InstMatch& m ); /** split on node n */ bool addSplit( Node n, bool reqPhase = false, bool reqPhasePol = true ); /** add split equality */ |