Closed wintered closed 4 years ago
z3 treats 0^0 as uninterpreted. As far as I can see the operator ^ isn't part of SMTLIB logics, http://smtlib.cs.uiowa.edu/logics-all.shtml.
Z3 4.8.7 gives unsat
on said formula though.
that would be unsound
current version gives SAT.
D:\z3\build>z3 2840.smt2
sat
D:\z3\build>z3 2840.smt2 smt.random_seed=1
sat
D:\z3\build>z3 2840.smt2 smt.random_seed=2
sat
D:\z3\build>z3 2840.smt2 smt.random_seed=3
sat
D:\z3\build>z3 2840.smt2 smt.random_seed=4
sat
D:\z3\build>z3 2840.smt2 smt.random_seed=5
sat
D:\z3\build>z3 2840.smt2 smt.random_seed=6
sat
Consider the following formula.
Z3 gives
sat
although the formula is unsatisfiable.OS: Ubuntu 18.04 Revision: 4c09b7d