Question: ( a ) Consider the - term t = v w ( x y * v x ) . i . Write t in full,

(a) Consider the -term t=vw(xy*vx).
i. Write t in full, inserting all the missing parentheses and 's.
ii. List the free variables and bound variables of t.
[10 marks]
(b) Give the -reduction graph of the -term (xy*x)(II)I, where I=x*x.
Underline all redexes in the graph.
[15 marks]
(c) Define and explain the term disagreement set as used in the unification
algorithm as part of the algorithm for type reconstruction. Include in your
answer an example to illustrate the concept.
[10 marks]
(d) Build a type derivation to find the type of x*(y.y)x.
[15 marks]
 (a) Consider the -term t=vw(xy*vx). i. Write t in full, inserting

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 Databases Questions!