summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-11-29 00:17:14 -0600
committerGitHub <noreply@github.com>2018-11-29 00:17:14 -0600
commit43e02cedf0e2a2700a2ace23cf85cff9bb242f13 (patch)
tree90ed1619e07e3a959dd5cf576e73a076a9523f20 /src/smt/smt_engine.cpp
parent8d3ea75e7895bbb169a2b7bd02c8fe3b626bdb5e (diff)
Combine sygus stream with PBE (#2726)
Diffstat (limited to 'src/smt/smt_engine.cpp')
-rw-r--r--src/smt/smt_engine.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 1de3e3756..a0939f4db 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -1938,13 +1938,14 @@ void SmtEngine::setDefaults() {
// Streaming is incompatible with techniques that focus the search towards
// finding a single solution. This currently includes the PBE solver and
// static template inference for invariant synthesis.
- if (!options::sygusSymBreakPbe.wasSetByUser())
- {
- options::sygusSymBreakPbe.set(false);
- }
if (!options::sygusUnifPbe.wasSetByUser())
{
options::sygusUnifPbe.set(false);
+ // also disable PBE-specific symmetry breaking unless PBE was enabled
+ if (!options::sygusSymBreakPbe.wasSetByUser())
+ {
+ options::sygusSymBreakPbe.set(false);
+ }
}
if (!options::sygusInvTemplMode.wasSetByUser())
{
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback