However, if I take the solver in ocaml and output it as a string (in SMT-lib format) and give it to Z3 directly on my computer, it gives sat. I am using the latest version of Z3 for ocaml (4.8.14) and on my computer I am using Z3 version 4.8.18. I have tried this both on a machine running linux, and a machine running mac os. I can give more information if needed, though it may be a pain to build this formula by hand using the ocaml bindings.
There isn't adequate information (such as a self-contained repro) to be able to give useful feedback on this report.
Given that z3 is open source you may be able to also debug this directly.
When checking for satisfiability for the following formula using the ocaml interface, I receive a segmentation fault.
However, if I take the solver in ocaml and output it as a string (in SMT-lib format) and give it to Z3 directly on my computer, it gives sat. I am using the latest version of Z3 for ocaml (4.8.14) and on my computer I am using Z3 version 4.8.18. I have tried this both on a machine running linux, and a machine running mac os. I can give more information if needed, though it may be a pain to build this formula by hand using the ocaml bindings.