diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-12-27 16:25:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-27 16:25:22 -0600 |
commit | 576f20751dc17348b6b680d6ea350f6e42f405ac (patch) | |
tree | a94205938849d4d6c2e0858e12f01a8835d20d5a /src | |
parent | c77262836774c08d5c05fb057348b820a2643c07 (diff) |
Disable sygus PBE when sygus stream is enabled (#1451)
Diffstat (limited to 'src')
-rw-r--r-- | src/options/quantifiers_options | 2 | ||||
-rw-r--r-- | src/smt/smt_engine.cpp | 8 |
2 files changed, 9 insertions, 1 deletions
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 ); |