We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The models sometime contain negative real literals: e.g -42.0, which should be (- 42.0). For example
-42.0
(- 42.0)
(set-logic ALL) (set-option :produce-models true) (declare-fun x () Real) (assert (= x (- 42.0))) (check-sat) (get-model)
Gives
; File "simple.smt2", line 6, characters 1-12: I don't know (0.0035) (4 steps) (goal g_1) unknown ( (define-fun x () Real -42.0) )
At the same time, if I write -42.0 into the original file, Alt-Ergo correctly refuses that.
The text was updated successfully, but these errors were encountered:
Properly print negative real literals
6393947
Fixes OCamlPro#1271
afe6a7e
Successfully merging a pull request may close this issue.
The models sometime contain negative real literals: e.g
-42.0
, which should be(- 42.0)
. For exampleGives
At the same time, if I write
-42.0
into the original file, Alt-Ergo correctly refuses that.The text was updated successfully, but these errors were encountered: