Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
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 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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started