



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Your answers must be concise and clear. Explain sufficiently that we can easily determine what you understand. We will give more points for a brief interesting discussion with no answer than for a bluffing answer.
This problem has two parts. In the first part, you are asked to translate some first order predicate calculus (FOPC) sentences into English sentences. The meanings of the predicates and functions in the FOPC sentences are given. You should give as natural the English translations as possible. Few points will be given for an English sentence like “For all x there exists a y such that either P of x and y or Q of y.” In the second part, you are asked to translate English sentences into FOPC sentences. If the meaning of the English sentence is ambiguous, give all possible readings. Note that sometimes and, or, and if should not be directly translated into ∧, ∨, and ⇒ in FOPC. Please define every predicate and function you use in your FOPC sentences whenever they are not clearly self-explanatory. If there is a sentence that cannot be translated, please state so and clearly explain why not. If you do nat have access to the symbols used in FOPC, make the following six substitutions in part 2:
∧ /\ (slash, backslash)
∨ / (backslash, slash)
∀ forall
∃ exists
¬ −
⇒ => (equals, greater than)
Predicate symbol definitions for part 1:
Thief(x) x is a thief
Cop(x) x is a cop
Student(x) x is a student
Bike(x) x is a bike
Owns(x, y) x is the owner of y
Stolen by(x, y) x is stolen by y
Caught by(x, y) x is caught by y
Accomplice(x, y) x and y are accomplices
Consider the following English sentences. They are already translated into FOPC sentences.
(1) Every UIUC student has been to the ARC (Activities and Recreation Center). ∀x(UIUC student(x) ⇒ Been to(x, ARC ))
(2) Leland is a UIUC student. UIUC student(Leland )
(3) There is a swimming pool in ARC. ∃x(Is swimming pool(x) ∧ Locate in(x, ARC ))
(4) If a person has swum somewhere, then the person has a swimming suit. ∀x((∃y, Swum in(x, y)) ⇒ (∃y(Is swimming suit(y) ∧ Owns(x, y))))
(5) Leland does not have any swimming suit. ¬∃x(Is swimming suit(x) ∧ Owns(Leland , x))
(6) If a person who can swim has been to somewhere with a swimming pool then the person has swum in that place. ∀x∀y((Can swim(x)∧Been to(x, y)∧(∃z(Is swimming pool(z)∧Locate in(z, y)))) ⇒ Swum in(x, y))
(1) {¬UIUC student(x 1 ), Been to(x 1 , ARC )} (2) {UIUC student(Leland )} (3.1) {Is swimming pool(Sk 1 )} (3.2) {Located in(Sk 1 , ARC )} (4.1) {¬Swum in(x 2 , y 1 ), Is swimming suit(Sk 2 (x 2 ))} (4.2) {¬Swum in(x 3 , y 2 ), Owns(x 3 , Sk 2 (x 3 ))} (5) {¬Is swimming suit(x 4 ), ¬Owns(Leland , x 4 )} (6) {¬Can swim(x 5 ), ¬Been to(x 5 , y 3 ), ¬Is swimming pool(z 1 ), ¬Located in(z 1 , y 3 ), Swum in(x 5 , y 3 )}
(7) {Can swim(Leland )}
(8) {Been to(Leland , ARC )} {x 1 = Leland } (1) and (2) (9) {¬Swum in(x 6 , y 4 ), ¬Owns(Leland , Sk 2 (x 6 ))} {x 4 = Sk 2 (x 2 )} (4.1) and (5) (10) {¬Swum in(Leland , y 5 ), ¬Swum in(Leland , y 6 )} {x 3 = Leland , x 6 = x 3 } (4.2) and (9) (11) {¬Been to(Leland , y 7 ), ¬Is swimming pool(z 2 ), ¬Located in(z 2 , y 7 ), Swum in(Leland , y 7 )} {x 5 = Leland } (6) and (7) (12) {¬Is swimming pool(z 3 ), ¬Located in(z 3 , ARC ), Swum in(Leland , ARC )} {y 7 = ARC } (8) and (11) (13) {¬Located in(Sk 1 , ARC ), Swum in(Leland , ARC )} {z 3 = Sk 1 } (3.1) and (12) (14) {Swum in(Leland , ARC )} {} (3.2) and (13) (15) {¬Swum in(Leland , y 8 )} {y 5 = ARC } (10) and (14) (16) {} {y 8 = ARC } (14) and (15)