diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-10-20 14:52:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 14:52:31 -0500 |
commit | 78373c7f5fe93b7e8bbea10e3924f24d25a618ac (patch) | |
tree | b3bd84e3d2154a4835679c71c028e87dbe1e2665 /src/expr/node.cpp | |
parent | fc0a5dcc002b12f075681d53e87cca1ddfbd479d (diff) |
Make Sygus conjectures higher-order (#1244)
* Represent sygus synthesis conjectures using higher-order quantification, remove associated hacks.
* Minor fix
* Fix bug in Node::hasBoundVar for non-ground operators.
* Add regression.
* Address review.
* Apply clang format.
Diffstat (limited to 'src/expr/node.cpp')
-rw-r--r-- | src/expr/node.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expr/node.cpp b/src/expr/node.cpp index 75e37151a..126feadd8 100644 --- a/src/expr/node.cpp +++ b/src/expr/node.cpp @@ -111,6 +111,9 @@ bool NodeTemplate<ref_count>::hasBoundVar() { hasBv = (*i).hasBoundVar(); } } + if (!hasBv && hasOperator()) { + hasBv = getOperator().hasBoundVar(); + } setAttribute(HasBoundVarAttr(), hasBv); setAttribute(HasBoundVarComputedAttr(), true); Debug("bva") << *this << " has bva : " << getAttribute(HasBoundVarAttr()) << std::endl; |