Question

Beta reduce the following lambda expressions, if possible: a) (lambda x . lambda y. (x y)...

Beta reduce the following lambda expressions, if possible:

a) (lambda x . lambda y. (x y) (y w))

b) (lambda x . (x x) lambda x . (x x))

0 0
Add a comment Improve this question Transcribed image text
Answer #1

answer to the above question are : -

a )

first expression can be solved using beta reduction, but we have to rename one y using alpha renaming to make one of the y free for substituition purpose.

a> tn. ty. (a y) (y w) here, second y is bound to dy and third y is fill so by possono form in E m) Eady. (ay) and = ly w) So

b ) second expression is of non terminating form which means on solving it will follow infinte loop pattern.so it cant be solved.

if my answer helped then please upvote

thankyou !

Add a comment
Know the answer?
Add Answer to:
Beta reduce the following lambda expressions, if possible: a) (lambda x . lambda y. (x y)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT