summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-04-16 11:21:07 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-04-16 11:21:19 +0200
commit1bf5bc13506ba8c517925a50a6650a594d3ec42d (patch)
tree50b8e87dbf38cbd483ce1848b814489792016aef /src/theory/quantifiers
parent15d1cd77d1ab30bcbd2d89b77a3f2aab577b86cf (diff)
Handle (degenerate) case of synthesis conjectures for constants. Disable delta lemmas.
Diffstat (limited to 'src/theory/quantifiers')
-rw-r--r--src/theory/quantifiers/ce_guided_instantiation.cpp6
-rw-r--r--src/theory/quantifiers/ce_guided_single_inv.cpp3
2 files changed, 8 insertions, 1 deletions
diff --git a/src/theory/quantifiers/ce_guided_instantiation.cpp b/src/theory/quantifiers/ce_guided_instantiation.cpp
index 7553eb736..ea97513b8 100644
--- a/src/theory/quantifiers/ce_guided_instantiation.cpp
+++ b/src/theory/quantifiers/ce_guided_instantiation.cpp
@@ -505,7 +505,11 @@ void CegInstantiation::printSynthSolution( std::ostream& out ) {
}
if( !(Trace.isOn("cegqi-stats")) ){
out << "(define-fun " << f << " ";
- out << dt.getSygusVarList() << " ";
+ if( dt.getSygusVarList().isNull() ){
+ out << "() ";
+ }else{
+ out << dt.getSygusVarList() << " ";
+ }
out << dt.getSygusType() << " ";
if( status==0 ){
out << sol;
diff --git a/src/theory/quantifiers/ce_guided_single_inv.cpp b/src/theory/quantifiers/ce_guided_single_inv.cpp
index b3c1e1eaa..a612db872 100644
--- a/src/theory/quantifiers/ce_guided_single_inv.cpp
+++ b/src/theory/quantifiers/ce_guided_single_inv.cpp
@@ -637,6 +637,8 @@ Node CegInstantiator::applySubstitution( Node n, std::vector< Node >& subs, std:
//check if delta has a lower bound L
// if so, add lemma L>0 => L>d
void CegInstantiator::getDeltaLemmas( std::vector< Node >& lems ) {
+ return;
+ /* disable for now
if( !d_n_delta.isNull() ){
Theory* theory = d_qe->getTheoryEngine()->theoryOf( THEORY_ARITH );
if( theory && d_qe->getTheoryEngine()->isTheoryEnabled( THEORY_ARITH ) ){
@@ -701,6 +703,7 @@ void CegInstantiator::getDeltaLemmas( std::vector< Node >& lems ) {
}
}
}
+ */
}
void CegInstantiator::check() {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback