Groups
Groups
Sign in
Groups
Groups
ats-lang-users
Conversations
Labels
About
Send feedback
Help
Support for solving constraints on reals
15 views
constraint
Skip to first unread message
gmhwxi
unread,
Jun 23, 2016, 1:51:58 PM
6/23/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ats-lang-users
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
Reply all
Reply to author
Forward
0 new messages