Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 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]
image text in transcribed

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

Genetic Databases

Authors: Martin J. Bishop

1st Edition

0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

What is meant by functional currency and how it is determined?

Answered: 1 week ago