summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-02-01 12:13:54 -0600
committerGitHub <noreply@github.com>2018-02-01 12:13:54 -0600
commitdbd1797f64216ba9eb598579de27cc45814e1db4 (patch)
treeda47015c59c728ada2b7034900267609a00ecb12 /src/smt
parent2e4eba43ffa4dd938b7e1153cc42216a42e8ce04 (diff)
Use sygus to synthesize/verify rewrite rules (#1547)
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/smt_engine.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index 11c226ee4..0c8723ff6 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -1885,6 +1885,11 @@ void SmtEngine::setDefaults() {
if( !options::instNoEntail.wasSetByUser() ){
options::instNoEntail.set( false );
}
+ if (options::sygusRewSynth())
+ {
+ // rewrite rule synthesis implies that sygus stream must be true
+ options::sygusStream.set(true);
+ }
if (options::sygusStream())
{
// PBE and streaming modes are incompatible
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback