Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help translating these sentences because I am having trouble understandin

ID: 3596619 • Letter: I

Question

I need help translating these sentences because I am having trouble understanding the proper format and would like to compare with current work.


Translate each of the following English sentences into rst-order logic, using only the following constants, functions, and predicates ...
Constants:
• IronMan — a hero named Iron Man
• TonyStark — a person named Tony Stark
Functions:
• Height(x) — the height of x
Predicates:
• Book(x) — x is a book
• Day(x) — x is a day
• Dog(x) — x is a dog
• Human(x) — x is a human
• Student(x) — x is a student
• Useful(x) — x is useful
• Boss(x,y) — x is the boss of y
• Coworker(x,y) — x is a coworker of y
• Has(x,y) — x has y
• Likes(x,y) — x likes y
• Equal(x,y) — x and y are the same object
• GT(x,y) — the height x is greater than the height y


Exercises:
1. “All students are human.”
2. “Some books are useful.”
3. “Not all books are useful.”
4. “No dogs are students.”
5. “Every dog has his day.”
6. “Some humans like all dogs.”
7. “Coworkers are humans who have the same (human) boss.”
8. “Tony Stark is Iron Man.”
9. “There is a human who likes all the dogs he has, but no others.”
10. “There is exactly one useful book.”
11. “There is only one dog that likes Tony Stark.”
12. “The tallest dog is taller than the shortest human.”
13. “All dogs are useful.”
14. “Some humans are students.”
15. “Not all humans are students.”
16. “No books are useful.”
17. “Every student has a book.”
18. “There is at least one human who has all books.”
19. “There is a human who has all of the books that he likes.”
20. “Some students have only one dog.”

Explanation / Answer

1.For all x(S(x)-->H(x))
2.There exist x(Book(x) -->Useful(x))
3. There exist x(Book(x)--> Not Useful(x))
4. For all x (Dog(x)--->Not Student(x))
5.For all x there exist y (Dog(x)--->Day(y))
6.For all y There exist x (H(x) and Dog(y)-->likes(x,y))
7.For all x There exist y (H(y) and Boss(y,x)--->H(x))
8.There exist x( Human(x) and x=Tony Start-->Ironman)
9.There exist x For all y(Human(x) and Hax(x,y)-->Likes(x,y))
10.There exit x(Book(x)--<Usefule(x))
11. There exist x (Dog(x)-->Likes(x,Tony Stark)
12. There exist x For all y There exist z For all w (Dog(x) and Dog(y) and H(x) > H(y) and Human(z) and Human(y) and H(z) < H(y)----> H(x)>H(z))
13.For all x(Dog(x)-->Useful(x))
14.There exist x (Human(x)-->Student(x))
15.There exist x (Human(x)-->Not Student(x))
16.For all x(Book(x)-->Not Useful(x))
17.For all x There exist y(Student(x) --->Has(x,y))
18.There exist x For all y(Human(x) and Book(y)--->Has(x,y))
19.There exist x For all y(Human(x) and Book(y) and Likes(x,y) ---> Has(x,y))
20.There exist x There exist y(Student(x) and Dog(y) and Has(x,y))

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote