-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(declare-sort 'object-or-man :iff '(or object man)) doesn't work #1
Comments
I've forked and updated to a slightly later version. It doesn't fix the above issue. |
The manual for Snark is rather out of date; the sort system of Snark has been rewritten several years ago and the new sort system does not support disjunctive sorts (see function A possible implementation for your scenario in the new sort system might be
With this implementation the following assertions hold
It might be a good idea to contact Richard Waldinger or Vinay Chaudhri whether they still have the source for the Snark tutorial and whether they would be willing to make it available so that it could be kept up to date. |
Thanks for responding. I think I need to be able to work with partitions (hence the disjunctive) and sort complements. Does the following axiom look like something that would do the trick? Do you have an alternate suggestion?
with the sanity check
Regarding the source for the tutorial, presumably one can simply check in the current html at http://www.ai.sri.com/snark/tutorial/tutorial.html and then edit from there. But I will see about contacting them. It would be easier to work from the original latex. |
Tex source for the tutorial is now at alanruttenberg@478cc9b |
(declare-sort 'object)
(declare-sort 'man)
(declare-sort 'object-or-man :iff '(or object man))
==> error: (or object man) has not been declared as a sort.
The text was updated successfully, but these errors were encountered: