Question: Lambda Calculus:Programming Assignment Please Help A -expression is said to be rectified if and only if (a) no variable occurs free and bound in it,

Lambda Calculus:Programming Assignment

Please Help

A -expression is said to be rectified if and only if (a) no variable occurs free and bound in it, and (b) no variable has more than one bound occurrence (i.e., no variable appears bound in two places). Thus Abs(3, Abs(3,(V 3))) is not rectified, whereas Abs(2, Abs(3,(V 3))), which is -equivalent to it, is rectified. (So is Abs(4, Abs(3,(V 3))): thus the answer is not unique.) Write a function rectify that takes a -expression as input and outputs a rectified -expression that

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!