summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/smt/smt_engine.cpp6
-rw-r--r--src/theory/quantifiers/bv_inverter.cpp3
2 files changed, 6 insertions, 3 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index ea51df8c9..57cf3ac8c 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -1472,9 +1472,11 @@ void SmtEngine::setDefaults() {
}
}
- if (options::cbqiBv()) {
+ if (options::cbqiBv() && d_logic.isQuantified())
+ {
if(options::boolToBitvector.wasSetByUser()) {
- throw OptionException("bool-to-bv not supported with CBQI BV");
+ throw OptionException(
+ "bool-to-bv not supported with CBQI BV for quantified logics");
}
Notice() << "SmtEngine: turning off bool-to-bitvector to support CBQI BV"
<< endl;
diff --git a/src/theory/quantifiers/bv_inverter.cpp b/src/theory/quantifiers/bv_inverter.cpp
index f9f66a0be..b0f7a2cb8 100644
--- a/src/theory/quantifiers/bv_inverter.cpp
+++ b/src/theory/quantifiers/bv_inverter.cpp
@@ -2834,7 +2834,8 @@ Node BvInverter::solveBvLit(Node sv,
litk = k = lit.getKind();
/* Note: option --bool-to-bv is currently disabled when CBQI BV
- * is enabled. We currently do not support Boolean operators
+ * is enabled and the logic is quantified.
+ * We currently do not support Boolean operators
* that are interpreted as bit-vector operators of width 1. */
/* Boolean layer ----------------------------------------------- */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback