hi
i am trying to convert the English sentece below into First-Order Logic, i found it it very hard please help
If nobody is both a child and a dog then if Fido is a dog Fido
cannot be a child
Without using the built-in predicate subtract/3,implement a predicate diff/3 to compute the difference between two given sets (recall that lists may be interpreted as sets if the ordering and duplicate elements are ignored).
Example: ?- diff([1,3,3,4], [4,5,8], X)
i am working on this but i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.