diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-07-12 13:29:59 +0200 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2015-07-12 13:29:59 +0200 |
commit | 7943953741c67d8246f983e193d26812d959b4cd (patch) | |
tree | 6eb9877e9c75a6f41ea66c7914aecdd05e2d19e4 /src/theory/quantifiers/term_database.cpp | |
parent | 812506431184838f50944f963bb9279da5ff80ba (diff) |
Add option --full-saturate-quant-rd. Fix option --register-quant-body-terms.
Diffstat (limited to 'src/theory/quantifiers/term_database.cpp')
-rw-r--r-- | src/theory/quantifiers/term_database.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/theory/quantifiers/term_database.cpp b/src/theory/quantifiers/term_database.cpp index 189866494..cc8ae4db0 100644 --- a/src/theory/quantifiers/term_database.cpp +++ b/src/theory/quantifiers/term_database.cpp @@ -129,11 +129,12 @@ void TermDb::addTerm( Node n, std::set< Node >& added, bool withinQuant, bool wi bool rec = false; if( d_processed.find( n )==d_processed.end() ){ d_processed.insert(n); - d_type_map[ n.getType() ].push_back( n ); - //if this is an atomic trigger, consider adding it - //Call the children? - if( inst::Trigger::isAtomicTrigger( n ) ){ - if( !TermDb::hasInstConstAttr(n) ){ + if( !TermDb::hasInstConstAttr(n) ){ + Trace("term-db-debug") << "register term : " << n << std::endl; + d_type_map[ n.getType() ].push_back( n ); + //if this is an atomic trigger, consider adding it + //Call the children? + if( inst::Trigger::isAtomicTrigger( n ) ){ Trace("term-db") << "register term in db " << n << std::endl; Node op = getOperator( n ); /* @@ -166,7 +167,7 @@ void TermDb::addTerm( Node n, std::set< Node >& added, bool withinQuant, bool wi d_iclosure_processed.insert( n ); rec = true; } - if( rec ){ + if( rec && n.getKind()!=FORALL ){ for( size_t i=0; i<n.getNumChildren(); i++ ){ addTerm( n[i], added, withinQuant, withinInstClosure ); } |