0% found this document useful (0 votes)
730 views3 pages

Tut5 PDF

This document contains 6 questions regarding first-order logic, predicate logic, and resolution proofs. Question 1 asks to express sentences in first-order logic. Question 2 asks to find the most general unifier for pairs of atomic sentences. Question 3 provides a vocabulary and asks to write assertions in first-order logic. Question 4 asks to translate sentences to predicate logic, prove statements using backward chaining and resolution. Question 5 asks to use resolution to answer a question. Question 6 asks to represent facts in predicate logic and construct resolution proofs.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
730 views3 pages

Tut5 PDF

This document contains 6 questions regarding first-order logic, predicate logic, and resolution proofs. Question 1 asks to express sentences in first-order logic. Question 2 asks to find the most general unifier for pairs of atomic sentences. Question 3 provides a vocabulary and asks to write assertions in first-order logic. Question 4 asks to translate sentences to predicate logic, prove statements using backward chaining and resolution. Question 5 asks to use resolution to answer a question. Question 6 asks to represent facts in predicate logic and construct resolution proofs.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Question 1:

Assuming predicates Parent (p, q) and Female(p) and constants Joan and Kevin, with the obvious meanings, express each of the following sentences in rst-order logic. (You may use the abbreviation 1 to mean there exists exactly one.) a. b. c. d. e. Joan has a daughter (possibly more than one, and possibly sons as well). Joan has exactly one daughter (but may have sons as well). Joan has exactly one child, a daughter. Joan and Kevin have exactly one child together. Joan has at least one child with Kevin, and no children with anyone else.

Question 2:
For each pair of atomic sentences, give the most general unifier if it exists: a. b. c. d. P(A, B, B), P(x, y, z). Q(y, G(A, B)), Q(G(x, x), y). Older(Father(y), y), Older(Father(x), John). Knows(Father(y), y), Knows(x, x).

Question 3:
Consider a vocabulary with the following symbols: Occupation(p, o): Predicate. Person p has occupation o. Customer (p1,p2): Predicate. Person p1 is a customer of person p2. Boss(p1,p2): Predicate. Person p1 is a boss of person p2. Doctor , Surgeon, Lawyer , Actor : Constants denoting occupations. Emily, Joe: Constants denoting people.

Use these symbols to write the following assertions in rst-order logic:

a. b. c. d. e. f. g.

Emily is either a surgeon or a lawyer. Joe is an actor, but he also holds another job. All surgeons are doctors. Joe does not have a lawyer (i.e., is not a customer of any lawyer). Emily has a boss who is a lawyer. There exists a lawyer all of whose customers are doctors. Every surgeon has a lawyer.

Question 4:
Consider the following sentences: a. b. c. d. e. John likes all kinds of food. Apples are food. Chicken is food. Anything anyone eats and isnt killed by is food. Bill eats peanuts and is still alive. Sue eats everything Bill eats Translate these sentences into formulas in predicate logic. Prove that John likes peanuts using backward chaining. Convert the formulas of part a into clause form. Prove that John likes peanuts using resolution. Use resolution to answer the question, What food does Sue eat?

Question 5:
Assume the following facts: Steve only likes easy courses. Science courses are hard. All the courses in the basket weaving department are easy BK301 is a basket weaving course.

Use resolution to answer the question. What course would Steve like?

Question 6 (Extra):
Consider the following facts: The members of the Elm St. Bridge Club are Joe, Sally, Bill, and Ellen. Joe is married to Sally. Bill is Ellens brother. The spouse of every married person in the club is also in the club. The last meeting of the club was at Joes house.

a. Represent these facts in predicate logic. b. From the facts given above, most people would be able to decide on the truth of the following additional statements: o The last meeting of the club was at Sallys house. o Ellen is not married. Can you construct resolution proofs to demonstrate the truth of each of these statements given the five facts listed above? Do so if possible. Otherwise, add the facts you need and then construct the proofs.

--------THE END -------

You might also like