x <- declare s "x" tReal
assert s (mul (real 3) (add x (real 2)) `eq` real (negate 5))
communicating with cvc5 gives
[send->] (assert (= (* 3.0 (+ x 2.0)) -5.0))
[<-recv] (error "Parse Error: <stdin>:4.33: Symbol -5.0 is not declared. (assert (= (* 3.0 (+ x 2.0)) -5.0)) ^ ")
ex3: user error (Unexpected result from the SMT solver:
Expected: success
Result: (error "Parse Error: <stdin>:4.33: Symbol -5.0 is not declared. (assert (= (* 3.0 (+ x 2.0)) -5.0)) ^ ")
)
I have this constraint
communicating with cvc5 gives
I guess they want
(- 5.0)
instead of-5.0
.