Fixes cvc5/cvc5-projects#521.
Co-authored-by: Aina Niemetz <aina.niemetz@gmail.com>
logic = log;
logic.lock();
}
+ if (opts.quantifiers.globalNegate)
+ {
+ LogicInfo log(logic.getUnlockedCopy());
+ log.enableQuantifiers();
+ logic = log;
+ logic.lock();
+ }
if (opts.quantifiers.preSkolemQuantNested
&& opts.quantifiers.preSkolemQuantNestedWasSetByUser)
{
regress0/quantifiers/ex3.smt2
regress0/quantifiers/ex6.smt2
regress0/quantifiers/floor.smt2
+ regress0/quantifiers/global_negate.smt2
regress0/quantifiers/horn-ground-pre-post.smt2
regress0/quantifiers/is-even-pred.smt2
regress0/quantifiers/is-int.smt2
--- /dev/null
+; EXPECT: sat
+(set-option :global-declarations true)
+(set-logic QF_FP)
+(set-option :global-negate true)
+(set-option :fp-exp true)
+(declare-const _x0 (_ BitVec 23))
+(declare-const _x1 (_ BitVec 5))
+(declare-const _x2 (_ BitVec 16))
+(declare-const _x3 (_ BitVec 5))
+(assert (let ((_let0 ((_ to_fp 5 11) _x2)))(fp.leq _let0 _let0 _let0)))
+(check-sat)