开发者

Lambda calculus help

开发者 https://www.devze.com 2023-01-26 16:23 出处:网络
So i\'m totally stuck on this one part of a problem. It would be awesome if someone could help.........

So i'm totally stuck on this one part of a problem. It would be awesome if someone could help.........

Show that the term ZZ where Z is λz.λx. x(z z x) satisfie开发者_如何学JAVAs the requirement for fixed point combinators that ZZM =β M(ZZM).


This is completely trivial. You just apply the definition of β-reduction two times:

 Z Z M = (λz.λx. x(z z x)) Z M > (λx. x(Z Z x)) M > M (Z Z M) 

where > is the β-reduction.

Therefore Z Z M β-reduces to M (Z Z M) in two steps, hence Z Z M =β M (Z Z M).

0

精彩评论

暂无评论...
验证码 换一张
取 消