I'm still trying to get the hang of lambda calculus:
I completed simplified some of these already but am lost on the last two. I did so far:
\begin{align*}
(\lambda x.x)y &\to y\\
(\lambda x.y)x &\to x
\end{align*}
However, I'm not sure how to simplify these two:
\begin{gather*} (\lambda x.x y)(\lambda y.y z)\\ (\lambda x.x y)(\lambda a.a b) p \end{gather*} They are a little bit similar, but I'm not sure how to simplify these expressions.