options::bvEagerExplanations.set(true);
}
- if( !options::bitvectorEqualitySolver() ){
- Trace("smt") << "disabling bvLazyRewriteExtf since equality solver is disabled" << endl;
- options::bvLazyRewriteExtf.set(false);
- }
-
// Turn on arith rewrite equalities only for pure arithmetic
if(! options::arithRewriteEq.wasSetByUser()) {
bool arithRewriteEq = d_logic.isPure(THEORY_ARITH) && d_logic.isLinear() && !d_logic.isQuantified();
options::bitvectorInequalitySolver.set(false);
}
}
+
+ if (!options::bitvectorEqualitySolver())
+ {
+ if (options::bvLazyRewriteExtf())
+ {
+ if (options::bvLazyRewriteExtf.wasSetByUser())
+ {
+ throw OptionException(
+ "--bv-lazy-rewrite-extf requires --bv-eq-solver to be set");
+ }
+ }
+ Trace("smt")
+ << "disabling bvLazyRewriteExtf since equality solver is disabled"
+ << endl;
+ options::bvLazyRewriteExtf.set(false);
+ }
}
void SmtEngine::setProblemExtended(bool value)