summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.cpp
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-09-12 15:48:11 -0500
committerajreynol <andrew.j.reynolds@gmail.com>2016-09-12 15:48:11 -0500
commitca1b17c8bba3681643a1a3de19d32b038c38aceb (patch)
treeff02dc2314a3c1e86d19ca9bc2bbe8a57ef1856b /src/smt/smt_engine.cpp
parent685b1f3769decafbff1c5b929d4ce01169ff9d81 (diff)
Refactor prenex modes.
Diffstat (limited to 'src/smt/smt_engine.cpp')
-rw-r--r--src/smt/smt_engine.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index c9f80c2aa..b7997a204 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -1732,7 +1732,7 @@ void SmtEngine::setDefaults() {
options::mbqiMode.set( quantifiers::MBQI_NONE );
}
if( ! options::prenexQuant.wasSetByUser() ){
- options::prenexQuant.set( quantifiers::PRENEX_NONE );
+ options::prenexQuant.set( quantifiers::PRENEX_QUANT_NONE );
}
}
if( options::ufssSymBreak() ){
@@ -1856,8 +1856,14 @@ void SmtEngine::setDefaults() {
options::quantConflictFind.set( true );
}
if( options::cbqiNestedQE() ){
- options::prenexQuantAgg.set( true );
- //options::prenexSkolemQuant.set( true );
+ //only sound with prenex = disj_normal or normal
+ if( options::prenexQuant()<=quantifiers::PRENEX_QUANT_DISJ_NORMAL ){
+ options::prenexQuant.set( quantifiers::PRENEX_QUANT_DISJ_NORMAL );
+ }
+ options::prenexQuantUser.set( true );
+ if( !options::preSkolemQuant.wasSetByUser() ){
+ options::preSkolemQuant.set( true );
+ }
}
//for induction techniques
if( options::quantInduction() ){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback