Docsity

Transforming Axioms into Clause Form: Logic and Predicate Calculus, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
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)
pf3
pf4
pf5

Partial preview of the text

Download Transforming Axioms into Clause Form: Logic and Predicate Calculus and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

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...