summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/term_database.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-07-12 13:29:59 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-07-12 13:29:59 +0200
commit7943953741c67d8246f983e193d26812d959b4cd (patch)
tree6eb9877e9c75a6f41ea66c7914aecdd05e2d19e4 /src/theory/quantifiers/term_database.cpp
parent812506431184838f50944f963bb9279da5ff80ba (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.cpp13
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 );
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback