From 576f20751dc17348b6b680d6ea350f6e42f405ac Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Wed, 27 Dec 2017 16:25:22 -0600 Subject: [PATCH] Disable sygus PBE when sygus stream is enabled (#1451) --- src/options/quantifiers_options | 2 +- src/smt/smt_engine.cpp | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/options/quantifiers_options b/src/options/quantifiers_options index c3091a131..65731547d 100644 --- a/src/options/quantifiers_options +++ b/src/options/quantifiers_options @@ -261,7 +261,7 @@ option cegqiSingleInvReconstructConst --cegqi-si-reconstruct-const bool :default include constants when reconstruct solutions for single invocation conjectures in original grammar option cegqiSingleInvAbort --cegqi-si-abort bool :default false abort if synthesis conjecture is not single invocation -option sygusPbe --sygus-pbe bool :default true +option sygusPbe --sygus-pbe bool :default true :read-write sygus advanced pruning based on examples option sygusQePreproc --sygus-qe-preproc bool :default false use quantifier elimination as a preprocessing step for sygus diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp index 4336b7a05..9b4837d43 100644 --- a/src/smt/smt_engine.cpp +++ b/src/smt/smt_engine.cpp @@ -1873,6 +1873,14 @@ void SmtEngine::setDefaults() { if( !options::instNoEntail.wasSetByUser() ){ options::instNoEntail.set( false ); } + if (options::sygusStream()) + { + // PBE and streaming modes are incompatible + if (!options::sygusPbe.wasSetByUser()) + { + options::sygusPbe.set(false); + } + } //do not allow partial functions if( !options::bitvectorDivByZeroConst.wasSetByUser() ){ options::bitvectorDivByZeroConst.set( true ); -- 2.30.2