Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(40) tesolution applies one clause from a program to make one step of progress on a list of goal terms to be proved. Here it

image text in transcribed

(40) tesolution applies one clause from a program to make one step of progress on a list of goal terms to be proved. Here it is a function that takes a clause from the program and a list of goal terms to be proved and returns a new list of goal terms: function resolution(clause, goals): let sub- the MGU of head(clause) and head(goals) return sub(tail (clause) concatenated with tail(goals) What is the MGU for these resolution steps, and what is the new list of goal terms that results? a. resolution ([eacl, [p,x.vl) b. resolution([p(a).ip(x)1) c. resolution([p (X.b),q(X)], [p(a,Y),r()1) d. resolution([append (X.Y, [1,21)1, [append ([],B, B)]) e. resolution([append (X,Y, [1,2)1, Lappend ([HeadlTailAl,B, [HeadlTailc]), append (IailA,B,Tail)])

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Oracle8I Building Efficient Databases

Authors: Jonathan Lewis

1st Edition

0201715848, 978-0201715842

More Books

Students also viewed these Databases questions

Question

What would you do?

Answered: 1 week ago