diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2015-09-29 15:17:03 +0200 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2015-09-29 15:17:03 +0200 |
commit | 4182943e7accc8a0e05f6dfdf9db7db06e94c6cd (patch) | |
tree | d4f3bad70e464321a4e7fe977f1528f783dcd1b1 /src/theory/quantifiers_engine.cpp | |
parent | ef7b7bba7bc9b207d5a2198518f21b13490caa32 (diff) |
Fix for fmf+incremental. Restrict cbqi to literals from ce body. Add regressions.
Diffstat (limited to 'src/theory/quantifiers_engine.cpp')
-rw-r--r-- | src/theory/quantifiers_engine.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp index f1c47a21a..2c2e4ea5b 100644 --- a/src/theory/quantifiers_engine.cpp +++ b/src/theory/quantifiers_engine.cpp @@ -298,7 +298,7 @@ bool QuantifiersEngine::hasOwnership( Node q, QuantifiersModule * m ) { } void QuantifiersEngine::presolve() { - Trace("quant-engine-debug") << "QuantifiersEngine : presolve " << std::endl; + Trace("quant-engine-proc") << "QuantifiersEngine : presolve " << std::endl; for( unsigned i=0; i<d_modules.size(); i++ ){ d_modules[i]->presolve(); } @@ -306,9 +306,11 @@ void QuantifiersEngine::presolve() { d_presolve = false; //add all terms to database if( options::incrementalSolving() ){ + Trace("quant-engine-proc") << "Add presolve cache " << d_presolve_cache.size() << std::endl; for( unsigned i=0; i<d_presolve_cache.size(); i++ ){ addTermToDatabase( d_presolve_cache[i], d_presolve_cache_wq[i], d_presolve_cache_wic[i] ); } + Trace("quant-engine-proc") << "Done add presolve cache " << std::endl; } } @@ -558,9 +560,9 @@ bool QuantifiersEngine::registerQuantifier( Node f ){ //generate the phase requirements d_phase_reqs[f] = new QuantPhaseReq( ceBody, true ); //also register it with the strong solver - if( options::finiteModelFind() ){ - ((uf::TheoryUF*)d_te->theoryOf( THEORY_UF ))->getStrongSolver()->registerQuantifier( f ); - } + //if( options::finiteModelFind() ){ + // ((uf::TheoryUF*)d_te->theoryOf( THEORY_UF ))->getStrongSolver()->registerQuantifier( f ); + //} d_quants[f] = true; return true; } |