I have the following expression:
(((\x y -> x y (\z -> z + 1)) 5)
Besides that I have the following formula:
I (think) I know how to reduce it correctly:
((\y -> y)(\z -> z + 1) 5)
((\y -> y)6)
(6)
But then I don't understand how to fill in the variables stated in the formula. I don't understand where to put what and the why behind it. Besides this example I have another one with the following expression:
(\x y x -> ( (y z) x) )5
With the following formula:
Again I think I know how to reduce it:
(\y -> (y z) 5))
(5 z)
But then I again I don't know how to fill in the variables.
Could anyone help me out to fill in the variables and besides that explain me why that variable should have it's value