summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/inst_strategy_cbqi.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2017-09-29 14:28:52 -0500
committerGitHub <noreply@github.com>2017-09-29 14:28:52 -0500
commitb48120e1c224208eaef28f86e77830f211852f9b (patch)
tree28d9329c1cc13d5e99e8ac38212efb88c20c7ffa /src/theory/quantifiers/inst_strategy_cbqi.cpp
parent8011f2715fa6ba312fd766cab5249648598310d4 (diff)
Simplify representation of inversion Skolems for bv cegqi (#1164)
* Simplify intermediate representation of inversion skolems for cegqi bit-vectors. Cache bv inversion status globally in QuantifierEngine. Generalize virtual term policy for marking eligible instantiation terms. Enable regression. * Enable other regression
Diffstat (limited to 'src/theory/quantifiers/inst_strategy_cbqi.cpp')
-rw-r--r--src/theory/quantifiers/inst_strategy_cbqi.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers/inst_strategy_cbqi.cpp b/src/theory/quantifiers/inst_strategy_cbqi.cpp
index 34758c431..52ea7cc62 100644
--- a/src/theory/quantifiers/inst_strategy_cbqi.cpp
+++ b/src/theory/quantifiers/inst_strategy_cbqi.cpp
@@ -746,7 +746,8 @@ bool InstStrategyCegqi::addLemma( Node lem ) {
bool InstStrategyCegqi::isEligibleForInstantiation( Node n ) {
if( n.getKind()==INST_CONSTANT || n.getKind()==SKOLEM ){
- if( n.getKind()==SKOLEM && d_quantEngine->getTermDatabase()->containsVtsTerm( n ) ){
+ if( n.getAttribute(VirtualTermSkolemAttribute()) ){
+ // virtual terms are allowed
return true;
}else{
TypeNode tn = n.getType();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback