diff options
Diffstat (limited to 'src/expr/node_algorithm.h')
-rw-r--r-- | src/expr/node_algorithm.h | 5 |
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 |