summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quantifiers_rewriter.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-04-03 20:29:26 -0500
committerAndres Noetzli <andres.noetzli@gmail.com>2018-04-03 18:29:26 -0700
commiteaebc10c50ca44644edd430ed3f555092a0fb27a (patch)
treee1944b5c0a2e9fbb38beb2f308009b563ab4a2bd /src/theory/quantifiers/quantifiers_rewriter.h
parentfee2021bb7419630853cbd0b20afa1af5e2eb1e9 (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.h12
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 );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback