3.2

试求 SSSSSSSSβ\beta-nf。

Sλxyz.xz(yz)S \equiv \lambda xyz.xz(yz),有 SS=βλyz.Sz(yz)=βλyz.(λt.zt(yzt))=βλyzt.zt(yzt)SS =_{\beta} \lambda yz.Sz(yz) =_\beta\lambda yz.(\lambda t.zt(yzt)) =_\beta \lambda yzt.zt(yzt)

SS1S2S3=βS1S3(S2S3)=βλuv.[uv(SSuv)]=βλuv.[uv(λw.vw(uvw))]\therefore SS_1S_2S_3 = _\beta S_1S_3(S_2S_3) =_\beta \lambda uv.[uv(SSuv)] = _\beta \lambda uv.[uv (\lambda w. vw(uvw)) ]

更进一步,所求的 β\beta-nf 为 λuvw.uv(vw(uvw))\lambda uvw. uv(vw(uvw))

注意引入新变元要换名