diff options
Diffstat (limited to 'src/theory/quantifiers/term_util.cpp')
-rw-r--r-- | src/theory/quantifiers/term_util.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/theory/quantifiers/term_util.cpp b/src/theory/quantifiers/term_util.cpp index bccf6829c..3b8d03399 100644 --- a/src/theory/quantifiers/term_util.cpp +++ b/src/theory/quantifiers/term_util.cpp @@ -690,21 +690,6 @@ Node TermUtil::ensureType( Node n, TypeNode tn ) { } } -void TermUtil::getRelevancyCondition( Node n, std::vector< Node >& cond ) { - if( n.getKind()==APPLY_SELECTOR_TOTAL ){ - // don't worry about relevancy conditions if using shared selectors - if( !options::dtSharedSelectors() ){ - unsigned scindex = Datatype::cindexOf(n.getOperator().toExpr()); - const Datatype& dt = ((DatatypeType)(n[0].getType()).toType()).getDatatype(); - Node rc = NodeManager::currentNM()->mkNode( APPLY_TESTER, Node::fromExpr( dt[scindex].getTester() ), n[0] ).negate(); - if( std::find( cond.begin(), cond.end(), rc )==cond.end() ){ - cond.push_back( rc ); - } - getRelevancyCondition( n[0], cond ); - } - } -} - bool TermUtil::containsTerm2( Node n, Node t, std::map< Node, bool >& visited ) { if( n==t ){ return true; |