Question

6. Consider the predicates M(x), F(x), and P(x, y) in a domain of people. The predicate M(x) states of a person that he is male, the predicate F(x) states of a person that she is female, the predicate P(z, y) states that x is the parent of y. Write the following queries in the Predicate Logic. (a) Find the people who are mothers (b) Find the people who do not have an uncle.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let A represent for all and E represent there exiists

a) A(x) E (y) F(x) ^ P(x,y)

c) A(x) E(y,z) P(x,y) ^ M(y) ^ P(y,z) ^ not (F(z))

d) A(x, y) E(z) P(z,x) ^ P(z,y) ^ not(x=y)

e) A(x,y) Ez P(x,z) ^ P(y,z)

Add a comment
Know the answer?
Add Answer to:
6. Consider the predicates M(x), F(x), and P(x, y) in a domain of people. The predicate...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT