I can’t figure out, how to set a logic and the according options in Scala^Z3.
Guess its really simple, but I just can’t find it.. so I really would appreciate some help there 😉
Regards,
Florian
ps.: Scala 3.2 and Z3 4.0 work really fine together 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In case you are still looking…
There are two ways to set options:
Z3Configinstance, e.g.new Z3Config("MODEL" -> true)..setParamValueon aZ3Configinstance, e.g.myConf.setParamValue("MODEL", true).Now to answer the particular question on how to set the logic, that is unfortunately not supported by Z3’s API. You can take a look at Leo’s answer to this similar question for C#.
Note that strictly speaking you don’t really need that option when using the API, though: all theories can be used and Z3 will magically figure out what to do.