So following this previous post: Lambda Calculus Reduction steps
I'm still confused on some parts.
If I have something like
λx.(λz.zz)(λy.y)x
Notation from linked post:
(λ param . output)input
The Param would be λx, but would the output be (λz.zz) with (λy.y) being the input? Or would the input be (λz.zz)(λy.y) and x is the input?
- I want to say its
(λx.(λz.zz))(λy.y)) x
with the output being (λz.zz) with (λy.y) being the input since that one CAN be the first one to be worked on.
My steps, not sure if it is correct:
- (λx.(λz.zz))(λy.y)) x
(λy.y) gets dropped because there is no x to replace
(λz.zz)x
xx
Thanks