Open jwaldmann opened 2 years ago
with previous commit, I can parse output from "z3" [ "-in", "-smt2" ]
Thanks for reporting this. Unfortunately the output formats for the various solvers are not very well documented. Please make a PR, would be happy to merge.
No, output format is well-defined (meanwhile)? See 4.2.6 "Inspecting models" of http://smtlib.cs.uiowa.edu/papers/smt-lib-reference-v2.6-r2021-05-12.pdf
Yes, I will send PR.
current implementation has just one branch that builds a Real
but solvers also produce other forms: z3 sends
I added a test case (in my fork) https://github.com/yav/simple-smt/commit/21571e9aa628c70552705610cde56fe21bb04c0a