1
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?

3.3 不動点定理

1
Last updated at Posted at 2025-05-25

Lambda-Calculus and Combinators: An Introduction
Hindley & Seldin より
不動点定理について記述する。

ラムダ計算とコンビネータ理論についてある項$F$を考えてみる。その$F$をある項$X$に適用すると$FX$となるが、下記の式のようにこの適用結果が元の$X$になってしまう場合がある。$F$は$X$を変化させないので、この$X$を$F$の不動点と呼ぶ。
驚くべきことに、ラムダ計算とコンビネータ理論において全ての項$X$に対し、必ず以下のような式を満たすような不動点$X$が存在する。

$$X \twoheadrightarrow_\beta\ FX$$

$F$が与えられた時に、どうやって不動点$X$を見つけることができるだろうか?実は、ある特殊なコンビネータ${\bf Y}$を使うことによって$F$の不動点を見つけることができる。
具体的には、項$F$に対し${\bf Y}F$を計算すれば、${\bf Y}F$が不動点となってしまう。この特殊なコンビネータ${\bf Y}$はどんなものであろうか。

定理3.3(不動点定理)

ラムダ計算とコンビネータ理論の両方において、以下の式を満たす特殊なコンビネータ${\bf Y}$について考える。このような性質を満たすコンビネータはYコンビネータあるいは不動点コンビネータと呼ばれる。

(a) ${\bf Y}F\ =_\beta\ F({\bf Y}F)$

実際、${\bf Y}$は、次のような強い条件を持っている。
(b) ${\bf Y}F \twoheadrightarrow_\beta\ F({\bf Y}F)$

証明

${\bf Y}$が上記の(a)あるいは(b)を満たすものとする。そこで、上記の$X:={\bf Y}F$とおいてみると、

$$\begin{array}{lcl}
X&\equiv&{\bf Y}F\\
&\twoheadrightarrow_\beta& F({\bf Y}F)& \text{by (a)}\\
&\equiv&FX
\end{array}$$

なので、${\bf Y}F$は$F$の不動点になっていることが分かる。

実際に、(a)及び(b)を満たす特殊なコンビネータはいくつか存在している。
1937年にアラン・チューリングによって発案されたコンビネータ${\bf Y}$は以下の通り:
$$U\equiv\lambda ux.x(uux)として、 {\bf Y}\equiv UU$$

これは(b)を満たす(ゆえに、(a)も満たす)。なぜなら、
$$\begin{array}{lcl}
{\bf Y}F &\equiv& (UU)F\\
&\equiv&(\lambda ux.x(uux))UF\\
&\equiv&(\lambda u.(\lambda x.x(uux)))UF\\
&\triangleright_{\beta,\omega}& [U/u](\lambda x.x(uux))F\\
&\equiv&(\lambda x.x(UUx))F\\
&\triangleright_{\beta,\omega}& F(UUF)\\
&\equiv& F({\bf Y}F)\
\end{array}$$

他にも${\bf Y}$コンビネータが存在する。
Curry-Ros & RosenbloomのYコンビネータ

1
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
1
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?