diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-04-03 20:29:26 -0500 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2018-04-03 18:29:26 -0700 |
commit | eaebc10c50ca44644edd430ed3f555092a0fb27a (patch) | |
tree | e1944b5c0a2e9fbb38beb2f308009b563ab4a2bd /src/theory/quantifiers/quantifiers_rewriter.h | |
parent | fee2021bb7419630853cbd0b20afa1af5e2eb1e9 (diff) |
Option to turn arbitrary input into sygus (#1704)
Preprocessing pass that turns an arbitrary (e.g. smt2) input into a sygus conjecture, which is helpful for Horn clause solving.
This includes improvements to the robustness of the sygus solver.
Diffstat (limited to 'src/theory/quantifiers/quantifiers_rewriter.h')
-rw-r--r-- | src/theory/quantifiers/quantifiers_rewriter.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/theory/quantifiers/quantifiers_rewriter.h b/src/theory/quantifiers/quantifiers_rewriter.h index 149380b84..2fbcc2641 100644 --- a/src/theory/quantifiers/quantifiers_rewriter.h +++ b/src/theory/quantifiers/quantifiers_rewriter.h @@ -100,6 +100,18 @@ public: static Node rewriteRewriteRule( Node r ); static bool containsQuantifiers( Node n ); static bool isPrenexNormalForm( Node n ); + /** preprocess + * + * This returns the result of applying simple quantifiers-specific + * preprocessing to n, including but not limited to: + * - rewrite rule elimination, + * - pre-skolemization, + * - aggressive prenexing. + * The argument isInst is set to true if n is an instance of a previously + * registered quantified formula. If this flag is true, we do not apply + * certain steps like pre-skolemization since we know they will have no + * effect. + */ static Node 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 ); |