简体   繁体   中英

Calling Z3 as black box from Ocaml

I would like to get access to the quantifier elimination tactic of Z3 in Ocaml, in order to avoiding implementing all the validity and quantifier elimination methods I need.

To do so, I would like to know how to call a Z3 API (for instance, Z3 from Python as a black box) from Ocaml.

Can anyone help?

PS: Would this activity be called multi-paradigm programming? I ask this in order to find more info about similar issues in the future.

z3 already comes with OCaml bindings:

If the API exposed isn't enough to do what you want, you should really ask them to expose it through the OCaml API. I think going through OCaml-Python-Z3 would be really problematic as you'd have to juggle both layers.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM