



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!




3 rd^ column). Sensors have detected the following facts: B2,1; B1,2; B2,3; B3,2 Where B i, j indicates Breeze in the i-th row and j-th column. Breeze is not detected in any other room. Write rules in propositional logic and change them into Conjunctive Normal Form. Using resolution rule, develop a proof tree to determine the location of the Pit. You must write each step clearly.
conjunctive normal form: Everyone who loves all animals is loved by someone. Anyone who kills an animal is loved by no one. Jack loves all animals. Either Jack or Curiosity killed the cat, who is named Tuna. Using the refutation rule develop the proof tree and prove that ‘Curiosity killed Tuna.’ You must write each step clearly.
STACK( x , y )
P: CLEAR( y ) ^ HOLDING( x ) D: CLEAR( y ) ^ HOLDING( x ) A: ARMEMPTY ^ ON( x , y ) UNSTACK( x , y ) P: ON( x , y ) ^ CLEAR( x ) ^ ARMEMPTY D: ON( x , y ) ^ ARMEMPTY A: HOLDING( x ) ^ CLEAR( y ) PICKUP( x ) P: CLEAR( x ) ^ ONTABLE( x ) ^ ARMEMPTY D: ONTABLE( x ) ^ ARMEMPTY A: HOLDING( x ) PUTDOWN( x ) P: HOLDING( x ) D: HOLDING( x ) A: ONTABLE( x ) ^ ARMEMPTY Using the Goal Stack Planning method (Algorithm is given in the end), develop a plan to transform the following initial state to the goal state. Follow the algorithm and clearly describe each step which needs to be performed. INITIAL STATE GOAL STATE ON (B , A) ^ ON(A , C) ^ ON(C , B) ^ ON (C , B) ^ ONTABLE (A) ^ ON(B , D) ^ CLEAR (C) ^ ONTABLE (D) ^ ONTABLE (D) ^ CLEAR (A) CLEAR (D)
obvious meanings, express each of the following sentences in first- order logic. i) Joan has a daughter (possibly more than one, and possibly sons as well). ii) Joan has exactly one daughter (but may have sons as well). iii) Joan has exactly one child, a daughter. iv) Joan and Kevin have exactly one child together. v) Joan has at least one child with Kevin, and no children with anyone else Goal Stack Planning Algorithm INITIALIZATION