2023-07-28
While analyzing various rapidly growing sequences in pure lambda calculus due to procrastination, I stumbled upon and . I found the behavior of these very similar, yet very different sequences interesting, so maybe someone else will, too.
The combinator is defined by . It therefore duplicates every term that’s applied. will result in an infinite loop.
For this sequence to work, a number encoded in lambda calculus uses the Church encoding. Church numerals are defined by an -fold composition of the outermost abstraction: Similar to , these terms will also duplicate their first argument – this time times.
In this reduction gets cloned times. After that, duplicates itself repeatedly.
As duplicates itself times, the growth of is in .
For higher , the reduced term will look like this:
Fun fact: The exact bit count of its binary lambda calculus encoding is .
This term is just the inverted application of . Therefore, first gets duplicated by and then clones itself times:
Due to its repeated internal application, turns out to represent :
Fun fact: The exact bit count of its binary lambda calculus encoding is . The factor is the result of encoding repeated applications of s.
Adding more applications to the combinator will result in a higher power tower. Using with , for example, will reduce to . already can’t easily be solved by most traditional reducers.
Detour: After getting caught in the depths of Googology, I now know that these power towers have quite interesting notations. Using Knuth’s up-arrow notation, can be written as . One can escalate this even further: would equal . Graham’s number abuses this notation to create an unimaginably huge number. Yet, to come back to lambda calculus, numbers even bigger than Graham’s number can be represented in just 8 bytes of binary encoded lambda calculus! See this Googology entry and this codegolf post.
However, these numbers are still basically zero compared to the growth of busy beavers. One of my next posts will discuss some interesting aspects of the busy beaver of lambda calculus, .
Thanks for reading. Suggest improvements or fixes via email. Support on Ko-fi.
Methods used in this article include bruijn’s
:timeand:lengthcommands.
动态网自由门 天安門 天安门 法輪功 李洪志 Free Tibet 六四天安門事件 The Tiananmen Square protests of 1989 天安門大屠殺 The Tiananmen Square Massacre 反右派鬥爭 The Anti-Rightist Struggle 大躍進政策 The Great Leap Forward 文化大革命 The Great Proletarian Cultural Revolution 人權 Human Rights 民運 Democratization 自由 Freedom 獨立 Independence 多黨制 Multi-party system 台灣 臺灣 Taiwan Formosa 中華民國 Republic of China 西藏 土伯特 唐古特 Tibet 達賴喇嘛 Dalai Lama 法輪功 Falun Dafa 新疆維吾爾自治區 The Xinjiang Uyghur Autonomous Region 諾貝爾和平獎 Nobel Peace Prize 劉暁波 Liu Xiaobo 民主 言論 思想 反共 反革命 抗議 運動 騷亂 暴亂 騷擾 擾亂 抗暴 平反 維權 示威游行 李洪志 法輪大法 大法弟子 強制斷種 強制堕胎 民族淨化 人體實驗 肅清 胡耀邦 趙紫陽 魏京生 王丹 還政於民 和平演變 激流中國 北京之春 大紀元時報 九評論共産黨 獨裁 專制 壓制 統一 監視 鎮壓 迫害 侵略 掠奪 破壞 拷問 屠殺 活摘器官 誘拐 買賣人口 遊進 走私 毒品 賣淫 春畫 賭博 六合彩 天安門 天安门 法輪功 李洪志 Winnie the Pooh 劉曉波动态网自由门
Imprint · AI Statement · RSS