I have recently added support for generating constraints on reals in ATS. The generated constraints can be exported for solving via Z3:
https://github.com/githwxi/ATS-Postiats-contrib/blob/master/projects/MEDIUM/ATS-extsolve-z3/ Here is an example verifying the two solutions to a quadratic equation: https://github.com/githwxi/ATS-Postiats-contrib/blob/master/projects/MEDIUM/ATS-extsolve-z3/TEST/quadratic.dats There are a few lines in the following script showing how patsolve_z3 can be built: https://github.com/ats-lang/ats-lang.github.io/blob/master/SCRIPT/C9-ATS2-install-cs520-z3.sh Cheers! --Hongwei -- You received this message because you are subscribed to the Google Groups "ats-lang-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/ats-lang-users. To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/c3e67fdf-549e-46b5-b81c-7bf88c9674ca%40googlegroups.com.
