0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

コンビネータ論理では必ずしも(ξ)規則が成り立たない 2.33

0
Posted at

$(\xi)$規則とは

Curry & Feys (1958) Combinatory Logic, Volume 1 によると、ラムダ計算においては下記の式が成り立つ。

$$(\xi)\quad X=_{\beta} Y\ \Longrightarrow\ \lambda x.X = _\beta\ \lambda x.Y$$

一方、コンビネータ論理では以下のようになる。

$$X=_w Y\ \Longrightarrow\ [x].X=_w[x].Y$$

しかし、$[x]$は、コンビネータ論理の文法ではないので、一般にこの式は成り立たない。

Lambda-Calculus and Combinators: An Introduction (PDF)から例を見てみる。

例 2.33

$$X={\bf S}xyz,\quad Y\equiv xz(yz)$$
と置いてみよう。

$\quad [x].X\equiv[x].{\bf S}xyz$
$\equiv{\bf S}([x].{\bf S}xy)([x].z)$
$\equiv{\bf S}({\bf S}([x].{\bf S}x)([x]. y))({\bf K}z)$
$\equiv{\bf S}({\bf S}{\bf S}({\bf K}y))({\bf K}z)$
検証
$\quad{\bf S}({\bf S}{\bf S}({\bf K}y))({\bf K}z)\ x$
$\equiv{\bf S}{\bf S}({\bf K}y)x\ ({\bf K}zx)$
$\equiv{\bf S}x\ ({\bf K}yx)\ z$
$\equiv{\bf S}x\ y\ z$

$\quad [x].Y\equiv [x].xz(yz)$
$\equiv {\bf S}([x].xz)([x].yz)$
$\equiv {\bf S}({\bf S}([x].x)([x].z))({\bf K}(yz))$
$\equiv {\bf S}({\bf S}{\bf I}({\bf K}z))({\bf K}(yz))$
検証
$\quad{\bf S}({\bf S}{\bf I}({\bf K}z))({\bf K}(yz))\ x$
$\equiv{\bf S}{\bf I}({\bf K}z)x\ ({\bf K}(yz)x)$
$\equiv{\bf I}x\ ({\bf K}zx)\ (yz)$
$\equiv x\ z\ (yz)$

つまり
$$[x].{\bf S}xyz\neq[x].xz(yz)$$

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?