Fixes #4243.
{
// cannot do nested quantifier elimination in incremental mode
options::cbqiNestedQE.set(false);
+ options::cbqiPreRegInst.set(false);
}
if (logic.isPure(THEORY_ARITH) || logic.isPure(THEORY_BV))
{
regress1/quantifiers/issue3765-quant-dd.smt2
regress1/quantifiers/issue4021-ind-opts.smt2
regress1/quantifiers/issue4062-cegqi-aux.smt2
+ regress1/quantifiers/issue4243-prereg-inc.smt2
regress1/quantifiers/issue4290-cegqi-r.smt2
regress1/quantifiers/issue993.smt2
regress1/quantifiers/javafe.ast.StmtVec.009.smt2
--- /dev/null
+; COMMAND-LINE: -i
+; EXPECT: sat
+(set-logic BV)
+(set-info :status sat)
+(declare-fun _substvar_16_ () Bool)
+(set-option :cbqi-prereg-inst true)
+(set-option :check-models true)
+(declare-fun v2 () Bool)
+(push 1)
+(assert (exists ((q1 (_ BitVec 12)) (q2 Bool) (q3 (_ BitVec 12))) (xor _substvar_16_ q2 v2)))
+(push 1)
+(pop 1)
+(pop 1)
+(assert (forall ((q23 (_ BitVec 6))) v2))
+(check-sat)