diff options
Diffstat (limited to 'src/theory/quantifiers/quantifiers_rewriter.h')
-rw-r--r-- | src/theory/quantifiers/quantifiers_rewriter.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/theory/quantifiers/quantifiers_rewriter.h b/src/theory/quantifiers/quantifiers_rewriter.h index 1ceab7fc0..93f2c5dba 100644 --- a/src/theory/quantifiers/quantifiers_rewriter.h +++ b/src/theory/quantifiers/quantifiers_rewriter.h @@ -248,8 +248,8 @@ class QuantifiersRewriter : public TheoryRewriter */ static Node computePrenex(Node q, Node body, - std::vector<Node>& args, - std::vector<Node>& nargs, + std::unordered_set<Node, NodeHashFunction>& args, + std::unordered_set<Node, NodeHashFunction>& nargs, bool pol, bool prenexAgg); /** @@ -289,9 +289,16 @@ public: * The result is wrapped in a trust node of kind TrustNodeKind::REWRITE. */ static TrustNode preprocess(Node n, bool isInst = false); - static Node mkForAll( std::vector< Node >& args, Node body, QAttributes& qa ); - static Node mkForall( std::vector< Node >& args, Node body, bool marked = false ); - static Node mkForall( std::vector< Node >& args, Node body, std::vector< Node >& iplc, bool marked = false ); + static Node mkForAll(const std::vector<Node>& args, + Node body, + QAttributes& qa); + static Node mkForall(const std::vector<Node>& args, + Node body, + bool marked = false); + static Node mkForall(const std::vector<Node>& args, + Node body, + std::vector<Node>& iplc, + bool marked = false); }; /* class QuantifiersRewriter */ }/* CVC4::theory::quantifiers namespace */ @@ -299,5 +306,3 @@ public: }/* CVC4 namespace */ #endif /* CVC4__THEORY__QUANTIFIERS__QUANTIFIERS_REWRITER_H */ - - |