



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!




A.Show the steps required to put the following axioms into clause form: โ x โ y[On(x,y) => Above(x,y)] โ x โ y โ z[(Above(x,y) & Above(y,z)) => Above(x,z)] Eliminate implications โxโy[~On(x,y) V Above(x,y)] Remove^ โ Axiom1: ~On(x,y) V Above(x,y) Eliminate implications โxโyโz[~(Above(x,y) & Above(y,z)) V Above(x,z)] Move negation to literals โxโyโz[~Above(x,y) V ~Above(y,z) V Above(x,z)] Remove^ โ Axiom2: ~Above(x,y) V ~Above(y,z) V Above(x,z)
B. Put the following axioms in clause form, which says that if x is above y, but not directly on y, there must exist some third block, z,in between. Note that a Skolem function will be needed. โ x โ y[(Above(x,y) & ~On(x,y)) =>
โ z[Above(x, z) & Above(z,y)]] Eliminate implications โxโy[~(Above(x,y) & ~On(x,y)) V
โz[Above(x, z) & Above(z,y)]] Move negations to literals โxโy[(~Above(x,y) V On(x,y)) V
โz[Above(x, z) & Above(z,y)]] Eliminate existencial symbols โxโy[(~Above(x,y) V On(x,y)) V [Above(x, f(x,y)) & Above(f(x,y),y)]] Move Vโs to literals โxโy[(~Above(x,y) V On(x,y) V Above(x, f(x,y))) &(~Above(x,y) V On(x,y) V Above(f(x,y),y))] Separate &โs โxโy[(~Above(x,y) V On(x,y) V Above(x, f(x,y)))] โxโy[(~Above(x,y) V On(x,y) V Above(f(x,y),y))] Remove^ โ Axiom1: ~Above(x,y) V On(x,y) V Above(x, f(x,y))) Axiom2: ~Above(x,y) V On(x,y) V Above(f(x,y),y))
Axiom1 <x,JR>
Axiom2 loves(JR,races)
Axiom3^ <x,JR> ~OwnsSW(JR,swName)
Axiom <swName,Boat>
OwnsSW(Bud,Boat)
Axiom5 NIL
A more elaborated answer was designed by professor Rozenblit. I recommend to use this one as a study example for your final. Axiom1: JR owns a sports car :
Sport_car(c) & Owns (JR,c) Axiom 1a : Sport_car(c) Axiom 1b : Owns(JR,c) Axiom2: Every sports car owner loves races :
โx [โy(Sport_car(y) & Owns (x,y)) => loves_races(x)] โy~(Sport_car(y)&Owns(x,y)) V loves_races(x) Axiom 2 : ~Sport_car(y) V ~Owns(x,y) V loves_races(x) Axiom3: No one who loves races buys a station wagon.
โx^ โy (loves_races(x) & SW(y)) => ~Buys(x,y) Axiom 3 : ~loves_races(x) V ~SW(y) V ~Buys(x,y) Axiom4: Either JR or โBudโ bought the station wagon, which is named Boat
Axiom 4 : Buys(JR,Boat) V Buys(Bud, Boat) Axiom5:^ SW(Boat) Negated Theorem
~Buys(Bud, Boat) Did Bud buy the station wagon? Yes he did...