I'm new here and new to lambda calculus. My question is: In lambda calculus reduction (to normal form), is there a way to evaluate the expression (to make sure I did the reduction correctly).
for example (/ stands for lambda) (using beta method)
/x.y(/z.xz))(/y.zy)
=> /x.y(/z.xz))z
=> (/x.yx)z
=> yz
now how to make sure my reduction is right? is there a way i can evaluate the original one and compare it to the reduced one?
/x.y(/z.xz))(/y.zy). - Saintaliyand the lastzappear to be free, or they are being used outside their context of definition. - Saintali