Closed JoanEspasa closed 3 years ago
This isn't a bug ... Z3 and Yices are just "more permissive" in the variant of SMTLIB2 they accept.
According to SMTLIB2, or
(and other Boolean connectives such as and
) are all arity >= 2. It just so happens that Z3/Yices/(some other solvers) accept the 1-arity variant.
As @andrewvaughanj mentioned this is not standard SMT-LIB.
Many thanks, I was not aware of that. Sorry for bothering you guys :)
First at all, thanks for making an amazing solver!
I think I found a kinda simple bug. I minimized the instance that I'm generating to this:
And the solver returns:
I'm using version 3.1.0. Z3 and Yices parse it correctly, so I guess having an or with only one operand its not a syntax error?
Thanks again 👍