summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/ce_guided_instantiation.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-01-22 09:40:51 +0100
committerajreynol <andrew.j.reynolds@gmail.com>2015-01-22 09:40:51 +0100
commit9867d5a61ccde30f7e4616a652ef86a9b15ae6d8 (patch)
tree2b8987cbac1745268bfee3d66b2a06973ff53683 /src/theory/quantifiers/ce_guided_instantiation.cpp
parent2c09bb19994bc1baa97e30642a0281692c181a4b (diff)
Do not drop patterns during boolean term rewriting. Narrow sygus search space based on commutative operators.
Diffstat (limited to 'src/theory/quantifiers/ce_guided_instantiation.cpp')
-rw-r--r--src/theory/quantifiers/ce_guided_instantiation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/theory/quantifiers/ce_guided_instantiation.cpp b/src/theory/quantifiers/ce_guided_instantiation.cpp
index 6aeb8cda0..f0edb7106 100644
--- a/src/theory/quantifiers/ce_guided_instantiation.cpp
+++ b/src/theory/quantifiers/ce_guided_instantiation.cpp
@@ -36,7 +36,7 @@ void CegInstantiation::collectDisjuncts( Node n, std::vector< Node >& d ) {
d.push_back( n );
}
}
-
+
CegInstantiation::CegConjecture::CegConjecture( context::Context* c ) : d_active( c, false ), d_infeasible( c, false ), d_curr_lit( c, 0 ){
d_refine_count = 0;
}
@@ -72,6 +72,7 @@ Node CegInstantiation::CegConjecture::getLiteral( QuantifiersEngine * qe, int i
}else{
std::map< int, Node >::iterator it = d_lits.find( i );
if( it==d_lits.end() ){
+ Trace("cegqi-engine") << "******* CEGQI : allocate size literal " << i << std::endl;
Node lit = NodeManager::currentNM()->mkNode( LEQ, d_measure_term, NodeManager::currentNM()->mkConst( Rational( i ) ) );
lit = Rewriter::rewrite( lit );
d_lits[i] = lit;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback