Question: Problem 1: A variable in a lambda calculus expression can be bound to one of the X terms, or is free if it isn't bound

 Problem 1: A variable in a lambda calculus expression can be

bound to one of the X terms, or is free if it

Problem 1: A variable in a lambda calculus expression can be bound to one of the X terms, or is free if it isn't bound to any. (Refer to Section 1.1 of the lambda calculus tutorial written by R. Rojas for additional explanation.) For each of the following expressions, identify which variables are bound and which are free: (a): (ax.x) (b): (Qx.x) y (c): (axy.xz) y (d): (ax.x) Qy.yx) Hint: There may be more than one distinct variable named 'x'. y'. or z' in a given expression! When there is, clarify which variable you're referring to, e.g. "the x inside the first lambda is bound" Problem 2: For each of the expressions in Problem 1, show what it reduces to. (If an expression doesn't reduce any further, just write the expression as-is as your answer.) Hint: You are allowed to, and probably should, use an interpreter such as the one at http:lljacksongl.github.iolfiles/demollambda/

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!