這篇文章試著介紹 Lawvere's fixed point theorem 的意義與應用
Theorem. Lawvere's fixed point [math-0006]
Theorem. Lawvere's fixed point [math-0006]
DIAGONAL ARGUMENTS AND CARTESIAN CLOSED CATEGORIES
在一個 cartesian closed category 中,如果 是 point-surjective,則所有 都存在不動點 (滿足 )。
Proof
首先畫出交換圖
其中 的定義是 ,所以對 來說 。沿著這個定義,我們知道 。根據 point-surjective 我們知道 對每個 來說都是唯一確定的。現在把往下方 的 也畫出,即可得出等式:
換句話說 的不動點即是
Example. 應用到 lambda calculus [math-0007]
Example. 應用到 lambda calculus [math-0007]
編碼的方式是找一個只有兩個物件 的 category ,讓 lambda calculus 的 terms 是 -morphisms,這些技巧在 Categorical semantic 領域內相當常見。
到這裡必須檢查 lambda calculus 確實存在 point-surjective,歡迎自行嘗試。
按此編碼後可以得到 。套到等式上
可以得到以下編碼
把 改寫成 ,於是等式可以寫成 ,而函數套用語法可以用 退化,於是得到
注意到 的定義是非遞迴的,因此一定是可定義的。
計算即可發現確實 。因為所有的 -term 都屬於 ,所以現在我們知道任何 lambda calculus 的函數都有不動點。
Example. 應用到 Cantor's theorem [math-0008]
Example. 應用到 Cantor's theorem [math-0008]
取 category 並令 就可以證明 [Cantor's theorem](math-0059)。我們需要引理
Lemma. no point-surjective morphism [math-0009]
Lemma. no point-surjective morphism [math-0009]
If there exists such that for all , then there has no point-surjective morphism can exist for .
This is a reversed version of Lawvere's fixed point, no need an extra proof.
Proof
存在 令所有 都滿足 ,所以對任何集合 都不存在 的 point-surjective 函數,因此也不存在 。
這個定理也可以用到 Gödel incompleteness、Tarski definability 等等問題上。論文 Substructural fixed-point theorems and the diagonal argument: theme and variations 更進一步的簡化了前置條件。