diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-09-29 14:28:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 14:28:52 -0500 |
commit | b48120e1c224208eaef28f86e77830f211852f9b (patch) | |
tree | 28d9329c1cc13d5e99e8ac38212efb88c20c7ffa /src/theory/quantifiers/inst_strategy_cbqi.cpp | |
parent | 8011f2715fa6ba312fd766cab5249648598310d4 (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.cpp | 3 |
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(); |