Question: a . Consider the expressions ancestor ( X , Y ) and ancestor ( dan , aaron ) . Give a unifying substitution, if there

a. Consider the expressions ancestor(X, Y ) and ancestor(dan, aaron). Give a unifying substitution, if there is one, or explain why they cant be unified if there isnt.
b. Consider the expressions ancestor(X, father(X)) and ancestor(aaron, dan), and assume it is known that dan = father(aaron). Give a unifying substitution, if there is one, or explain why they cant be unified if there isnt.
c. Give the composition of the substitutions {a/Z, Y /X} and {Z/W, b/Y } in that order

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!