summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-02-09 13:23:18 -0600
committerajreynol <andrew.j.reynolds@gmail.com>2016-02-09 13:23:18 -0600
commit49d1898de725a5fac3f68845809ba152eae11282 (patch)
tree7884934f92d895c7d76adfba1f03c0e40503a708 /src/smt
parent2dd6292b73e4e19be2e261c7fe5664bd2b0149bd (diff)
Eager introduction of eqc, lemma cache for ground fmf. Apply preprocessing to quantifier instantiations.
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/smt_engine.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 850b37fe0..deb9770c0 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -3895,14 +3895,11 @@ void SmtEnginePrivate::processAssertions() {
//apply pre-skolemization to existential quantifiers
for (unsigned i = 0; i < d_assertions.size(); ++ i) {
Node prev = d_assertions[i];
- Trace("quantifiers-rewrite-debug") << "Pre-skolemize " << prev << "..." << std::endl;
- vector< TypeNode > fvTypes;
- vector< TNode > fvs;
- d_assertions.replace(i, quantifiers::QuantifiersRewriter::preSkolemizeQuantifiers( prev, true, fvTypes, fvs ));
- if( prev!=d_assertions[i] ){
- d_assertions.replace(i, Rewriter::rewrite( d_assertions[i] ));
- Trace("quantifiers-rewrite") << "*** Pre-skolemize " << prev << endl;
- Trace("quantifiers-rewrite") << " ...got " << d_assertions[i] << endl;
+ Node next = quantifiers::QuantifiersRewriter::preprocess( prev );
+ if( next!=prev ){
+ d_assertions.replace(i, Rewriter::rewrite( next ));
+ Trace("quantifiers-preprocess") << "*** Pre-skolemize " << prev << endl;
+ Trace("quantifiers-preprocess") << " ...got " << d_assertions[i] << endl;
}
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback