This PR adds regressions for two issues that relate to the previously incomplete handling of real algebraic models.
The issue has been resolved by properly integrating real algebraic numbers as model values and in the rewriter.
Fixes #6547. Fixes #6619.
regress0/nl/issue5737-div00.smt2
regress0/nl/issue5740-mod00.smt2
regress0/nl/issue5740-2-mod00.smt2
+ regress0/nl/issue6547-ran-model.smt2
+ regress0/nl/issue6619-ran-model.smt2
regress0/nl/issue8135-icp-candidates.smt2
regress0/nl/magnitude-wrong-1020-m.smt2
regress0/nl/mult-po.smt2
--- /dev/null
+; REQUIRES: poly
+; EXPECT: sat
+(set-logic QF_NRA)
+(declare-const r Real)
+(assert (= 1.0 (/ 2 r r)))
+(check-sat)
--- /dev/null
+; REQUIRES: poly
+; EXPECT: sat
+(set-logic QF_NRA)
+(declare-fun v () Bool)
+(declare-fun r () Real)
+(assert (> 1.0 (* r (- 1.0) (- 0.0 r 86.1))))
+(assert (or v (= 1.0 (/ 1.0 (- r 86.1)))))
+(check-sat)