summaryrefslogtreecommitdiff
path: root/src/expr/node_algorithm.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-10-12 15:44:22 -0500
committerGitHub <noreply@github.com>2018-10-12 15:44:22 -0500
commit8597f207187baff3b9f8cc5d8955e5b96d6d57d0 (patch)
treee521502480881b5da407a2ac95954f79171c4450 /src/expr/node_algorithm.h
parent9f5fb42580e00370ea461be5a00f8debfb59b636 (diff)
Improvements to rewrite rules from inputs (#2625)
Diffstat (limited to 'src/expr/node_algorithm.h')
-rw-r--r--src/expr/node_algorithm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/expr/node_algorithm.h b/src/expr/node_algorithm.h
index 7453bc292..d825d7f57 100644
--- a/src/expr/node_algorithm.h
+++ b/src/expr/node_algorithm.h
@@ -39,6 +39,11 @@ namespace expr {
bool hasSubterm(TNode n, TNode t, bool strict = false);
/**
+ * Check if the node n has >1 occurrences of a subterm t.
+ */
+bool hasSubtermMulti(TNode n, TNode t);
+
+/**
* Returns true iff the node n contains a bound variable, that is a node of
* kind BOUND_VARIABLE. This bound variable may or may not be free.
* @param n The node under investigation
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback