1 Consider Following Logic Program P X X P X S Y P X Y P F X L F Y M P L M Show Successf Q37298314

SLD Resolution / Derivation

1. Consider the following logic program. p(X, x) p(X, s(Y)) - p(X, Y). p(f (X, L), f(Y, M))-p(L, M). Show a successful SLD-de

1. Consider the following logic program. p(X, x) p(X, s(Y)) – p(X, Y). p(f (X, L), f(Y, M))-p(L, M). Show a successful SLD-derivation for the following query: ?- p(f (a, s(a)), f(X, X)). a is a constant. 2. Consider the following logic program p(x, ) p(X, [XIL]) :- p(X, L). Show a successful SLD-derivation for the following query: a is a constant. Show transcribed image text 1. Consider the following logic

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.