diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2014-05-11 14:36:50 -0500 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2014-05-11 14:36:50 -0500 |
commit | 0b2f9943d55152e0958369083649dd71340864c9 (patch) | |
tree | cd040f1dd12816c6af37548597bd674cafb45271 /src/theory/quantifiers_engine.cpp | |
parent | 8ebd49cb903ba19f9330820d02af08e226c9b791 (diff) |
More preparation for CASC proofs. Minor fix for sort inference (rewrite new assertions). Bug fix for ambqi : simplify correctly for multi-sorted case. Bug fix for fmc : only do exh-simplification for uninterpreted sorts, ensure reps are enumerated for quantification over Real.
Diffstat (limited to 'src/theory/quantifiers_engine.cpp')
-rw-r--r-- | src/theory/quantifiers_engine.cpp | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp index 8fecc6ee0..a16f46ace 100644 --- a/src/theory/quantifiers_engine.cpp +++ b/src/theory/quantifiers_engine.cpp @@ -623,18 +623,20 @@ void QuantifiersEngine::getPhaseReqTerms( Node f, std::vector< Node >& nodes ){ } } -void QuantifiersEngine::printInstantiations( const char * c ) { - if( options::incrementalSolving() ){ - for( std::map< Node, inst::CDInstMatchTrie* >::iterator it = d_c_inst_match_trie.begin(); it != d_c_inst_match_trie.end(); ++it ){ - Trace(c) << "Instantiations of " << it->first << " : " << std::endl; - it->second->print( c, it->first ); - } - }else{ +void QuantifiersEngine::printInstantiations( std::ostream& out ) { + //Trace("ajr-temp") << "QE print inst." << std::endl; + //if( options::incrementalSolving() ){ + // for( std::map< Node, inst::CDInstMatchTrie* >::iterator it = d_c_inst_match_trie.begin(); it != d_c_inst_match_trie.end(); ++it ){ + // out << "Instantiations of " << it->first << " : " << std::endl; + // it->second->print( out, it->first ); + // } + //}else{ for( std::map< Node, inst::InstMatchTrie >::iterator it = d_inst_match_trie.begin(); it != d_inst_match_trie.end(); ++it ){ - Trace(c) << "Instantiations of " << it->first << " : " << std::endl; - it->second.print( c, it->first ); + out << "Instantiations of " << it->first << " : " << std::endl; + it->second.print( out, it->first ); + out << std::endl; } - } + //} } QuantifiersEngine::Statistics::Statistics(): |