I want program that implements the UNIFICATION algorithm in AI in prolog language or any suitable language.
Write a well documented program that implements the UNIFICATION algorithm
Use the following pairs of Predicate Calculus formulas to test your program
Submit your program and the outcomes of the tests
p(X,Y) and p(a,Z)
p(X,X) and p(a,b)
ancestor(X,Y) and ancestor(bill,father(bill))
ancestor(X,father(X)) and ancestor(david,george))
q(X) and -q(a)
p(X,f(Y),b) and p(X,f(b),b)
Your program must be general enough so if I give you some more test pairs should work!
Kindly apply if you can do this task perfectly i needs within next maximum 6-7 hours.