第 488 期·中文精讀

無窮、擊潰數學的悖論、哥德爾不完備性與多重宇宙——喬爾·戴維·漢姆金斯

Infinity, Paradoxes that Broke Mathematics, Gödel Incompleteness & the Multiverse – Joel David Hamkins

數學邏輯學家漢姆金斯談無窮的層級、擊潰數學的悖論、哥德爾不完備性與多重宇宙。

官方音訊00:00 / --:--
中文精讀由 AI 基於原始訪談改寫,非官方翻譯,可能存在偏差或錯誤;表述以原音訊與官方文稿為準。說明

1888年前後,柏林。利奧波德·克羅內克(Leopold Kronecker),當時德國數學界最有話語權的人物之一,公開把格奧爾格·康托爾(Georg Cantor)稱為"青年人的腐蝕者",還動用關係阻撓他的學術前途。

康托爾晚年反覆進出療養院,精神狀態崩潰,直到去世前都在死磕一個叫連續統假設的問題。

一個19世紀末的德國數學教授,因為研究"無窮"這件事,被同行攻擊,被神學界懷疑,最後被自己鑽研的問題拖垮。他到底幹了什麼?

他證明了:無窮有大小之分。

在此之前,從亞里士多德到高斯,幾乎所有數學家都認為"實無窮"是個不合法的說法。你只能說無窮是一個過程,一個永遠在逼近卻達不到的極限,也就是所謂"潛無窮"。說"存在一個完成了的無窮集合",在當時的語境裡差不多等於說"存在一個最大的整數"。

康托爾把這個禁區撬開了。

一間永遠住滿了的旅館

要理解康托爾到底做了什麼,得先從一個更好玩的例子開始。大衛·希爾伯特(David Hilbert)後來提出了一個思想實驗,現在被叫做希爾伯特旅館(Hilbert's Hotel)。

這間旅館有可數無窮多個房間,編號0、1、2、3,一直排下去。此刻所有房間都住滿了,第N號房住著第N位客人。

然後來了一位新客人,問前臺還有沒有空房。

經理說,稍等。他給所有已入住的客人發了一條通知:請所有人搬到比自己房間號大一號的房間去。5號房的人搬到6號,6號房搬到7號,以此類推。所有人同時行動,不會有兩個人搶同一間房。搬完之後,0號房空了出來,新客人住進去。

旅館本來是滿的,現在還是滿的,但中間多塞了一個人進去。

希爾伯特旅館精確地說明了這一點:給一個集合增加一個元素,它並沒有變大,因為新舊客人之間仍然可以建立一一對應。(喬爾·戴維·漢姆金斯)

這個場景會讓大多數人第一反應覺得是腦筋急轉彎。它像腦筋急轉彎,實質上是康托爾那套無窮理論裡最基本的操作演示。

第二天,來了20個人。同樣的操作,所有人往上搬20個房間,底部空出20間,20位新客人入住。再往後,來了一輛希爾伯特大巴,車上有可數無窮多個座位,0號座、1號座、2號座,一直排下去。整車人都要住店。

這時候經理的招數是:讓現在所有住客把房間號乘以2,全部搬進偶數號房。奇數號房就全空出來了。然後大巴上的乘客按座位號住進對應的奇數號房。

一個無窮,塞進了另一個無窮。

無窮列車上的一車無窮的人

事情還沒完。希爾伯特列車來了。

這趟列車有可數無窮多節車廂,每節車廂裡又有可數無窮多個座位。每一位乘客都對應一對座標(車廂號C,座位號S),規模是"無窮乘以無窮"。

經理照樣先把現有住客全部搬進偶數號房,然後用一個辦法把每個乘客塞進一個奇數號房:給(C,S)這位乘客分配房間號 3的C次方 乘以 5的S次方。

這個數一定是奇數,因為它的質因數分解裡只有3和5,沒有2。不同的(C,S)一定對應不同的房間號,因為算術基本定理保證了質因數分解的唯一性。你拿到一個房間號,把它分解質因數,數一數3的指數是幾,就知道乘客來自第幾節車廂;數一數5的指數是幾,就知道他坐第幾號座。

結論是:可數無窮多個可數無窮集合,並在一起,還是可數無窮。

漢姆金斯說他第一次學到這個結論時"完全被震住了"。道理其實很直白:一個無窮,無論你往裡塞多少個無窮,它都不變大。這違反了歐幾里得在《幾何原本》裡反覆用到的一條基本原則:整體大於部分。

除了素數那一招,還有一個更直觀的做法。把所有(車廂號,座位號)看成平面上的整數格點,從原點出發,沿對角線來回折返地走一條蛇形路徑,穿過整個網格。這條路會依次經過每一個格點,於是按照經過的順序給它們編號,就把二維的無窮格點排成了一維的無窮列表。

漢姆金斯把這一招叫做"給每個無窮集合一次往名單上添一個人的機會"。只要你有條理地輪流照顧到每一個集合,最後所有人都能被排進去。

伽利略的兩難

這個"整體等於部分"的現象,伽利略在1638年的《關於兩門新科學的對話》裡就注意到了,而且被它弄得束手無策。

他的觀察是這樣的:把所有自然數排一排,1、2、3、4……再把所有完全平方數排一排,1、4、9、16……你給每個自然數配一個它的平方,兩邊一一對上,沒有遺漏。按"數量相等就是能一一對應"的標準,平方數和自然數一樣多。

可是平方數之間明明漏掉了大量的空隙,自然數里有平方數,還有很多不是平方數的數。按照"整體大於部分"的標準,平方數應該比自然數少。

兩條都看起來天經地義的原則,在無窮面前打架了。伽利略的結論是:關於無窮的大小比較,本身就說不通,別比了。

漢姆金斯把這兩條原則分別叫"康託-休謨原則"(兩個集合等數,當且僅當能建立一一對應)和"歐幾里得原則"(整體大於部分)。他說,伽利略碰到的,就是這兩條原則之間的張力。

這個張力在有限世界裡根本不會出現。你有5個蘋果和7個蘋果,一一對應配到第5個就配不下去了,剩下的就是多的。整體大於部分,天經地義。一旦把視角推到無窮,這兩條原則必須放棄一條。

康托爾做的選擇是:放棄歐幾里得原則,把一一對應當成"數量相等"的定義。這個選擇一旦定下來,無窮就變成了一門可以計算的數學。

再補一個例子。有理數,也就是所有分數。分數稠密到什麼程度?任意兩個分數之間都還有另一個分數,取平均就行。這種"稠密有序"的性質,讓很多人以為有理數肯定比自然數多得多。

其實不然。每個分數就是一個分子配一個分母,一對自然數。用上面那趟希爾伯特列車的法子,配一個3的P次方乘5的Q次方,有理數也是可數的。

到這裡,一個自然的猜想冒出來了:既然自然數、整數、有理數、二維格點、有理數對、可數無窮個可數無窮集合,全都是可數的,那麼是不是所有無窮集合都可數?是不是隻有一種無窮?

不是。康托爾證明了實數不可數。

對角線:一個用了130多年還在用的證明模板

康托爾的證明如今被叫做對角線論證。它的結構極其簡潔,而它的變形,構成了整個20世紀數理邏輯的骨架。

先假設實數是可數的。那就意味著所有實數能排成一個列表:R₁、R₂、R₃,一直排下去,每一個實數都在表上的某個位置。

現在構造一個特殊的實數Z。它的整數部分是0,小數點後第N位,取一個和R_N小數點後第N位不同的數字。為了避開0.999…和1.000…這類一個數有兩種小數表示的麻煩,構造Z的時候乾脆只用1到8這八個數字,不碰0和9。

於是Z和R₁在第1位不同,和R₂在第2位不同,和R_N在第N位不同。Z不等於列表上的任何一個實數。

但我們假設過列表包含了所有實數。矛盾。

所以實數不可數。實數構成的無窮,嚴格大於自然數構成的無窮。無窮不止一種。

這個論證最要緊的地方是它的形狀,超過它證明了什麼。它的核心是"拿第N個物件去對付第N個物件,然後構造一個在所有位置上都跟它不一樣的東西"。這種自指的反身結構,後來被反覆借用:

  • 羅素悖論:所有不包含自身的集合所構成的集合,它包含自身當且僅當它不包含自身。
  • 哥德爾不完備定理:構造一個句子,它說"我在這個系統裡不可證"。
  • 圖靈停機問題:構造一個程式,它在輸入自己時的行為,和輸入程式的行為相反。
  • 康託定理的一般形式:任何集合的冪集,嚴格大於該集合本身。

它們本質上是同一個論證換了不同的外套。

漢姆金斯有個習慣,講羅素悖論的時候不叫它悖論,叫它"羅素定理",內容就是:不存在萬有集合。他說,這在今天已經不怎麼讓人困惑了,我們已經把"集合不能無所不包"這件事吸收進了對集合的基本理解。當年讓人困惑,是因為還沒有這套理解。

鞋子和襪子:選擇公理到底在爭什麼

這場無窮革命引發的連鎖反應,最終逼出了現代數學的地基:ZFC集合論。

這中間有個插曲值得單獨講。1904年,恩斯特·策梅洛(Ernst Zermelo)給出一個證明:選擇公理蘊含良序定理,也就是任何集合都能被良序排列。這個結論在當時看來近乎荒謬,因為沒有人能想象出實數集的一個良序是什麼樣。

策梅洛遭到了猛烈的攻擊。攻擊到什麼程度?歷史學家說,在此之前,數學史上沒有任何一個定理被如此公開、如此激烈地爭論過。他被逼著把自己論證所依賴的公理系統明確寫出來,這才有了1908年的策梅洛集合論。後來加上替換公理和基礎公理,才有了今天的ZFC。

選擇公理說的是:給定任意一堆非空集合,存在一個函式,能從每個集合裡各挑出一個元素。哪怕這個"挑"沒有任何規則可循。

伯特蘭·羅素給了一個絕妙的類比。一個富翁有個無限大的衣櫃,裡面有無限多雙鞋。他讓管家從每雙鞋裡挑一只出來。管家很輕鬆就做到了,因為每雙鞋總能挑左腳那隻,規則明確。

如果衣櫃裡裝的是無限多雙襪子呢?同一雙襪子左右不分,長得一模一樣。管家就沒有任何規則可以依據了。這時候還談得上"存在一種挑法"嗎?

兩邊爭的是:你能不能給出一個規則,讓選擇函式遵守它,還是說選擇裡本就含有某種任意性。這就是你需要選擇公理的地方。(喬爾·戴維·漢姆金斯)

更有意思的是,策梅洛的反對者們後來被翻出了舊賬。策梅洛和其他人去查那些叫得最兇的同行以前發表的論文,發現很多人在自己的論證裡早就偷偷用了選擇公理,只是沒意識到。因為它太自然了,自然到你會不假思索地用上它。

漢姆金斯的立場很明確,他屬於數學實在論這一邊:數學世界裡本來就充滿了各種各樣的函式和選擇方式,憑什麼要求每一個存在的東西都必須能被一條規則描述出來?"存在一種挑法,但我未必能告訴你具體是哪一種",在數學論證裡完全站得住腳。

真理不是證明

訪談裡漢姆金斯反覆回到一個區分,他說這是他心中最深刻的哲學思想。他自己給這個區分起了個名字:真理與證明之別。

他說,20世紀初的數學家,包括一些相當重要的人物,在這個區分上極其含糊。甚至到了布林巴基(Bourbaki)那套影響深遠的法國研究生教材裡,"真"和"可證"還是被混著用的。在他們的用法裡,一個命題為真,意思就是它能被證明。

這個混淆在哥德爾和塔斯基之前,幾乎沒人認真對待過。

塔斯基(Alfred Tarski)給出了真理的數學定義,核心是"去引號"(disquotation)。他說,"雪是白的"這句話為真,當且僅當雪是白的。

這個句子看著像同義反復,實際做了一件很重要的事:它把"真"這個謂詞,從語言內部的物件(那句話)轉移到了語言外部的世界(雪的狀態)。左邊是一個關於句子的斷言,右邊是一個關於世界的斷言。引號被去掉了。

用同樣的思路,塔斯基遞迴地定義了"一個形式語言中的句子在一個數學結構中為真"是什麼意思。要判斷"φ且ψ"在這個結構中是否為真,就看這個結構是否滿足φ,並且是否滿足ψ。注意,第一個"且"是句子內部的邏輯聯結詞,第二個"且"是我們用來談論這兩個條件的元語言連詞。同一符號在兩個層級上出現,這就是去引號的作用。

證明則是另一回事。證明屬於語法,是一串符號按照規則排列出來的東西。它得滿足三個條件:

  • 可靠性:如果前提為真,證明推出的結論也為真。證明保真。
  • 完備性(這裡指哥德爾 completeness theorem,別和 incompleteness 搞混):如果一個命題是邏輯後承,那就存在一個證明。
  • 可判定性:給定一串符號,我們能機械地判斷它是不是一個合法的證明。漢姆金斯強調這第三條常被忽略,但沒有它,證明這個概念就沒法用。

他引了一句老梗:有個數學家宣稱自己證出來了,但頁邊空白太小寫不下。這不算證明,因為別人沒法檢驗。

真理屬於語義,證明屬於語法。真理是關於數學實在本身是什麼樣子,證明是關於我們如何抵達對它的認識。這兩件事在有限的世界裡高度重合,在無窮的世界裡徹底分家。

希爾伯特的天堂計劃,和它怎麼塌的

希爾伯特面對羅素悖論帶來的地基危機,說過一句名言:"沒有人能把我們趕出康托爾為我們創造的天堂。"

他不想放棄集合論,因為集合論把原本分裂的數學統一了。在集合論之前,代數、分析、拓撲、幾何各有各的公理系統。可你證代數基本定理的時候,用的卻是拓撲方法。如果每個分支是獨立的公理系統,這種跨領域借用就說不通。必須有一個共同的地基。集合論當時就在扮演這個角色。

所以希爾伯特提出了一個兩步走的方案,也就是希爾伯特計劃:

第一,建立一個足夠強的理論,強到能回答所有數學問題。他1920年代末的退休演講裡那句"我們必須知道,我們將會知道",就是這個樂觀情緒的寫照。

第二,用一個極弱的有窮主義理論,證明那個強理論永遠不會推出矛盾。這裡的"有窮主義",通俗講就是:證明本身是一串有限的符號,我們只看符號怎麼排,不看它指什麼。

第二步的關鍵是形式主義的態度:把數學命題的意義和數學命題的符號操作剝離開。那些符號可能指稱著巨大無比的無窮集合,讓人不放心。可寫下這些符號、按照規則推演它們的過程,本身只是一堆有限長的字串在紙上的排列。這一層是完全可靠的。

如果希爾伯特成功了,數學會變成什麼樣?漢姆金斯描述了一個畫面:你有一臺定理列舉機,它按部就班地把強理論的所有定理一條條吐出來。你手上任何數學問題,把它的正面和反面都丟進去等,總有一天會有一條定理冒出來給答案。

數學研究就變成了搖機器的把手。

希爾伯特實際上是在告訴我們,數學的根本性質就是機械計算。失去創造性思考,失去想象力,只是透過一套死板的程式拿到答案。(喬爾·戴維·漢姆金斯)

哥德爾1931年的兩篇不完備定理,把這兩步全部打掉。

第一不完備定理:任何可計算地公理化的、包含足夠算術的理論,都是不完備的。總存在一些命題,既證不出來,也證不出它的否定。

第二不完備定理:這樣的理論也證明不了自己的一致性。不只是那個弱的有窮理論證不了強理論的一致性,強理論連自己的一致性都證不了。

漢姆金斯提到第二定理有個特別接地氣的解讀:一個理論如果證明自己是一致的,你該信嗎?那就像一個二手車銷售員跟你說"我值得信任"。他說自己可信,這本身不能作為信任的理由。事實上,一個不一致的理論同樣能"證明"自己是一致的。

那希爾伯特失敗之後,數學實在是什麼樣子?

兩個方面。第一,你永遠寫不出一套能回答所有問題的理論,永遠會有獨立命題,永遠會有我們最好的理論搞不定的問題。第二,你永遠沒法徹底安心地確認自己用的理論是自洽的。

漢姆金斯對這事的反應跟很多人不一樣。他說這根本談不上創傷,這是對數學實在的一次深刻揭示,知道了就好,知道了就能往前走。

一個程式停不停,能不能先猜一個

停機問題,圖靈1936年的成果,是這場邏輯革命最出名的一件副產品,也是電腦科學的地基之一。

問題本身:給定一個程式,它會不會停機?注意,具體到某一個程式,答案當然非此即彼。真正的問題是,存不存在一個統一的可計算程式,能對所有程式給出正確答案。

答案是:不存在。

證明用的還是對角線。假設有個子程式H能判斷任意程式P在輸入P上會不會停機。現在構造一個新程式Q,輸入是P,Q做的第一件事是問H:"P在P上會停嗎?"如果H回答"會停",Q就跳進死迴圈,永不停機。如果H回答"不會停",Q立刻停機。

於是Q在P上的行為和P在P上的行為完全相反。現在問:Q在Q上會怎樣?Q在Q上停,當且僅當Q在Q上不停。矛盾。

同樣的結構,從康託、羅素、哥德爾一路沿用下來。

這個證明還有一個更短的用法:可以直接推出哥德爾第一不完備定理。假設存在一套能列舉所有算術真理的可計算公理系統。那樣就能造一臺定理列舉機,把"程式P在輸入X上停機"這個命題丟進去,等它吐結論。因為理論是完備的,最終一定會吐出肯定或者否定。這就等於用一臺機器解掉了停機問題,而停機問題不可解。所以這樣的完備理論不存在。

漢姆金斯說這是他認為哥德爾定理最簡單的證法,不需要構造哥德爾句。

其實停機問題還有一個特別有趣的角落。漢姆金斯和他的合作者 Alexey Myasnikov 研究過一個問題:幾乎所有程式,是不是都能判定它停不停?

答案是能。他們在標準的圖靈機模型裡證明:存在一個容易識別的程式集合,集合裡的程式,停不停很好判斷;程式狀態數越多,這個集合在全體程式中的比例越趨近於100%。

也就是說,停機問題雖然不可判定,但它的不可判定性集中在極小的一個"黑洞"裡,外面的世界幾乎全部可解。

證明過程特別有喜劇效果。漢姆金斯說,他一開始的想法是"找一堆傻瓜理由證明程式不停機,湊夠50%就行了"。結果他們找到了一個巨大的傻瓜理由,佔比趨近100%。

這個理由是:一臺隨機生成的圖靈機,讀頭從紙帶最左端出發,第一步有一半機率向左移,然後掉出紙帶。掉出去就算崩潰,不算停機。剩下的一半向右走,進入新狀態,下一步又有一半向左。當狀態數很多的時候,這臺機器基本上就是在紙帶上做一維隨機遊走。波蘭數學家波利亞(Pólya)有個定理:一維隨機遊走幾乎必然回到起點。回到起點之後再走一步,一半機率掉出紙帶。

所以幾乎所有的圖靈機,讀頭都會在重複某個狀態之前掉出紙帶。這種情況可以機械判定。

漢姆金斯說,這個定理一開始聽著很驚人,說出證明之後,大家都覺得"哦就這麼回事"。但這恰恰說明了一件事:不可判定性在問題空間裡分佈得很不均勻,它是高度區域性的現象。這個觀察在複雜度理論裡有實用版本,很多NP完全問題都已經被證明存在多項式時間的近似演算法,能解決幾乎所有的例項。SAT求解器在工業界的表現就是活生生的例子。

連續統:康托爾死磕一生的那道題

回到那個讓康托爾崩潰的問題。

他證明了實數的無窮嚴格大於自然數的無窮。證明完,一個極其自然的問題會立刻冒出來:中間還有沒有別的無窮?

這就是連續統假設(Continuum Hypothesis,CH)。它斷言:自然數和實數之間沒有中間的無窮基數。

康托爾花了後半輩子想證明它。他有一套策略:從簡單的集合型別往上爬。開集的情況是容易的,任何一個非平凡開區間都和整條實數軸等勢,用反正切函式就能建立一一對應。閉集的情況他靠康託-本迪克松定理(Cantor-Bendixson theorem)也證出來了,非常不平凡,而且為了做這個證明,他發明了序數。

再往上,是 Borel 集,是投影集,一層一層複雜度往上升。康托爾的思路是:每往上爬一層,就多證明一批集合滿足連續統假設,最終覆蓋所有實數集合。這個綱領在接下來一百多年裡被極大地推進,Borel 集搞定了,投影集在假設足夠強的大基數公理下也搞定了。

它永遠不會徹底成功。因為集合複雜度的層級本身就覆蓋不了所有實數集合,更根本的原因是那個獨立性結果。

1938年,哥德爾證了前半部分。他構造了一個"可構造宇宙"L,一個特殊的集合論模型,在裡面選擇公理和連續統假設同時為真。這證明:如果ZF(不含選擇公理的集合論)是一致的,那麼ZFC加上CH也是一致的。也就是說,你沒法在ZFC裡證偽CH。

1963年,保羅·科恩(Paul Cohen)發明了力迫法(forcing),證了後半部分:如果存在一個集合論模型,那就存在一個CH為假的模型。也就是說,你也沒法在ZFC裡證明CH。

兩邊一合,CH獨立於ZFC。希爾伯特23問裡的第一問,答案是"這道題在標準公理系統裡沒有答案"。

從可構造宇宙到力迫法

力迫法值得單獨說,因為它是20世紀數學最強大的工具之一,也是漢姆金斯多重宇宙哲學的技術基石。

漢姆金斯管它叫"在數學宇宙之間旅行的方法"。

哥德爾的做法是往內收縮:從一個已有的集合論宇宙出發,只保留那些"可構造"的集合,得到一個更小、更整齊、性質更好的子宇宙。科恩的做法相反:從一個已有的宇宙出發,往裡面加進新的集合,得到一個更大的宇宙。加什麼、怎麼加,可以被精確控制,控制到能決定CH的真假。

於是CH變成了一個開關。給定任意一個集合論宇宙,都存在與它關係極近的兩個宇宙,一個裡CH為真,一個裡CH為假。你在哪個宇宙裡生活,CH就在那裡取相應的值。

漢姆金斯說,這才是CH的真正答案。真正要說的是,它可以被開啟,也可以被關閉,取決於你身處哪個宇宙。

有個細節很有意思。力迫法不僅能往上擴張,還能反過來用。假設你想證明某個命題在原始宇宙裡成立,你可以先力迫到一個更大的宇宙,在那裡用更方便的工具論證,然後證明這個結論其實不依賴於新加進來的東西,可以"收回來"落在原宇宙裡。

漢姆金斯拿早期複數的歷史作類比。16世紀的數學家解三次方程,中間步驟會冒出負數的平方根,他們不知道怎麼理解這個東西,還是硬著頭皮算下去。算到最後,虛部全部抵消,結果是一個實實在在的實數,代回去驗證還是對的。他們穿過了一片"無意義之地",最後帶著正確答案回來了。

你從集合論出發,走到力迫擴張那片無意義之地,在那裡論證,然後回來,在原來的模型裡得出結論。這是一種非常漂亮的論證方式。(喬爾·戴維·漢姆金斯)

多重宇宙:數學實在不是一個,是很多個

漢姆金斯有一篇很有爭議的論文,叫《集合論多重宇宙》(The Set-Theoretic Multiverse)。核心主張:不存在唯一的集合論實在。

先解釋他對立的那一派。"宇宙觀"或者叫"一元論":所有集合論問題都有確定答案,存在唯一正確的集合論真理,ZFC之所以回答不了CH,只是因為ZFC太弱,我們該去找更強的理論,比如大基數公理,最終逼近那個唯一真實的集合論宇宙。

漢姆金斯的反駁基於一個事實:CH 的獨立性不是孤例。幾千個獨立性結果堆在那裡,無窮組合學裡幾乎每一個非平凡命題都獨立於ZFC。如果你接受宇宙觀,那你就得承認我們手上這套理論幾乎回答不了任何我們真正關心的問題。漢姆金斯不認為這是理論太弱的問題,他懷疑"唯一真理"這個假設本身。他在伯克利讀博的時候,隔壁有個做C*-代數的同學,跟一位非邏輯方向的教授做問題,做出來發現結論獨立於ZFC。那位教授的反應是:"哦,看來我問錯問題了。"

漢姆金斯和一眾集合論學者的反應完全相反。一個問題被證明獨立,說明你問對了問題。你摸到了數學實在的一條斷層線。斷層線的一邊命題為真,另一邊為假,這個發現本身就值得慶祝。他把這個動作叫做"切中自然的關節"。

他還強調一點:多重宇宙觀和宇宙觀的人,在數學上沒有任何分歧。定理就是那些定理,證明就是那些證明。分歧在哲學層面,而哲學立場的作用在於指引研究方向,裁決數學事實不是它的活兒。

宇宙觀會推著你去尋找那個唯一的真宇宙。他的博士導師休·伍丁(Hugh Woodin)就是這條路上最傑出的代表,搞出了"終極L"(ultimate L)綱領,幾十年如一日地想讓"唯一真宇宙"這個想法長出牙齒。多重宇宙觀會推著你研究不同宇宙之間的關係,研究一個宇宙怎麼力迫擴張到另一個,研究這些宇宙構成的整體是什麼形狀。

倒著走一遍力迫法

他和學生 Jonas Reitz 一起搞出來的"集合論地質學"(set-theoretic geology),起點是個特別小的對話。漢姆金斯跟 Reitz 說,力迫法的方向是從地面模型往外擴張,你沒法反過來走。Reitz 堅持說,我就想倒著走。漢姆金斯說,行,那就認真試試。

於是問題變成:給定一個集合論宇宙,能不能找出它是從哪個更小的宇宙力迫擴張來的?像地質學家看岩層,反推這塊地是怎麼沉積出來的。他們定義了"基模型"(ground model)和"基岩"(bedrock)的概念,還引入了"地幔"(mantle)這個概念,開創了一個新方向。

最有意思的是後續。這套東西完全是從多重宇宙的哲學視角長出來的,結果宇宙觀陣營的人後來也把它接了過去,因為反推基模型恰好能幫他們研究"那個唯一真宇宙"的結構。漢姆金斯自己也覺得這個反轉很好笑。

這裡藏著他對哲學功用的一個判斷。他花了不少篇幅講牛頓和萊布尼茨的微積分。那套無窮小量的基礎,被貝克萊主教嘲諷為"已死量的鬼魂",在當時看確實站不住,要到1960年代魯濱遜(Abraham Robinson)搞出非標準分析,微積分的基礎才算嚴謹。

可牛頓和萊布尼茨在那套爛地基上,把微積分的主要定理和核心洞見全做出來了。

你需要一個堅實嚴謹的基礎,才能做出持久的數學洞見嗎?很遺憾,答案似乎是不需要。(喬爾·戴維·漢姆金斯)

所以哲學立場不決定數學能不能往前走。它決定你往哪走,決定你覺得什麼問題值得問。漢姆金斯把這個叫"集合論潛力論"(set-theoretic potentialism):宇宙不是固定的,它可以更寬、更高,可以被擴張。這個視角帶來的不是某個定理,是一整片問題域。

多重宇宙觀有個容易被誤解的地方,得說清楚。它不否認任何一個具體的數學定理,也不宣稱"什麼都是相對的"。它說的是:集合論的基本詞彙,比如"所有集合",在不同的宇宙裡有不同的外延,而這些宇宙彼此之間關係緊密,透過力迫可以互相抵達。你在哪個宇宙裡,決定了CH取什麼值。這是一種關於數學實在結構的判斷,談不上對真理的放棄。

P vs NP 被過度包裝了

萊克斯問 P 是否等於 NP,以及這個命題有沒有可能獨立於公理系統。

漢姆金斯先糾正了一個表述上的問題:說一個命題"獨立",必須說明獨立於哪個理論。任何命題在足夠弱的理論裡都獨立,所以這句話單獨說出來沒有意義。

然後他講了一個他覺得被過度包裝的點。P 和 NP 是關於漸近行為的:當輸入規模趨於無窮時,所需時間是不是被某個多項式界住。這個多項式的次數可能極高,係數可能巨大。

所以那些"如果 P=NP,人類文明將獲得巨大財富,所有難解問題都變得可行"的說法,需要打個折。P=NP 說的不是我們這輩子會遇到的輸入規模,它說的是極限。

他還補了一刀:那個演算法我們其實已經有了,只是常數項大到沒法用。再加上第三層,實用的近似演算法在很多情況下已經把真實工程問題解決了。SAT 求解器在工業界的表現好得驚人,雖然如果 P≠NP,理論上就不存在多項式時間的 SAT 求解器。

一個理論問題,一層一層被剝掉它的實踐光環。

阿基米德,和被同時想到的定理

萊克斯問了那個所有人都想問但不太敢問的問題:史上最偉大的數學家是誰。

漢姆金斯說這個問題很難回答,他本人不按"偉大程度"給數學家排名。被逼到角落的話,他會選阿基米德,理由是成就太高而時代太早,完全超出了同時代所有人。他補了一個更有意思的觀點:

我想從任何能提供數學洞見的人那裡學數學,不管他是誰。而這並不總是來自最偉大的人。有時候那些偉人只是恰好第一個做出來,換了別人也可能很快做出來。(喬爾·戴維·漢姆金斯)

他提到數學史上一種常見現象:不同的人幾乎同時證出相似的結論。他的解釋很樸素:某些想法已經在空氣裡飄著了,只是還沒被完整表述出來。這就是知識增長的形態。

萊克斯問他,你覺得想法是從哪來的?

他說,不太清楚。接著講了自己的風格,這段值得原樣記下來:

我不太喜歡難的數學。我喜歡的是簡單、清晰、容易理解的論證,去證明一個出人意料的結果。這是我最喜歡的情形。至於這個結果是不是新的,對我來說反而沒那麼重要。(喬爾·戴維·漢姆金斯)

他解釋了這個偏好背後的東西:他對複雜論證天然懷疑。如果不能在腦子裡一次性把每一步都過一遍,他就會擔心這論證是錯的。所以他傾向於做那些偏離主流路線、但能被徹底想清楚的問題。

他的具體方法論,他自己叫"玩鬧式的好奇心"。有了一個想法,就撥弄它,改一點小地方,先看最簡單的情形,然後一點點搞複雜,往這邊推一推,拿自己最喜歡的例子套上去試試。玩著玩著,就有洞見了,就有方法了,然後就有進展了。他說這套辦法對他非常有效,他很滿意。

給每個人發一美元

玩鬧的核心工具之一是擬人化。他把集合論模型想象成一個你居住的地方,力迫法就是去遠方旅行。他承認真實論證裡沒有土地也沒有旅行,但這種視覺化能幫他理解。尤其是當論證的不同部分互相沖突的時候,他就想象成幾個人在打架,或者兩個玩家在對局,一方想贏,那"敵人"會挑哪個選項?順著這個往下想,策略往往就出來了。

他講了個具體的例子。他書裡有個題:一群人圍成圈,可以隨便指別人,也可以指多個人,問能不能安排出一種指法,讓每個人都"被指的次數"多於"指別人的次數"。這跟推特上"能不能讓每個人都粉絲數大於關注數"是同一個數學問題。

他最喜歡的證法是給每個人都發一美元,指向誰就給誰一美元。如果所有人都被指次數多於指人次數,那每個人收到的錢都比付出的多,每個人都賺錢了。可我們只是在自己人之間倒錢,沒有任何新錢進來,一群人不可能靠互相倒錢全體變富。所以這種指法不存在。

這個證明之所以讓人信服,是因為它借用了我們對"賺錢很難"這件事的生活經驗。而如果把它換成抽象的函式語言,"一組人之間轉移錢不可能全體變富"這件事本身其實也需要證明。擬人化在這裡做的,是把一個需要證明的抽象命題,替換成了一個我們已經有直覺的具體命題。

他還補了個彩蛋:如果這群人是無窮多個,定理就失效了。不但能讓每個人都被指得比指別人多,還能讓每個人手裡的一美元最後變成無窮多美元。做法是讓第N節車廂的人把錢全給最後住進第N號房間的那個人,每人只付出一美元,那個人就拿到了無窮多美元。基數上,前後都是可數無窮,一樣大。

兩種數學家:懷爾斯和陶哲軒

萊克斯丟擲了一個對比:安德魯·懷爾斯(Andrew Wiles)把自己關了七年死磕費馬大定理,而陶哲軒(Terence Tao)的策略是撞牆就換題,回頭再來。他問漢姆金斯怎麼看這兩種風格。

漢姆金斯的回答很坦誠。他說懷爾斯證明的定理很了不起,但那種孤立工作的方式跟他的實踐完全相反。他的合作者數量接近一百個,數學對他而言很大程度上是一種社會活動。有人有想法想跟他聊,只要他感興趣,那就一起做,可能就解決了,可能就有一篇共同署名的論文。

我個人永遠做不到懷爾斯做的事。也許我錯過了什麼。也許如果我把自己鎖在臥室裡死磕,我也能解決它。但我傾向於認為不會。(喬爾·戴維·漢姆金斯)

他強調自己大量泡在 MathOverflow 上,很多論文就是從那裡的對話裡長出來的。有人發問,他答一部分,另一個人有想法,拼成完整解法,最後三個人合寫一篇。

萊克斯說他作為外行看,一個人單幹數學是可怕的孤獨,尤其是死磕一個已經弄垮過多位天才的問題。漢姆金斯承認有道理,但他說自己享受這個社會性的部分,而且這不只是"社交",這就是他理解的數學研究的本質:把想法拋給別人,別人回應,雙方都在學。

聊到佩雷爾曼(Grigori Perelman)拒領菲爾茲獎和千禧年大獎,漢姆金斯說他不是完全理解這個選擇,但他不覺得這有什麼問題。數學界什麼人都有,只要有好想法,他就想聊。

萊克斯接了一句很好的總結:奧運會運動員很多也不掙錢,還是把一輩子投進去,為的是金牌。這些最偉大的數學家做這些事,根本上是因為熱愛這門藝術本身。

然後漢姆金斯拿這個開了個玩笑。他說如果要真正客觀地評判誰是最偉大的數學家,那就需要一個客觀標準,比如用 MathOverflow 的分數。萊克斯立刻接上。漢姆金斯說他一直主張終身教職和晉升評定就該按這個來。他還講了自己女兒帶男朋友回家,他第一個想問的兩件事是:國際象棋等級分多少,MathOverflow 分數多少。

這段玩笑背後有個真實的觀察。他在 MathOverflow 上的賬號是全網最高分,二十多萬聲望,寫了上百萬字。他沒有從這個東西里拿到一分錢。一個能在公開論壇上花十幾年回答陌生人的問題的人,回答的動機和他做數學的動機是同一個。

思考題是怎麼長出來的

萊克斯問他怎麼在 MathOverflow 上挑問題。漢姆金斯說,任何他覺得有意思的問題都會碰,但不所有問題都吸引他,有些型別的題目他就是沒感覺。

他剛加入的時候,邏輯方向答題的人很少。他的策略是:看到一個問題,邏輯只是其中一個角度,主體可能在群論、在分析、在別的領域,他得先學懂那個領域的背景,才能給出答案。他說自己在這個過程中成長極快,因為被迫學了一堆原本不會去碰的東西。

他列了幾個自己答過的問題,這些問題本身能說明他關心的東西長什麼樣:哪些看起來很合理的命題其實獨立於ZFC?數學教學中哪些替代定義最容易誤導人?大學教的分析學其實是不是可定義數的分析?連續統假設有哪些解法?選擇公理最反直覺的應用是什麼?有什麼定理結論驚人但證明平凡?反證法和逆否命題該怎麼用?象棋在數學上是什麼?

最後一個問題直接引出了無限象棋。

無限棋盤上的 ω 次方

無限象棋(infinite chess)的起點就是 MathOverflow 上那個問題,提問的人是諾姆·埃爾基斯(Noam Elkies),哈佛的頂級數論學家。問題是:象棋的數學定義是什麼?

漢姆金斯的興趣就被這個問題勾出來了。無限象棋的規則很簡單:普通棋子,普通走法,只是棋盤變成向四個方向無限延伸的整數格,沒有邊界。一個差別是不玩標準開局,研究的物件是那些已經擺好大量棋子的特定局面。

他造出了一種局面,白方必勝,但不存在任何一個 N,使得白方能在 N 步內保證將死。換句話說,白方一定會贏,但黑方能決定要拖多久。你想讓它拖一千步?可以。一百萬步?也可以。這個局面的博弈值(game value)是 ω。

從 ω 數下來的意思就是:黑方必須先報一個有限數,然後從這個有限數開始每次減一。減完了,棋也就結束了。黑方第一次報的數越大,能撐的步數就越多,可他終究要報一個有限的數。

規則上還有幾處必須調整。沒有邊界,所以沒有兵的升變。三次重複局面判和的規則也要去掉,那只是在有限棋盤上逼近"無限對局算和"的一種技術手段,無限棋盤上直接用真正的規則就行。唯一的取勝方式是在有限的某一手走出將死。

後續的研究做得更猛。第一篇論文做到了 ω 的平方和 ω 的立方,跟 Corey Evans 和博士生 Norman Perlmutter 合作的那篇做到了 ω 的四次方。現在已知的結論是:每一個可數序數,都能作為無限象棋某個局面的博弈值出現。

這個構造過程沒有演算法,是純數學創造。漢姆金斯說,棋子擺位幾乎都是他做的,但論證裡的細節全部靠 Corey Evans 把關。Corey 是美國國家大師級棋手,也是法學與哲學教授,還當過漢姆金斯兒子的兒童象棋教練。漢姆金斯按序數的要求去設計局面,Corey 過來一看:"這個兵是懸的,你的論證破了。"或者"這個象能從籠子裡漏出來。"來回幾輪,才能收斂到正確的結果。

萊克斯在這裡注意到一個很酷的細節:一篇 arXiv 論文的參考文獻裡,赫然列著一條 MathOverflow 的連結,而那正是埃爾基斯的原始提問。

AI 生成的證明,像極了本科時排版漂亮的作業

聊到 AI 和 LLM 做數學,漢姆金斯的回答很直白。他自己試過各種系統,包括付費的,結論是"基本上零有用"。典型體驗是拿到數學上不正確的垃圾答案。更讓他煩躁的是,你指出它對某一步的錯誤,它回你一句"沒問題啊"。他說,如果是人這麼幹,他不會再跟這個人說話。

但他也承認,他非常尊敬的幾位數學家說 AI 對他們有用。這讓他意外,因為自己的體驗完全相反。他猜測可能是自己的用法不對,也可能是那些例子裡,真正的數學想法其實來自人,而不是機器。

他還有一層更根本的懷疑,來自對 LLM 方法本身的理解:

我意識到,AI 在努力給我一個看起來像證明的論證,而不是一個是證明的論證。動機本身就偏了。(喬爾·戴維·漢姆金斯)

他講了個本科時的故事,這個類比是整場訪談裡最鋒利的一處。他在加州理工讀本科,那時候 LaTeX 剛出來,他學著用,把作業排版得極其漂亮。然後他交上去,成績很差。他後來想明白了原因:那種精美的數學排版,他此前只在正式出版的書裡見過,而書裡的數學幾乎總是對的。排版太漂亮,讓他喪失了批判性,在證明裡犯了一堆低階錯誤。

現在的 LLM 就是同一個效應的放大版。它被設計成生成看起來正確的東西,生成正確的東西不在它的目標函式里。如果你不夠警惕,太容易被騙過去。

他區分了兩種情況。把 LLM 接上 Lean 這類形式化證明檢驗器,是完全不同的操作模式,因為檢驗器會機械地判定證明對不對,那裡沒有"看起來像"的餘地。但他擔心的是普通人坐下來直接問聊天機器人要一個數學論證,那是危險的錯誤來源。

萊克斯提供了一個不同視角。他說跟 LLM 協作是一項真本事:你得把能提供的所有資訊,從自己的工作到自己的思考方式,全部喂進去。它的價值不在於給答案,在於給啟發,在於它知道的東西比你多,能在不同領域之間搭橋。代價是必須極度耐心,因為它經常蠢得讓人抓狂。忍過去,可能有一兩個漂亮的洞見。

漢姆金斯接受了這個說法,還補了一句自嘲:數學的訓練資料裡,MathOverflow 的答案肯定在裡面。所以某種意義上他是在跟自己說話。

這場對話到這裡出現了一個有意思的分歧,兩邊都沒說服對方,但都沒有把話說死。漢姆金斯的懷疑落在一個很具體的地方:語言模型學的是"關於數學的文字分佈",而數學理解是另一回事。這兩者之間的距離,可能比現在很多人以為的要遠得多。萊克斯的經驗落在另一個地方:程式設計領域有海量高質量資料,那裡他已經看到了希望。

兩種經驗可能都對,因為他們看的是不同區域。數學證明的容錯率極低,一個符號錯了整個論證就廢了,而程式碼可以跑起來驗證。這個區別決定了 AI 在兩邊能走多遠。

最漂亮的數學想法,是把計數這件事推過無窮

訪談最後,萊克斯問了兩個"最漂亮的想法"。

數學這邊,漢姆金斯的答案是超限序數。康托爾發明的"數過無窮之後接著數"的那套數系。

你數自然數,0、1、2、3,一直數下去,數不完。數完了之後還有一個數,叫 ω,然後是 ω+1、ω+2,永遠可以加一。加完了所有這些,得到 ω+ω,也就是第一個排在它們後面的數。然後是 ω·3、ω·4,這些的極限是 ω 的平方。ω 的平方是個複合極限序數,它自身是極限序數,同時又是極限序數的極限。

然後是 ω 的平方加一,加二,一直往後。它不會停。

漢姆金斯說,這個想法簡單、優雅,而且是後來所有超限遞迴構造的基礎。康託-本迪克松定理用了它,馮·諾依曼的累積層級用了它,哥德爾的可構造宇宙用了它,策梅洛用選擇公理證明良序定理也是超限遞迴。一個"數過無窮之後繼續數"的樸素念頭,撐起了整個現代集合論。

說到這裡得插一句,超現實數那套構造也是這個路子。康威從一個空集出發,讓"0"在第零天誕生,之後每一天把所有已有的數切成左右兩堆,在裂縫裡生出新的數。第 ω 天,所有實數同時落地,還順帶誕生了 ω 和 ε。這套東西的性質好得驚人,是個實閉域,能加能乘能開方,每個奇次多項式都有根。它缺的是最小上界性質,裡面也沒有收斂序列,所以基於極限的常規微積分方法在它上面走不通。漢姆金斯說它"本質上不連續"。

他還講了一件挺動人的事。他在紐約組織過一次會議,請了康威來演講。問答環節有人問了個相當冒犯的問題:"你這輩子最大的失望是什麼?"漢姆金斯說他絕不可能在公開場合問這種問題。

康威很優雅地回答了。他說的失望不在超現實數這套東西本身,而在它被接受的程度。他本來期望它會成為整個數學和科學的基礎工具,因為它能統一序數,能支撐非標準分析,結構漂亮,證明優雅。它沒有獲得那個地位。

漢姆金斯補了一句解釋。超現實數研究的人其實不少,有幾千人。專家 Philip Ehrlich 跟他講過一個觀察:康威在這個問題上最大的敵人是他自己,因為康威的風格是把一切都當成遊戲。他把超現實數當一個玩具來玩,這大概讓很多人沒把它當回事。漢姆金斯的看法正相反,這東西極其嚴肅、極其有用、極其深刻。

哲學這邊,還是那道縫

哲學這邊,他選的還是那個區分:真理與證明。

真理是關於世界的,關於事物本來的樣子,關於某種客觀實在。證明是關於我們對世界的理解,關於我們怎麼抵達我們所知道的東西。

專注證明,就是專注我們與客觀實在的互動。專注真理,就是專注撇開我們的認識之後,事情本身是什麼樣。他說這是他自己理解世界、理解邏輯與推理本質的一個核心方式。

這個區分的適用範圍遠遠超出數學。萊克斯在結尾補了一句:真理與證明之間的那道縫隙,裡面裝滿了迷人的謎團,在柏拉圖領域裡如此,在物理世界裡如此,在人的心理、社會、政治、地緣政治裡也是如此。每一門學問的旅程,都是發現過程與真理本身之間的那段距離。

訪談裡還有一段關於"物理實在和數學實在哪個更清楚"的討論,值得單獨記一下。漢姆金斯說,很多人覺得抽象物件的存在很可疑,想把數學存在還原成某種能物理觸控的東西,他覺得這個方向搞反了。他說我們對"物理存在"根本沒有一個像樣的說明。

他舉了個例子。假設我跟你詳細描述一臺蒸汽機車,工程結構、重量、齒輪連桿、每一處設計細節,全說完了。然後我問你:這臺機車"在物理世界中存在"是什麼意思,和"它只是一個想象中的蒸汽機車"有什麼區別?

你能說什麼呢?你只能說"它存在於物理世界中",可這句話只是把問題重複了一遍。它沒有回答問題。

物理學的進展讓這件事變得更神秘,而不是更清楚。牛頓時代的物體像檯球,後來發現由原子組成,原子又能拆成電子質子中子,這些又由夸克輕子組成,再往下是什麼不知道。而且這些東西的存在形式是機率雲裡的波函式。越往下挖,越說不清"存在"是什麼。

數學那邊是另一番景象。你問他空集是什麼,他能說清楚。你問他空集的單元素集是什麼,他也能說清楚。往深處走,理解只會越來越清晰,不會越來越模糊。

所以他給出的判斷是:數學實在我們是能理解的,物理實在我們只是經歷過。這兩件事不一樣。他說他整個人活在柏拉圖領域裡,對物理宇宙基本不理解,所以也沒什麼強觀點。

這段有個容易被忽略的補充。他並不是說物理世界不真實,他說的是我們對它的理解程度遠不如對數學的理解程度。你能騎腳踏車、能喝馬提尼、能過生日,你對物理世界有極其豐富的經驗,但經驗和對本質的理解是兩回事。

結構主義:四是什麼不重要

這段討論引出了結構主義(structuralism),一個值得在這收一下的立場。

結構主義說的是:數學物件重要的是它在結構裡怎麼運作,它由什麼構成、它的本質是什麼,這些不重要。漢姆金斯管自己採取的態度叫"結構主義態度":數學結構只看到同構為止(up to isomorphism)。

如果有一個數學結構,你用另一批個體做一個完全同構的複製品,這個複製品在數學上一樣好,任何數學問題都不會因為換成了複製品而有不同答案。

按這個立場,"數字四到底是什麼"這個問法本身就有問題。自然數結構裡有0、1、2、3、4,我完全可以讓桌上這瓶水來扮演四這個角色,得到的東西同構,數學上毫無損失。

所以四的本質是什麼,跟數學無關。有關的只有四在某個結構裡有什麼性質。

這套立場直接對上了一個著名的問題,弗雷格(Gottlob Frege)提出的"尤利烏斯·愷撒問題"。弗雷格想用康託-休謨原則作為數的理論的基礎,那個原則說兩個集合等數當且僅當能一一對應。可他發現這個原則只給出"兩個數相等的標準",沒給出"什麼東西算一個數"的標準。按這個原則,你沒法判斷尤利烏斯·愷撒是不是一個數。

弗雷格大概覺得這個例子荒謬到不用回答,誰都看得出愷撒不是數。結構主義者的回答是:給我一個數系,如果愷撒不在裡面,我把17這個角色換成愷撒,現在愷撒就是17了。數學上沒有任何問題。

這個回答聽著像耍賴,其實很硬。它說的是:數學不關心物件的本體身份,只關心它在結構中的位置。這也解釋了為什麼現代集合論一般不帶"原子"(ur-elements)玩。帶原子的版本和純集合的版本,在結構上完全同構,按結構主義的眼光,原子是多餘的一層裝飾,去掉之後理論更乾淨。

一百年後還會有動亂嗎

萊克斯問了個很大的問題:一千年後,數學還會不會有像20世紀初那樣的動亂。

漢姆金斯的回答分成兩邊。他說自己一隻腳在數學,一隻腳在哲學,這兩門學科對"進步"的態度差別巨大。

數學有巨大的進步。我們對數學思想的理解一直在變好,知識在增長。我們現在對無窮的理解,肯定比一百年前好;一百年前的理解,又比之前幾千年好。好到什麼程度?好到原來的問題已經不是問題了,整個領域往前推移到了更難、更有意思的地方。

哲學那邊,進步也有一些,但同時還有一批幾千年都沒解決的問題。以至於很多哲學家認為,哲學的主要貢獻在於提出問題,而不在於回答,因為這些問題的答案看起來是沒指望的。

他說他沒理由認為數學的進步會停下來。一千年後的人做的數學,他大概完全看不懂。他甚至不用等一千年,把古代的人拉到今天,可能都聽不懂我們現在聊的某些問題。但他覺得如果阿基米德能跟他溝通,他有辦法把現在數學裡的一部分東西講給阿基米德聽。

這個判斷挺樂觀的,而且不是空話。它背後是那個"簡單清晰的論證"的偏好:如果數學最終能沉澱成一串能被徹底想明白的簡單論證,那麼它就具備某種跨時代的可傳達性。複雜到無法傳達的數學,可能也複雜到無法驗證。

給想認真讀點數學的人

這場對話資訊密度極高,如果只帶走一堆定理名字,價值不大。有幾個東西可以遷移到別的領域去用。

  • 碰到"整體等於部分"覺得荒謬時,先問是哪個定義在起作用。歐幾里得原則和康託-休謨原則在有限世界裡重合,在無窮世界裡分裂。很多爭論僵住,是因為雙方用的定義不同,而沒人把這個說出來。
  • 學一個證明,先看它的形狀,再看它的內容。對角線論證的具體物件是實數,它的形狀能用來說冪集、說停機、說不可證。看懂形狀,一個證明就變成一類方法。
  • 把抽象命題翻譯成有身體經驗的具體場景。漢姆金斯讓所有人互相發一美元來證那道題。翻譯的目的在於呼叫你已經付過學費的那部分直覺,簡化不是重點。
  • 遇到結論獨立於公理系統,先別急著說問錯了。獨立意味著你摸到了一條真實的斷層線。下一步該弄清斷層兩側各是什麼世界。
  • 對"看起來對"的東西要額外警惕。排版精美的作業、行文流暢的模型輸出、結構工整的論證,形式上的完備感會麻痺判斷力。漢姆金斯本科時栽的那個跟頭,現在每天都在更大規模上重演。
  • 挑那些你能在腦子裡一次走完的問題。這是一種質量控制策略,並非能力不足的妥協。走不完的論證,你看不出它錯在哪。
  • 數學不必是孤獨的。漢姆金斯有近一百個合作者,大量論文長自公開論壇的對話。懷爾斯那種七年閉門是一種路,把想法不斷丟擲去聽迴響是另一條,沒有哪條更高階。
  • 讀原典時留意"真"和"可證"這兩個詞是不是被混用了。這個區分看著瑣碎,20世紀初一批一流數學家在這裡含糊了幾十年。你在任何一篇論證裡看到"證明了就說明它是真的",那裡就有一個坑。
  • AI 能給你的數學論證,預設當草稿看。它最佳化的是"讀起來像證明",驗證得靠你自己或者 Lean 那類形式化工具。省下來的時間不要花在相信它上。

最後留一個畫面。康托爾在19世紀末證明實數不可數的那一天,大概不會預見到一百多年後,這個證明的形狀會出現在圖靈機的論證裡、在哥德爾句的構造裡、在一個叫無限象棋的怪東西的博弈值裡。

一個想不通的問題,可以弄垮一個人的後半生。同一個問題,也能撐起一整座學科的地基。

文稿來自 Lex Fridman 官網公開發布的官方 Transcript(含說話人與時間戳)。
Lex Fridman (00:00:00): The following is a conversation with Joel David Hamkins, a mathematician and philosopher specializing in set theory, the foundation of mathematics, and the nature of infinity. He is the number one highest rated user on MathOverflow, which I think is a legendary accomplishment. MathOverflow, by the way, is like StackOverflow but for research mathematicians. He is also the author of several books, including Proof in The Art of Mathematics and Lectures on the Philosophy of Mathematics. And he has a great blog, infinitelymore.xyz. This is a super technical and super fun conversation about the foundation of modern mathematics and some mind-bending ideas about infinity, nature of reality, truth, and the mathematical paradoxes that challenged some of the greatest minds of the 20th century. Lex Fridman (00:01:02): I have been hiding from the world a bit, reading, thinking, writing, soul-searching, as we all do every once in a while. But mostly, just deeply focused on work and preparing mentally for some challenging travel I plan to take on in the new year. Through all of it, a recurring thought comes to me, how damn lucky I am to be alive and to get to experience so much love from folks across the world. I want to take this moment to say thank you from the bottom of my heart for everything, for your support, for the many amazing conversations I’ve had with people across the world. I got a little bit of hate and a whole lot of love, and I wouldn’t have it any other way. I’m grateful for all of it. This is the Lex Fridman Podcast. Lex Fridman (00:02:00): To support it, please check out our sponsors in the description, where you can also find ways to contact me, ask questions, give feedback, and so on. And now, dear friends, here’s Joel David Hamkins. Lex Fridman (00:02:17): Some infinities are bigger than others. This idea from Cantor at the end of the 19th century, I think it’s fair to say, broke mathematics before rebuilding it. I also read that this was a devastating and transformative discovery for several reasons. So one, it created a theological crisis, because infinity is associated with God, how could there be multiple infinities? Also, Cantor was deeply religious himself. Second, there’s a kind of mathematical civil war. The leading German mathematician, Kronecker, called Cantor a corrupter of youth and tried to block his career. Lex Fridman (00:02:57): Third, many fascinating paradoxes emerged from this, like Russell’s paradox, about the set of all sets that don’t contain themselves, and those threatened to make all of mathematics inconsistent. Finally, on the psychological and personal side, Cantor’s own breakdown. He literally went mad, spending his final years in and out of sanatoriums, obsessed with proving the continuum hypothesis. So laying that all out on the table, can you explain the idea of infinity, that some infinities are larger than others, and why was this so transformative to mathematics? Joel David Hamkins (00:03:35): Well, that’s a really great question. I would want to start talking about infinity and telling the story much earlier than Cantor actually, because, I mean, you can go all the way back to Ancient Greek times when Aristotle emphasized the potential aspect of infinity as opposed to the impossibility, according to him, of achieving an actual infinity. Archimedes’ method of exhaustion where he is trying to understand the area of a region by carving it into more and more triangles, say, and sort of exhausting the area and thereby understanding the total area in terms of the sum of the areas of the pieces that he put into it. And it proceeded on this kind of potential understanding of infinity for hundreds, thousands of years. Joel David Hamkins (00:04:25): Almost all mathematicians were potentialists only and thought that it was incoherent to speak of an actual infinity at all. Galileo is an extremely prominent exception to this, though he argued against this sort of potentialist orthodoxy in The Dialogue of Two New Sciences. Really lovely account there that he gave. In many ways, Galileo was anticipating Cantor’s developments, except he couldn’t quite push it all the way through and ended up throwing up his hands in confusion, in a sense. The Galileo paradox is the idea or the observation that if you think about the natural numbers, I would start with zero, but I think maybe he would start with one. Joel David Hamkins (00:05:17): The numbers one, two, three, four, and so on, and you think about which of those numbers are perfect squares. So zero squared is zero and one squared is one and two squared is four, three squared is nine, 16, 25, and so on. And Galileo observed that the perfect squares can be put into a one-to-one correspondence with all of the numbers. I mean, we just did it. I associated every number with its square. And so it seems like on the basis of this one-to-one correspondence that there should be exactly the same number of squares, perfect squares, as there are numbers, and yet there are all the gaps in between the perfect squares, right? Joel David Hamkins (00:06:03): And this suggests that there should be fewer perfect squares, more numbers than squares because the numbers include all the squares plus a lot more in between them, right? And Galileo was quite troubled by this observation because he took it to cause a kind of incoherence in the comparison of infinite quantities, right? Another example is, if you take two line segments of different lengths, and you can imagine drawing a kind of foliation, a fan of lines that connect them. So the endpoints are matched from the shorter to the longer segment, and the midpoints are matched and so on. So spreading out the lines as you go. And so every point on the shorter line would be associated with a unique, distinct point on the longer line in a one-to-one way. Joel David Hamkins (00:06:57): And so it seems like the two line segments have the same number of points on them because of that, even though the longer one is longer. And so it makes, again, a kind of confusion over our ideas about infinity. Also, with two circles, if you just place them concentrically and draw the rays from the center, then every point on the smaller circle is associated with a corresponding point on the larger circle, in a one-to-one way. And again, that seems to show that the smaller circle has the same number of points on it as the larger one, precisely because they can be put into this one-to-one correspondence. Joel David Hamkins (00:07:36): Now, of course, the contemporary attitude about this situation is that those two infinities are exactly the same, and that Galileo was right in those observations about the equinumerosity. The way we would talk about it now is to appeal to what I call the Cantor-Hume principle, or some people just call it Hume’s principle, which is the idea that if you have two collections, whether they’re finite or infinite, then we want to say that those two collections have the same size, they’re equinumerous, if and only if there’s a one-to-one correspondence between those collections. And so Galileo was observing that line segments of different lengths are equinumerous, and the perfect squares are equinumerous with the whole… Joel David Hamkins (00:08:17): All of the natural numbers, and any two circles are equinumerous and so on. The tension between the Cantor-Hume principle and what could be called Euclid’s principle, which is that the whole is always greater than the part, is a principle that Euclid appealed to in the Elements. Many times when he’s calculating area and so on, he wants… It’s a kind of basic idea that if something is just a part of another thing, then the whole is greater than the part. And so what Galileo was troubled by was this tension between what we call the Cantor-Hume principle and Euclid’s principle. Joel David Hamkins (00:08:59): It really wasn’t fully resolved, I think, until Cantor. He’s the one who really explained so clearly about these different sizes of infinity and so on in a way that was so compelling. So he exhibited two different infinite sets and proved that they’re not equinumerous; they can’t be put into one-to-one correspondence. It’s traditional to talk about the uncountability of the real numbers. So Cantor’s big result was that the set of all real numbers is an uncountable set. Maybe if we’re going to talk about countable sets, then I would suggest that we talk about Hilbert’s Hotel, which really makes that idea perfectly clear. Lex Fridman (00:09:39): Yeah, let’s talk about Hilbert’s Hotel. Joel David Hamkins (00:09:41): Hilbert’s Hotel is a hotel with infinitely many rooms. Each room is a full floor suite. So there’s floor zero… I always start with zero because for me, the natural numbers start with zero, although that’s maybe a point of contention for some mathematicians. The other mathematicians are wrong. Lex Fridman (00:09:58): Like I mentioned, I’m a programmer, so starting at zero is a wonderful place to start. Joel David Hamkins (00:10:01): Exactly. So there’s floor zero, floor one, floor two, or room zero, one, two, three, and so on, just like the natural numbers. So Hilbert’s Hotel has a room for every natural number, and it’s completely full. There’s a person occupying room N for every N. But meanwhile, a new guest comes up to the desk and wants a room. “Can I have a room, please?” And the manager says, “Hang on a second, just give me a moment.” You see, when the other guests had checked in, they had to sign an agreement with the hotel that maybe there would be some changing of the rooms during their stay. Joel David Hamkins (00:10:39): And so the manager sent a message up to all the current occupants and told every person, “Hey, can you move up one room, please?” So the person in room five would move to room six, and the person in room six would move to room seven and so on. And everyone moved at the same time. Of course, we never want to be placing two different guests in the same room, and we want everyone to have their own private room. But when you move everyone up one room, then the bottom room, room zero, becomes available, of course. So he can put the new guest in that room. So even when you have infinitely many things, then the new guest can be accommodated. And that’s a way of showing how the particular infinity of the occupants of Hilbert’s Hotel, it violates Euclid’s principle. Joel David Hamkins (00:11:25): It exactly illustrates this idea because adding one more element to a set didn’t make it larger, because we can still have a one-to-one correspondence between the total new guests and the old guests by the room number, right? Lex Fridman (00:11:40): So to just say one more time, the hotel is full. Joel David Hamkins (00:11:45): The hotel is full. Lex Fridman (00:11:46): And then you could still squeeze in one more, and that breaks the traditional notion of mathematics and breaks people’s brains about when they try to think about infinity, I suppose. This is a property of infinity. Joel David Hamkins (00:11:59): It’s a property of infinity that sometimes when you add an element to a set, it doesn’t get larger. That’s what this example shows. But one can go on with Hilbert’s Hotel, for example. I mean, maybe the next day, 20 people show up all at once. We can easily do the same trick again, just move everybody up 20 rooms. Then we would have 20 empty rooms at the bottom, and those new 20 guests could go in. But on the following weekend, a giant bus pulled up, Hilbert’s bus. And Hilbert’s bus has, of course, infinitely many seats. There’s Seat Zero, Seat One, Seat Two, Seat Three, and so on. So one wants to… You know, all the people on the bus want to check into the hotel, but the hotel is completely full. So what is the manager going to do? Joel David Hamkins (00:12:50): And when I talk about Hilbert’s Hotel in class, I always demand that the students provide the explanation of how to do it. So maybe I’ll ask you. Can you tell me, yeah, what is your idea about how to fit them all in the hotel, everyone on the bus, and also the current occupants? Lex Fridman (00:13:08): You separate the hotel into even and odd rooms, and you squeeze in the new Hilbert bus people into the odd rooms, and the previous occupants go into the even rooms. Joel David Hamkins (00:13:20): That’s exactly right. So, I mean, that’s a very easy way to do it. If you just tell all the current guests to double their room number, so in Room N, you move to Room 2 times N. So they’re all going to get their own private room, the new room, and it will always be an even number because 2 times N is always an even number. And so all the odd rooms become empty that way. And now we can put the bus occupants into the odd-numbered rooms. Lex Fridman (00:13:42): And by doing so, you have now shoved an infinity into another infinity. Joel David Hamkins (00:13:47): That’s right. So what it really shows, I mean, another way of thinking about it is that, well, we can define that a set is countable if it is equinumerous with a set of natural numbers. And a kind of easy way to understand what that’s saying in terms of Hilbert’s Hotel is that a set is countable if it fits into Hilbert’s Hotel, because Hilbert’s Hotel basically is the set of natural numbers in terms of the room numbers. So to be equinumerous with a set of natural numbers is just the same thing as to fit into Hilbert’s Hotel. And so what we’ve shown is that if you have two countably infinite sets, then their union is also countably infinite. If you put them together and form a new set with all of the elements of either of them, then that union set is still only countably infinite. Joel David Hamkins (00:14:34): It didn’t get bigger. And that’s a remarkable property for a- a notion of infinity to have, I suppose. But if you thought that there was only one kind of infinity, then it wouldn’t be surprising at all, because if you take two infinite sets and put them together, then it’s still infinite. And so if there were only one kind of infinity, then it shouldn’t be surprising- … that the union of two countable sets is countable. So there’s another way to push this a bit harder, and that is when when Hilbert’s train arrives, and Hilbert’s train has infinitely many train cars- … and each train car has infinitely many seats. Joel David Hamkins (00:15:13): And so we have an infinity of infinities of the train passengers together with the current occupants of the hotel, and everybody on the train wants to check in to Hilbert’s Hotel. So the manager can, again, of course, send a message up to all the rooms telling every person to double their room number again. And so that will occupy all the even-numbered rooms again and free up again the odd-numbered rooms. So somehow, we want to put the train passengers into the odd-numbered rooms. And so while every train passenger is on some car, let’s say Car C and Seat S, somehow, we have to take these two coordinates, you know, C, S, the car number and the seat number, and produce from it an odd number in a one-to-one way. And that’s actually not very difficult. Joel David Hamkins (00:16:10): In fact, one can just use, say… An easy way to do it is to just use the number 3 to the C times 5 to the S. 3 to the C, 3 to the car number, so 3 x 3 x 3, you know, the number of the car. You multiply 3 by itself the number of the train car, and then you multiply 5 by itself the seat number of times, and then you multiply those two numbers together. So 3 to the C times 5 to the S. That’s always an odd number, because the prime factorization has only 3s and 5s in it. There’s no 2 there. So therefore, it’s definitely an odd number, and it’s always different because of the uniqueness of prime factorization. So every number can be factored uniquely into primes. So if you have a number of that form, then you can just factor it, and that tells you the exponent on 3 and the exponent on 5. Joel David Hamkins (00:17:06): And so you know exactly which person it was, which car they came from, and which seat they came from. Lex Fridman (00:17:10): And prime factorization is every single number can be decomposed into the atoms of mathematics, which is the prime numbers. You can multiply them together to achieve that number. Joel David Hamkins (00:17:23): That’s, uh- Lex Fridman (00:17:23): And that’s prime factorization. You’re showing 3 and 5 are both prime numbers, odd. So through this magical formula, you can deal with this train, an infinite number of cars, with each car having an infinite number of seats. Joel David Hamkins (00:17:41): Exactly right. We’ve proved that if you have countably many countable sets, then the union of those sets, putting all those sets together into one giant set, is still countable. You know, because the train cars are each countable, plus the current hotel. It’s sort of like another train car, if you want to think about it that way. The current occupants of the hotel could, you know, have the same number as any of the train cars. So putting countably many countable sets together to make one big union set is still countable. It’s quite remarkable, I think. When I first learned this many, many years ago, I was completely shocked by it and transfixed by it. Joel David Hamkins (00:18:20): It was quite amazing to me that this notion of countable infinity could be closed under this process of infinitely many infinities adding up still to the very same infinity, which is a strong instance, a strong violation of Euclid’s principle once again, right? So, the new set that we built is… has many more elements than the old set in the sense that there’s additional elements, but it doesn’t have many more elements in terms of its size because it’s still just a countable infinity and it fits into Hilbert’s Hotel. Lex Fridman (00:18:53): Have you been able to sort of internalize a good intuition about countable infinity? ‘Cause that is a pretty weird thing. You can have a countably infinite set of countably infinite sets, and you can shove it all in and it still is a countable infinite set. Joel David Hamkins (00:19:11): Yeah, that’s exactly right. I mean, I guess, of course when you work with these notions that the argument of Hilbert’s Hotel becomes kind of clear, there are many, many other ways to talk about it too. For example, let’s think about, say, the integer lattice, the grid of points that you get by taking pairs of natural numbers, say, so the upper right quadrant of the integer lattice, yeah? So there’s the, you know, row zero, row one, row two and so on, column zero, column one, column two and so on, and each row and column has a countable infinity of points on it, right? So those dots, if you think about them as dots, are really the same as the train cars if you think about each column in the integer lattice, it’s a countable infinity. Joel David Hamkins (00:20:01): It’s like one train car and then there’s the next train car next to it, and then the next column next to that, the next train car. And so… But if we think about it in this grid manner, then I can imagine a- a kind of winding path winding through these grid points, like up and down the diagonals- … winding back and forth. So I start at the corner point and then I go down, up and to the left, and then down and to the right, up and to the left, down and to the right, and so on, in such a way that I’m gonna hit every grid point in- on this path. So, this gives me a way of assigning room numbers to the points. Joel David Hamkins (00:20:38): Because every grid point is going to be the Nth point on that path for some N. And that gives a correspondence between the grid points and the natural numbers themselves. So it’s a kind of different picture. I mean, before we used this 3 to the C, 5 times 5 to the S, which is a kind of, you know, overly arithmetic way to think about it. But there’s a kind of direct, you know, way to understand that it’s still a countable infinity when you have countably many countable sets because you can just start putting them on this list. And as long as you give each of the infinite collections a chance to add one more person to the list, then you’re going to accommodate everyone in any of the sets in one list. Lex Fridman (00:21:20): Yeah, it’s a really nice visual way to think about it. You just zigzag your way across the grid to make sure everybody’s included, that gives you kind of an algorithm for including everybody. So can you speak to the uncountable infinities? Joel David Hamkins (00:21:33): Yeah, absolutely. Lex Fridman (00:21:33): What are the integers and the real numbers- Joel David Hamkins (00:21:35): Correct Lex Fridman (00:21:36): … and what is the line that Cantor was able to find? Joel David Hamkins (00:21:38): Maybe there’s one more step I want to insert before doing that. Lex Fridman (00:21:43): Right Joel David Hamkins (00:21:43): which is the rational numbers. So we did pairs of natural numbers. Right? That’s the train car, basically. But maybe it’s a little bit informative to think about the rational, the fractions, the set of fractions, or rational numbers, because a lot of people maybe have an expectation that maybe this is a bigger infinity because the rational numbers are densely ordered; between any two fractions you can find another fraction, right? The average of two fractions is another fraction. And so sometimes people, it seems to be a different character than the integers, which are discretely ordered, right? From any integer, there’s a next one and a previous one and so on, but that’s not true in the rational numbers. And yet, the rational numbers are also still only a countable infinity. Joel David Hamkins (00:22:35): And the way to see that is actually it’s just exactly the same as Hilbert’s train again, because every fraction consists of two integers, the numerator and the denominator. And so if I tell you two natural numbers, then you know what fraction I’m talking about. I mean, plus the sign issue, I mean if it’s positive or negative. But if you just think about the positive fractions, then you know, you have the numbers of the form P over Q, where Q is not zero. So you can still do 3 to the P times 5 to the Q; the same idea works with the rational numbers. So this is still a countable set. And you might think, well, every set is going to be countable because there’s only one infinity. Joel David Hamkins (00:23:21): I mean if that’s a kind of perspective maybe that you’re adopting, but it’s not true, and that’s the profound achievement that Cantor made is proving that the set of real numbers is not a countable infinity. It’s a strictly larger infinity, and therefore there’s more than one concept of infinity, more than one size of infinity. Lex Fridman (00:23:40): So let’s talk about the real numbers. What are the real numbers? Why do they break infinity? Joel David Hamkins (00:23:44): Right. Lex Fridman (00:23:44): The countable infinity. Joel David Hamkins (00:23:45): Right. Lex Fridman (00:23:46): Looking it up on Perplexity, real numbers include all the numbers that can be represented on the number line, encompassing both rational and irrational numbers. We’ve spoken about the rational numbers, and the rational numbers, by the way, are, by definition, the numbers that can be represented as a fraction of two integers. Joel David Hamkins (00:24:05): That’s right. So with the real numbers, we have the algebraic numbers. We have of course all the rational numbers. The integers and the rationals are all part of the real number system, but then also we have the algebraic numbers like the square root of 2 or the cube root of 5 and so on. Numbers that solve an algebraic equation over the integers, those are known as algebraic numbers. It was an open question for a long time whether that was all of the real numbers or whether there would exist numbers that are the transcendental numbers. The transcendental numbers are real numbers that are not algebraic. Lex Fridman (00:24:38): And we won’t even go to the surreal numbers, about which you have a wonderful blog post. We’ll talk about that a little bit later. Joel David Hamkins (00:24:43): Oh, great. So it was Liouville who first proved that there are transcendental numbers, and he exhibited a very specific number that’s now known as the Liouville constant, which is a transcendental number. Cantor also famously proved that there are many, many transcendental numbers. In fact, it follows from his argument on the uncountability of the real numbers that there are uncountably many transcendental numbers. So most real numbers are transcendental. Lex Fridman (00:25:12): And again, going to Perplexity, “Transcendental numbers are real or complex numbers; they are not the root of any non-zero polynomial with integer or rational coefficients. This means they cannot be expressed as solutions to algebraic equations with integer coefficients, setting them apart from algebraic numbers.” Joel David Hamkins (00:25:29): That’s right. So some of the famous transcendental numbers would include the number pi, you know, the 3.14159265 and so on. So that’s a transcendental number. Also, Euler’s constant, the e, like e to the x, the exponential function. Lex Fridman (00:25:47): So you could say that some of the sexiest numbers in mathematics are all transcendental numbers? Joel David Hamkins (00:25:51): Absolutely. That’s true. Yeah, yeah. Although, you know, I don’t know, square root of two is pretty. Lex Fridman (00:25:56): Square root. All right. So it depends. Let’s not. Beauty can be found in- Joel David Hamkins (00:26:00): That’s right Lex Fridman (00:26:00): …in all the different kinds of sets, but yeah. Joel David Hamkins (00:26:02): That’s right. And if you have a kind of simplicity attitude, then, you know, zero and one are looking pretty good too, so… And they’re definitely not. Lex Fridman (00:26:07): Sorry to take that tangent, but what is your favorite number? Do you have one? Joel David Hamkins (00:26:10): Oh, gosh. You know- Lex Fridman (00:26:12): Is it zero? Joel David Hamkins (00:26:13): Did you know there’s a proof that every number is interesting? You can prove it, because… Lex Fridman (00:26:22): Yeah? What’s that proof look like? Joel David Hamkins (00:26:23): Yeah, okay. Lex Fridman (00:26:23): How do you even begin? Joel David Hamkins (00:26:24): I’m gonna prove to you- Lex Fridman (00:26:25): Okay Joel David Hamkins (00:26:26): … that every natural number is interesting. Lex Fridman (00:26:28): Okay. Joel David Hamkins (00:26:29): Yeah. I mean, zero’s interesting because, you know, it’s the additive identity, right? That’s pretty interesting. And one is the multiplicative identity, so when you multiply it by any other number, you just get that number back, right? And two is, you know, the f- the first prime number. That’s super interesting, right? Okay. So… …One can go on this way and give specific reasons, but I want to prove as a general principle that every number is interesting. And this is the proof. Suppose, toward contradiction, that there were some boring numbers. Okay? Lex Fridman (00:27:03): Okay. Joel David Hamkins (00:27:04): But if, if there was an uninteresting number- … then there would have to be a smallest uninteresting number. But that’s a contradiction, because the smallest uninteresting number is a super interesting property to have. So therefore- Lex Fridman (00:27:23): Ah, that’s good Joel David Hamkins (00:27:24): …there cannot be any boring numbers. Lex Fridman (00:27:26): I’m going to have to try to find a hole in that proof, because there’s a lot of baked in in the word interesting, but yeah, that’s beautiful. Joel David Hamkins (00:27:33): Right. Lex Fridman (00:27:34): That doesn’t say anything about the transcendental numbers, about the real numbers that you just… Joel David Hamkins (00:27:38): That’s right Lex Fridman (00:27:38): … proved from just- Joel David Hamkins (00:27:39): That’s right Lex Fridman (00:27:39): … four natural numbers. Joel David Hamkins (00:27:40): Yeah. Okay, so should we get back to Cantor’s argument, or? Lex Fridman (00:27:42): Sure. Joel David Hamkins (00:27:42): Okay. Lex Fridman (00:27:43): You’ve masterfully avoided the question. Well, you basically said, “I love all numbers.” Joel David Hamkins (00:27:47): Yeah, basically. Lex Fridman (00:27:48): Is that what you said? Okay. All right. Joel David Hamkins (00:27:49): That was my intention. Lex Fridman (00:27:49): Back to Cantor’s argument. Let’s go. Joel David Hamkins (00:27:51): Okay, so Cantor wants to prove that the infinity of the real numbers is different and strictly larger than the infinity of the natural numbers. So the natural numbers are the numbers that start with zero and add one successively, so zero, one, two, three, and so on. And the real numbers, as we said, are the numbers that come from the number line, including all the integers and the rationals and the algebraic numbers and the transcendental numbers and all of those numbers altogether. Now obviously, since the natural numbers are included in the real numbers, we know that the real numbers are at least as large as the natural numbers. And so the claim that we want to prove is that it’s strictly larger. Joel David Hamkins (00:28:36): So suppose that it wasn’t strictly larger, then they would have the same size. But to have the same size, remember, means by definition that there’s a one-to-one correspondence between them. So we suppose that the real numbers can be put into one-to-one correspondence with the natural numbers. So therefore, for every natural number N, we have a real number, let’s call it R sub N. R sub N is the Nth real number on the list. Basically, our assumption allows us to think of the real numbers as having been placed on a list, R1, R2, and so on. Okay, and now I’m going to define the number Z, and it’s going to be… The integer part is going to be a zero, and then I’m going to put a decimal place, and then I’m going to start specifying the digits of this number Z, D1, D2, D3, and so on. Joel David Hamkins (00:29:28): And what I’m going to make sure is that the Nth digit after the decimal point of Z is different from the Nth digit of the Nth number on the list. Joel David Hamkins (00:29:40): Okay? So, to specify the Nth digit of Z, I go to the Nth number on the list, R sub N, and I look at its Nth digit after the decimal point. And whatever that digit is, I make sure that my digit is different from it. Okay? And then I want to do something a little bit more, and that is I’m going to make it different in a way that I’m never using the digits zero or nine. I’m just always using the other digits and not zero and. It would form a kind of diagonal going down and to the right, and for that reason, this argument is called the diagonal argument because we’re looking at the Nth digit of the nth number, and those exist on a kind of diagonal going down. And we’ve made our number Z so that the Nth digit of Z is different from the Nth digit of the nth number. Joel David Hamkins (00:30:58): But now it follows that Z is not on the list because Z is different from R1 because, well, the first digit after the decimal point of Z is different from the first digit of R1 after the decimal point. That’s exactly how we built it. And the second digit of Z is different from the second digit of R2 and so on. The Nth digit of Z is different from the Nth digit of R7 for every end. So therefore, Z is not equal to any of these numbers R7. But that’s a contradiction because we had assumed that we had every real number on the list, but yet here is a real number Z that’s not on the list, okay? And so that’s the main contradiction. Lex Fridman (00:31:43): And so it’s a kind of proof by construction. Joel David Hamkins (00:31:45): Exactly. So, given a list of numbers, Cantor is proving… It’s interesting that you say that, actually, because there’s a kind of philosophical controversy that occurs in connection with this observation about whether Cantor’s construction is constructive or not. Given a list of numbers, Cantor gives us a specific means of constructing a real number that’s not on the list, is a way of thinking about it. There’s this one aspect, which I alluded to earlier, but some real numbers have more than one decimal representation, and it causes this slight problem in the argument. For example, the number one, you can write it as 1.0000 forever, but you can also write it as 0.999 forever. Those are two different decimal representations of exactly the same number. Lex Fridman (00:32:38): You beautifully got rid of the zeros and the nines. Therefore, we don’t need to even consider that, and the proof still works. Joel David Hamkins (00:32:44): Exactly, because the only kind of case where that phenomenon occurs is when the number is eventually zero or eventually nine. Since our number Z never had any zeros or nines in it, it wasn’t one of those numbers. So actually, in those cases, we didn’t need to do anything special to diagonalize. The mere fact that our number has a unique representation already means that it’s not equal to those numbers. So maybe it was controversial in Cantor’s day, more than 100 years ago, but I think it’s most commonly looked at today as, you know, one of the initial main results in set theory, and it’s profound and amazing and insightful and the beginning point of so many later arguments. Joel David Hamkins (00:33:24): And this diagonalization idea has proved to be an extremely fruitful proof method, and almost every major result in mathematical logic is using in an abstract way the idea of diagonalization. It was really the start of so many other observations that were made, including Russell’s paradox and the halting problem and the recursion theorem. So many other principles are using diagonalization at their core. Lex Fridman (00:33:56): Can we just step back a little bit? Joel David Hamkins (00:33:58): Sure. Lex Fridman (00:33:58): This infinity crisis led to a kind of rebuilding of mathematics. So it’d be nice if you lay out the things it resulted in. One is set theory became the foundation of mathematics. All mathematics could now be built from sets, giving math its first truly rigorous foundation. The axiomatization of mathematics, the paradoxes forced mathematicians to develop ZFC and other axiomatic systems, and mathematical logic emerged. Gödel, Turing, and others created entirely new fields. So, can you explain what set theory is and how does it serve as a foundation of modern mathematics, and maybe even the foundation of truth? Joel David Hamkins (00:34:43): That’s a great question. Set theory really has two roles that it’s serving. There are two ways that set theory emerges. On the one hand, set theory is its own subject of mathematics, with its own problems and questions and answers and proof methods. So really, from this point of view, set theory is about the transfinite recursive constructions or well-founded definitions and constructions. Those ideas have been enormously fruitful, and set theorists have looked into them and developed so many ideas coming out of that. But set theory has also happened to serve in this other foundational role. It’s very common to hear things said about set theory that really aren’t taking account of this distinction between the two roles that it’s serving. Joel David Hamkins (00:35:38): It’s its own subject, but it’s also serving as a foundation of mathematics. So in its foundational role, set theory provides a way to think of a collection of things as one thing. That’s the central idea of set theory. A set is a collection of things, but you think of the set itself as one abstract thing. So when you form the set of real numbers, then that is a set. It’s one thing. It’s a set, and it has elements inside of it. So it’s sort of like a bag of objects. A set is kind of like a bag of objects. So we have a lot of different axioms that describe the nature of this idea of thinking of a collection of things as one thing itself, one abstract thing. Lex Fridman (00:36:20): And axioms are, I guess, facts that we assume are true, based on which we then build the ideas of mathematics. So there’s a bunch of facts, axioms about sets that we can put together, and if they’re sufficiently powerful, we can then build on top of that a lot of really interesting mathematics. Joel David Hamkins (00:36:42): Yeah, I think that’s right. So, the history of the current set theory axioms, known as the Zermelo-Fraenkel axioms, came out in the early 20th century with Zermelo’s idea. The history is quite fascinating because Zermelo in 1904 offered a proof that what’s called the axiom of choice implies the well-order principle. So he described his proof, and that was extremely controversial at the time. There was no theory, there weren’t any axioms there. Cantor was not working in an axiomatic framework. He didn’t have a list of axioms in the way that we have for set theory now, and Zermelo didn’t either. And his ideas were challenged so much with regard to the well-order theorem— Joel David Hamkins (00:37:29): that he was pressed to produce the theory in which his argument could be formalized, and that was the origin of what’s known as Zermelo set theory. Lex Fridman (00:37:39): And going to Perplexity, the axiom of choice is a fundamental principle in set theory which states that for any collection of non-empty sets, it is possible to select exactly one element from each set, even if no explicit rule to make the choices is given. This axiom allows the construction of a new set containing one element from each original set, even in cases where the collection is infinite or where there is no natural way to specify a selection rule. So this was controversial, and this was described before there’s even a language for axiomatic systems. Joel David Hamkins (00:38:14): That’s right. So on the one hand, the axiom of choice principle is completely obvious that we want this to be true, that it is true. A lot of people take it as a law of logic. If you have a bunch of sets, then there’s a way of picking an element from each of them. There’s a function. If I have a bunch of sets, then there’s a function that when you apply it to any one of those sets, gives you an element of that set. It’s a completely natural principle. It’s called the axiom of choice, which is a way of anthropomorphizing the mathematical idea. It’s not like the function is choosing something. It’s just that if you were to make such choices, there would be a function that consisted of the choices that you made. Joel David Hamkins (00:39:01): And the difficulty is that when you can’t specify a rule or a procedure by which you’re making choices, then it’s difficult to say what the function is that you’re asserting exists. You want to have the view that, well, there is a way of choosing. I don’t have an easy way to say what the function is, but there definitely is one. This is the way of thinking about the axiom of choice. Lex Fridman (00:39:28): So we’re going to say the three letters of ZFC may be a lot in this conversation. You already mentioned— Joel David Hamkins (00:39:33): Right Lex Fridman (00:39:33): Zermelo-Fraenkel set theory. The Z and the F and the C in that come from this axiom of choice. Joel David Hamkins (00:39:41): That’s right. Lex Fridman (00:39:42): So ZFC sounds like a super technical thing, but it is the set of axioms that’s the foundation of modern mathematics. Joel David Hamkins (00:39:49): Yeah, absolutely. So one should be aware also that there are huge parts of mathematics that pay attention to whether the axiom of choice is being used, and they don’t want to use the axiom of choice, so they work out the consequences that are possible without the axiom of choice or with weakened forms of Zermelo-Fraenkel set theory, and so on. And there’s quite a vibrant amount of work in that area. But going back to the axiom of choice for a bit, it’s maybe interesting to give Russell’s description of how to think about the axiom of choice. So Russell describes this rich person who has an infinite closet. Joel David Hamkins (00:40:31): In that closet, he has infinitely many pairs of shoes, and he tells his butler, “Please go and give me one shoe from each pair.” And the butler can do this easily because for any pair of shoes, he can just always pick the left shoe. There’s a way of picking that we can describe. We always take the left one or always take the right one, or take the left one if it’s a red shoe and the right one if it’s a brown shoe, you know. We can invent rules that would result in these kinds of choice functions so we can describe explicit choice functions. For those cases, you don’t need the axiom of choice to know that there’s a choice function. Joel David Hamkins (00:41:14): When you can describe a specific way of choosing, then you don’t need to appeal to the axiom to know that there’s a choice function. But the problematic case occurs when you think about the infinite collection of socks that the person has in their closet. And if we assume that socks are indistinguishable within each pair, you know, they match each other, but they’re indiscernible, then the butler wouldn’t have any kind of rule for which sock in each pair to pick. And so it’s not so clear that he has a way of producing one sock from each pair, right? Joel David Hamkins (00:41:56): So that’s what’s at stake, is the question of whether you can specify a rule by which the choice function, you know, a rule that it obeys that defines the choice function, or whether there’s sort of this arbitrary choosing aspect to it. That’s when you need the axiom of choice to know that there is such a function. But of course, as a matter of mathematical ontology, we might find attractive the idea that, well, look, I mean, not every way of choosing the socks has to be defined by a rule. Why should everything that exists in mathematical reality follow a rule or a procedure of that sort? If I have the idea that my mathematical ontology is rich with objects, then I think that there are all kinds of functions and ways of choosing. Joel David Hamkins (00:42:45): Those are all part of the mathematical reality that I want to be talking about, and so I don’t have any problem asserting the axiom of choice. Yes, there is a way of choosing, but I can’t necessarily tell you what it is. But in a mathematical argument, I can assume that I fix the choice function because I know that there is one. So it’s a… The philosophical difference between working when you have the axiom of choice and when you don’t is the question of this constructive nature of the argument. So if you make an argument and you appeal to the axiom of choice, then maybe you’re admitting that the objects that you’re producing in the proof are not going to be constructive. You’re not going to be able to necessarily say specific things about them. Joel David Hamkins (00:43:30): But if you’re just claiming to make an existence claim, that’s totally fine. Whereas if you have a constructive attitude about the nature of mathematics, and you think that mathematical claims maybe are only warranted when you can provide an explicit procedure for producing the mathematical objects that you’re dealing with, then you’re probably going to want to deny the axiom of choice and maybe much more. Lex Fridman (00:43:51): Can we maybe speak to the axioms that underlie ZFC? So ZFC, or Zermelo-Fraenkel set theory with the axiom of choice, as we mentioned, is the standard foundation for most modern mathematics. It consists of the following main axioms: axiom of extensionality, axiom of empty set, axiom of pairing, axiom of union, axiom of power set, axiom of infinity, axiom of separation, axiom of replacement, axiom of regularity, and axiom of choice. Some of these are quite basic, but it would be nice to give people a sense… Joel David Hamkins (00:44:28): Sure Lex Fridman (00:44:28): of what it means to be an axiom. Like, what kind of basic facts we can lay on the table on which we can build some beautiful mathematics. Joel David Hamkins (00:44:37): Yeah, so the history of it is really quite fascinating. So, Zermelo introduced most of these axioms, as part of what’s now called Zermelo set theory, to formalize his proof from the axiom of choice to the well-order principle, which was an extremely controversial result. So in 1904, he gave the proof without the theory, and then he was challenged to provide the theory. And so in 1908, he produced the Zermelo set theory and gave the proof that in that theory, you can prove that every set admits a well ordering. And so the axioms on the list, these things like extensionality, express the most fundamental principles of the understanding of sets that he wanted to be talking about. So for example, extensionality says if two sets have the same members, then they’re equal. Joel David Hamkins (00:45:26): So it’s this idea that the sets consist of the collection of their members, and that’s it. There’s nothing else that’s going on in the set. So it’s just if two sets have the same members, then they are the same set. So it’s maybe the most primitive axiom in some respect. Lex Fridman (00:45:44): Well, there’s also, just to give a flavor, there exists a set with no elements called the empty set. For any two sets, there’s a set that contains exactly those two sets as elements. For any set, there’s a set that contains exactly the elements of the elements of that set, so the union set. And then there’s the power set. For any set, there’s a set whose elements are exactly the subsets of the original set, the power set. And the axiom of infinity, there exists an infinite set, typically a set that contains the empty set and is closed under the operation of adding one more element. Back to our hotel example. Joel David Hamkins (00:46:22): That’s right. Lex Fridman (00:46:23): And there’s more, but it’s kind of fascinating to put yourself in the mindset of people at the beginning of this, of trying to formalize set theory. It’s fascinating that humans can do that. Joel David Hamkins (00:46:37): I read some historical accounts by historians about that time period, specifically about Zermelo’s axioms and his proof of the well-order theorem. And the historians were saying, never before in the history of mathematics has a mathematical theorem been argued about so publicly and so vociferously as that theorem of Zermelo’s. And it’s fascinating also because the axiom of choice was widely regarded as a kind of, you know, basic principle at first, but then people were very suspicious of the well-order theorem because no one could imagine a well ordering, say, of the real numbers. And so this was a case when Zermelo seemed to be, from principles that seemed quite reasonable, proving this obvious untruth. And so people, mathematicians, were objecting. Joel David Hamkins (00:47:30): But then Zermelo and others actually looked into the mathematical papers and so on of some of the people who had been objecting so vociferously, and found, in many cases, that they were implicitly using the axiom of choice in their own arguments, even though they would argue publicly against it. Because it’s so natural to use it, because it’s such an obvious principle in a way. I mean, it’s easy to just use it by accident if you’re not critical enough and you don’t even realize that you’re using the axiom of choice. That’s true now, even. People like to pay attention to when the axiom of choice is used or not used in mathematical arguments, up until this day. It used to be more important. Joel David Hamkins (00:48:13): In the early 20th century it was very important because people didn’t know if it was a consistent theory or not, and there were these antinomies arising, and so there was a worry about consistency of the axioms. But then, of course, eventually, with the result of Gödel and Cohen and so on, this consistency question specifically about the axiom of choice sort of falls away. We know that the axiom of choice itself will never be the source of inconsistency in set theory. If there’s inconsistency with the axiom of choice, then it’s already inconsistent without the axiom of choice. So it’s not the cause of inconsistency. And so in that… Joel David Hamkins (00:48:49): from that point of view, the need to pay attention to whether you’re using it or not from a consistency point of view is somehow less important. But still, there’s this reason to pay attention to it on the grounds of these constructivist ideas that I had mentioned earlier. Lex Fridman (00:49:05): And we should say, in set theory, consistency means that it is impossible to derive a contradiction from the axioms of the theory. So it means that there are no contradictions. That’s a… Joel David Hamkins (00:49:15): That’s right Lex Fridman (00:49:15): a consistent axiomatic system is that there are no contradictions. Joel David Hamkins (00:49:19): A consistent theory is one for which you cannot prove a contradiction from that theory. Lex Fridman (00:49:23): Maybe a quick pause, a quick break, quick bathroom break. You mentioned to me offline we were talking about Russell’s paradox and that there’s another kind of anthropomorphizable proof of uncountability. I was wondering if you can lay that out. Joel David Hamkins (00:49:41): Oh yeah, sure. Absolutely. Lex Fridman (00:49:42): Both Russell’s paradox and the proof. Joel David Hamkins (00:49:44): Right. So we talked about Cantor’s proof that the real numbers, the set of real numbers is an uncountable infinity, it’s a strictly larger infinity than the natural numbers. But Cantor actually proved a much more general fact, namely that for any set whatsoever, the power set of that set is a strictly larger set. So the power set is the set containing all the subsets of the original set. So if you have a set and you look at the collection of all of its subsets, then Cantor proved that this is a bigger set. They’re not equinumerous. Of course, there’s always at least as many subsets as elements because for any element, you can make the singleton subset that has only that guy as a member, right? So there’s always at least as many subsets as elements. Joel David Hamkins (00:50:36): But the question is whether it’s strictly more or not. And so Cantor reasoned like this. It’s very simple. It’s a kind of distilling the abstract diagonalization idea without being encumbered by the complexity of the real numbers. So we have a set X and we’re looking at all of its subsets. That’s the power set of X. Suppose that X and the power set of X have the same size, suppose towards contradiction, they have the same size. So that means we can associate to every individual of X a subset. And so now let me define a new set. I mean, another set, I’m going to define it. Let’s call it D. And D is the subset of X that contains all the individuals that are not in their set. Joel David Hamkins (00:51:28): Every individual was associated with a subset of X, and I’m looking at the individuals that are not in their set. Maybe nobody’s like that. Maybe there’s no element of X that’s like that, or maybe they’re all like that, or maybe some of them are and some of them aren’t. It doesn’t really matter for the argument. I defined a subset D consisting of the individuals that are not in the set that’s attached to them, but that’s a perfectly good subset. And so because of the equinumerosity, it would have to be attached to a particular individual, you know? And- Let’s call that person, it should be a name starting with D, so Diana. Joel David Hamkins (00:52:10): And now we ask, is Diana an element of D or not? But if Diana is an element of D, then she is in her set. So she shouldn’t be because the set D was the set of individuals that are not in their set. So if Diana is in D, then she shouldn’t be. But if she isn’t in D, then she wouldn’t be in her set. And so she should be in D. That’s a contradiction. So therefore, the number of subsets is always greater than the number of elements for any set. And the anthropomorphizing idea is the following. I’d like to talk about it this way. For any collection of people, you can form more committees from them than there are people, even if you have infinitely many people. Joel David Hamkins (00:53:03): Suppose you have an infinite set of people, and what’s a committee? Well, a committee is just a list of who’s on the committee basically, the members of the committee. So there’s all the two-person committees and there’s all the one-person committees and there’s the universal, the worst committee, the one that everyone is on. Okay. The best committee is the empty committee. With no members and never meets and so on. Or is the empty committee meeting all the time? I’m not sure. Lex Fridman (00:53:29): Yeah. That’s… wow, that’s a profound question. And does a committee with just one member meet also? Joel David Hamkins (00:53:35): Yeah. Maybe it’s always in session. I don’t know. So the claim is that there are more committees than people. Okay. Suppose not. Well, then we could make an association between the people and the committees. So we would have a kind of… every committee could be named after a person in a one-to-one way. And I’m not saying that the person is on the committee that’s named after them or not on it, whatever. Maybe sometimes that happens, sometimes it doesn’t. I don’t know. It doesn’t matter. But let’s form what I call committee D, which consists of all the people that are not on the committee that’s named after them. Joel David Hamkins (00:54:16): Okay. Maybe that’s everyone, maybe it’s no one, maybe it’s half the people. It doesn’t matter. That’s a committee, it’s a set of people. And so it has to be named after someone. Let’s call that person Daniella. So now we ask, is Daniella on the committee that’s named after her? Well, if she is, then she shouldn’t be because it was the committee of people who aren’t on their own committee. And if she isn’t, then she should be. So again, it’s a contradiction. So when I was teaching at Oxford, one of my students came up with the following different anthropomorphization of Cantor’s argument. Let’s consider all possible fruit salads. We have a given collection of fruits. Joel David Hamkins (00:55:07): You know, apples and oranges and grapes, whatever. And a fruit salad consists of some collection of those fruits. So there’s the banana, pear, grape salad and so on. There’s a lot of different kinds of salad. Every set of fruits makes a salad, a fruit salad. Okay… And we want to prove that for any collection of fruits, even if there are infinitely many different kinds of fruit, for any collection of fruits, there are more possible fruit salads than there are fruits. So if not, then you can put a one-to-one correspondence between the fruits and the fruit salads, so you could name every fruit salad after a fruit. That fruit might not be in that salad, it doesn’t matter. We’re just… it’s a naming, a one-to-one correspondence. Joel David Hamkins (00:55:53): And then, of course, we form the diagonal salad, which consists… Of all the fruits that are not in the salad that’s named after them. And that’s a perfectly good salad. It might be a kind of diet salad, if it was the empty salad, or it might be the universal salad… Joel David Hamkins (00:56:12): which had all fruits in it, if all the fruits were in it. Or it might have just some and not all. So that diagonal salad would have to be named after some fruit. So let’s suppose it’s named after durian, meaning that it was associated with durian in the one-to-one correspondence. And then we ask, well, is durian in the salad that it’s named after? And if it is, then it shouldn’t be. And if it isn’t, then it should be. And so it’s, again, the same contradiction. So all of those arguments are just the same as Cantor’s proof that the power set of any set is bigger than the set. Joel David Hamkins (00:56:48): And this is exactly the same logic that comes up in Russell’s paradox, because Russell is arguing that the class of all sets can’t be a set because if it were, then we could form the set of all sets that are not elements of themselves. So basically, what Russell is proving is that there are more collections of sets than elements. Because we can form the diagonal class, you know, the class of all sets that are not elements of themselves. If that were a set, then it would be an element of itself if and only if it was not an element of itself. It’s exactly the same logic in all four of those arguments. So there can’t be a class of all sets, because if there were, then there would have to be a class of all sets that aren’t elements of themselves. Joel David Hamkins (00:57:40): But that set would be an element of itself if and only if it’s not an element of itself, which is a contradiction. So this is the essence of the Russell paradox. I don’t call it the Russell paradox. Actually, when I teach it, I call it Russell’s theorem. There’s no universal set. And it’s not really confusing anymore. At the time, it was very confusing, but now we’ve absorbed this nature of set theory into our fundamental understanding of how sets are, and it’s not confusing anymore. I mean, the history is fascinating though, about the Russell paradox, because before that time, Frege was working on his monumental work undertaking, implementing the philosophy of logicism, which is the attempt to reduce all of mathematics to logic. Joel David Hamkins (00:58:30): So Frege wanted to give an account of all of mathematics in terms of logical notions, and he was writing this monumental work and had formulated his basic principles. And those principles happened to imply that for any property whatsoever, you could form the set of objects with that property. This is known as the general comprehension principle. And he was appealing to the principles that support that axiom throughout his work. I mean, it was really… It wasn’t just an incidental thing, he was really using this principle. Joel David Hamkins (00:59:11): And Russell wrote him a letter when he observed the work in progress, that there was this problem, because if you accept the principle that for any property whatsoever you can make a set of objects with that property, then you could form the set of all sets that are not members of themselves. That’s just an instance of the general comprehension principle. And… But the set of all sets that aren’t elements of themselves can’t be a set, because if it were, then it would be an element of itself if and only if it’s not a member of itself, and that’s a contradiction. And so Russell wrote this letter to Frege, and it was just at the moment when Frege was finishing his work. It was already at the publishers and, you know, in press basically. But it’s completely devastating. Joel David Hamkins (00:59:58): I mean, it must have been such a horrible situation for Frege to be placed in, because he’s finished this monumental work, you know, years of his life dedicated to this, and Russell finds this basically one-line proof of a contradiction in the fundamental principles of the thesis that completely destroys the whole system. And Frege had put in the appendix of his work a response to Russell’s letter in which he explained what happened, and he wrote very gracefully, “Hardly anything more unwelcome can befall a scientific writer than to have one of the foundations of his edifice shaken after the work is finished. This is the position into which I was put by a letter from Mr. Joel David Hamkins (01:00:46): Bertrand Russell as the printing of this volume was nearing completion.” And then he goes on to explain the matter, it concerns his basic law five and so on. Lex Fridman (01:00:54): It’s heartbreaking. I mean, there’s nothing more traumatic to a person who dreams of constructing mathematics all from logic, to get a very clean, simple contradiction. I mean, that’s just… Joel David Hamkins (01:01:08): You devote your life to… This work, and then it’s shown to be contradictory, and that must have been heartbreaking. Lex Fridman (01:01:16): What do you think about the Frege project, the philosophy of logic, the dream of the power of logic… To construct a mathematical universe? Joel David Hamkins (01:01:24): So, of course, the project of logicism did not die with Frege, and it was continued, and, you know, there’s a whole movement, the neologicists and so on, in contemporary times even. But my view of the matter is that really, we should view the main goals of logicism are basically completely fulfilled in the rise of set-theoretic foundationalism. I mean, when you view ZFC as the foundation of mathematics, and in my view, the principles of ZFC are fundamentally logical in character, including the axiom of choice, as I mentioned, as a principle of logic. This is a highly disputed point of view, though, because a lot of people take even the axiom of infinity as mathematical, inherently mathematical and not logical and so on. Joel David Hamkins (01:02:14): But I think if you adopt the view that the principles of ZFC have to do with the principles of abstract, you know, set formation, which is fundamentally logical in character, then it’s complete success for logicism. So the fact that set theory is able to serve as a foundation means that mathematics can be founded on logic. Lex Fridman (01:02:35): I think this is a good moment to talk about Gödel’s incompleteness theorems. So, can you explain them and what do they teach us about the nature of mathematical truth? Joel David Hamkins (01:02:47): Absolutely. It’s one of the most profound developments in mathematical logic. I mean, the incompleteness theorems are when mathematical logic, in my view, first became sophisticated. It’s a kind of birth of the subject of mathematical logic. But to understand the theorems, you really have to start a little bit earlier with Hilbert’s program because at that time, you know, with the Russell Paradox and so on, there were these various contradictions popping up in various parts of set theory and the Burali-Forti paradox and so on. And Hilbert was famously supportive of set theory. Joel David Hamkins (01:03:25): I mean, there’s this quote of him saying, “No one shall cast us from the paradise that Cantor has created for us.” And what I take him to mean by that is he was so captured by the idea of using set theory as a foundation of mathematics, and it was so powerful and convenient and unifying in a way that was extremely important. And he didn’t want to give that up, despite the danger of these paradoxes, these contradictions, basically, is how some people viewed them. And so, it’s… Lex Fridman (01:03:58): This minefield of paradoxes. Yeah. Joel David Hamkins (01:04:00): Right. A minefield. That’s a really good way of describing the situation. And so Hilbert said, “Well, look, we have to fix this problem, you know. We want to use the set theory foundations, but we want to do it in a way that is trustworthy and reliable. We can’t allow that the foundations of mathematics are in question, you know.” This is a kind of attitude, I think, that underlies Hilbert and the Hilbert program. And so he proposed, “Look, we’re going to have this strong theory, this set theory that we want to be proving our theorems in. But on the one hand, we want it to be as strong as possible. Joel David Hamkins (01:04:40): We would like it to answer all the questions.” There’s another famous quote of Hilbert in his retirement address where he proclaims, “Wir müssen wissen, wir werden wissen,” so, “We must know, we will know,” in which he’s very optimistic about the ability of mathematics to answer all of the questions of mathematics that we have posed. We have all these problems we want to solve, and he is saying, “We’re going to do it. We’re going to solve all these problems.” So we want to propose this strong theory, and one has the sense that he had in mind set theory in which all the questions are going to be answered. Okay? Joel David Hamkins (01:05:21): But secondly, we want to combine that with a very weak arithmetic, purely finitistic theory; we want to prove that the reasoning process of the strong theory is safe. Okay? So in order to make sense of that point of view, you basically have to invent the philosophy of formalism where we can look at what a proof is, what is the nature of mathematical reasoning. And on Hilbert’s way of thinking about this, a proof is basically itself a finitistic kind of object. It’s a sequence of… If you think about the nature of what a proof is, it’s a sequence of assertions which can be viewed as sort of sequences of symbols that conform with certain rules of logical reasoning. And this is a formalist way of understanding the nature of proof. Joel David Hamkins (01:06:16): So we think about a proof in a kind of syntactic, formal way. Even though the contents of those statements might be referring to infinite uncountable objects, the statements themselves are not infinite uncountable objects. The statements themselves are just finite sequences of symbols. Lex Fridman (01:06:33): So when you kind of think of proof as… Maybe it’s fair to say almost, like, outside of math? It’s, like, tools operating on math. And then for Hilbert, he thought proof is inside the axiomatic system. Something like this. Joel David Hamkins (01:06:45): Yeah, that’s helpful. Lex Fridman (01:06:46): That’s wild. Joel David Hamkins (01:06:48): The main thing about formalism is that you think of the process of doing mathematics. You divorce it from the meaning of the mathematical assertions, right? So the meaning of the mathematical assertions that you make in this infinitary theory has to do with these huge uncountable infinities and so on, possibly. And that’s a very sort of uncertain realm, maybe, and the source of the paradoxes and so on in some people’s minds. But the reasoning process itself consists of writing down sequences of symbols on your page and, you know, undertaking an argument with them which is following these finitary rules. And so, if we divorce the meaning of the symbols from just the process of manipulating the symbols, it’s a way of looking at the nature of mathematics as a kind of formal game in which… Joel David Hamkins (01:07:43): the meaning may be totally absent. I don’t think it’s necessarily part of the formalist view that there is no meaning behind, but rather it’s emphasizing that we can divorce the meaning of the sentences from the process of manipulating those sentences. And then Hilbert wanted to prove in this purely finitary theory that if we follow the rules of that game, we’re never going to get a contradiction. So those were the two aims of the Hilbert program: to found the strong infinitary theory, probably set theory, which is going to answer all the questions. And then secondly, prove in the finitary theory that the strong theory is safe. In other words, consistent, yeah? Lex Fridman (01:08:31): What does the word “finitary” in finitary theory mean? Joel David Hamkins (01:08:34): Yeah. Well, this is, of course, philosophically contentious, and people have different ideas about what exactly it should mean. And so there’s hundreds of papers on exactly that question. But I like to take it just kind of informally. I mean, it means that we’re talking about finite sequences of symbols, and we’re going to have a theory, you know, finite strings of symbols. And a finitary theory would be one whose subject matter is about those kinds of things so that we can conceivably argue about the nature of these finite strings. Joel David Hamkins (01:09:05): So a- a proof is just a finite sequence of statements, so that every statement is either one of the axioms or follows by the laws of logic from the earlier statements in some specified manner, like using modus ponens or some other law of logic like that. And such that the last line on the list is, you know, the theorem that you’re proving. So that’s what a proof is in this kind of way of thinking. Joel David Hamkins (01:09:29): To take a specific example, I mean, I always conceive of the, perhaps the most natural finitary theory that one would be called upon to exhibit would be Peano arithmetic, the theory of Peano arithmetic, which is a first order theory of the nature of arithmetic. But okay, so some people say, “Well, Peano arithmetic has these strong first order induction axioms, and there’s much, much weaker versions of arithmetic, like I-sigma-naught or I-sigma-1 and so on, which are even more finitary than Peano arithmetic.” So different philosophical positions take different attitudes about what does it take to be finitary? How finitary do you have to be to be truly finitary? Lex Fridman (01:10:10): So according to Perplexity, Peano arithmetic is a foundational system for formalizing the properties and operations of natural numbers using a set of axioms called the Peano axioms. Peano arithmetic provides a formal language and axioms for arithmetic operations, such as addition and multiplication over the natural numbers. The axioms define the existence of a first natural number, usually zero or one; the concept of successor function, which generates the next natural number; rules for addition and multiplication built from these concepts; the principle of induction allowing proofs around all natural numbers. And it goes on. So it’s a very particular kind of arithmetic that is a finitary. Joel David Hamkins (01:10:51): You know, I view it as finitary, but this is a contentious view. Not everyone agrees with that. That’s what I was trying to hint at. Lex Fridman (01:10:58): Okay. I got it. All right. Joel David Hamkins (01:10:58): Peano arithmetic is one of the hugely successful theories of the natural numbers and elementary number theory. Essentially, all of classical number theory, whatever kind of theorems you want to be proving about the prime numbers or factorization or any kind of finitary reasoning about finite combinatorial objects, all of it can be formalized in Peano arithmetic. That’s the basic situation. Of course, one has to qualify those statements in light of Gödel’s incompleteness theorem, but for the most part, the classical number theoretic analysis of the finite numbers is almost entirely developable inside Peano arithmetic. Joel David Hamkins (01:11:45): So if we go back to the Hilbert program, Hilbert has these two goals: produce a strong theory which is going to answer all the questions, and then prove by purely finitary means that that theory will never lead into contradiction. And one can think about, well, the incompleteness theorem should be viewed as a decisive refutation of the Hilbert program. It defeats both of those goals decisively, completely. But before explaining that, maybe one should think about, you know, what if Hilbert had been right? What would be the nature of mathematics in the world that Hilbert is telling us to search for? Lex Fridman (01:12:24): And if I may, going to Perplexity’s definition of Hilbert’s program, it was David Hilbert’s early 20th-century project to give all of classical mathematics a completely secure finitary foundation. In essence, the goal was to formalize all of mathematics in precise axiomatic systems and then prove using only very elementary finitary reasoning about symbols that these systems are free of contradiction. Joel David Hamkins (01:12:51): Right, exactly right. Let’s imagine what it would be like if he had been right. So we would have this finitary theory, and it would prove that the strong theory was free of contradiction. So we could start enumerating proofs from the strong theory. I mean, right now, we can write a computer program that would systematically generate all possible proofs from a given theory. And so we could have this theorem enumeration machine that just spit out theorems all day long in such a manner that every single theorem would eventually be produced by this device. And so if you had a mathematical question of any kind, you could answer it by just waiting for either the answer to come out yes or the answer to come out no. Joel David Hamkins (01:13:51): So the nature of mathematical investigation in Hilbert’s world is one of just turning the crank of the theorem enumeration machine. Devoid of creative thinking or imagination, it’s just getting the answer by rote procedure. So Hilbert, in effect, is telling us, with his program, that the fundamental nature of mathematics is rote computation. I mean, the way I think about the Hilbert program seems extremely attractive in the historical context of being worried about the antinomies, the inconsistencies, and so how can we kind of block them. And so- Joel David Hamkins (01:14:31): It seems natural, first of all, to have a strong theory that’s going to answer all the questions, because the idea of logical independence and pervasiveness that we now know exists just wasn’t, you know, there was no known… They didn’t know anything like that happening ever. And so it’s natural to think that it wouldn’t happen, and also that they would be able to guard against this inconsistency. So it seems like the goals of the Hilbert program are quite natural in that historical context. But, you know, when you think a little more about what the nature of it would be like, it shows you this kind of rote procedure. Joel David Hamkins (01:15:09): And now you’re saying, well, that doesn’t seem so unlikely maybe, in the light of increasing computer power and so on, it’s actually maybe turning into our everyday experience, where the machines are calculating more and more for us and in a way that could be alarming. Okay, but to talk about the alternative to the Hilbert point of view, I mean, if he’s wrong, then what is the nature of mathematical reality? Well, it would mean that we couldn’t ever maybe, for the first goal, we couldn’t ever write down a theory that answered all the questions. So we would always be in a situation where our best theory, even the infinitary theories, would have questions that they stumble with and are unable to answer. Independence would occur. Joel David Hamkins (01:16:02): But then also, because of the failure of the second goal, we would also have to be constantly worrying about whether our theories were consistent or not, and we wouldn’t have any truly convincing means of saying that they were free from contradiction. And the fact of Gödel’s Incompleteness Theorem shows that that is exactly the nature of mathematical reality, actually. Those are the two incompleteness theorems. So the first incompleteness theorem says you cannot write down a computably axiomatizable theory that answers all the questions. Every such theory will be incomplete, assuming it includes a certain amount of arithmetic. And secondly, no such theory can ever prove its own consistency. Joel David Hamkins (01:16:47): So not only is it the case that the finitary theory can’t prove the consistency of the strong infinitary theory, but even the infinitary theory can’t prove its own consistency, right? That’s the second incompleteness theorem. And so it’s, in that sense, a decisive takedown of the Hilbert program, which is really quite remarkable, the extent to which his theorem just really answered that whole puzzle. It’s quite amazing. There’s another aspect, kind of easy to think about. I mean, if you’re wondering about theories that prove their own consistency, then would you trust a theory that proves of itself that it’s consistent? I mean, that’s like… Joel David Hamkins (01:17:35): It’s like the used car salesman telling you, “Oh, I’m trustworthy.” I mean, it’s not a reason to trust the used car salesman, is it? Just because he says that. So similarly, if you have a theory that proves its own consistency, well, I mean, even an inconsistent theory would prove its own consistency. And so it doesn’t seem to be a logical reason to believe in the consistency, if you have a theory that proves itself consistent. Lex Fridman (01:17:59): Just for clarification, you used the word theory. Is it, in this context, synonymous with axiomatic system? Joel David Hamkins (01:18:07): Right. So in mathematical logic, “theory” is a technical term. And it means any set of sentences in a formal language. And so if you say “axiomatic system,” it’s basically synonymous to my usage with theory. So a theory means, you know, the consequences of a set of axioms or… People are sometimes unclear on whether they just mean the axioms or the consequences of the axioms, but… Lex Fridman (01:18:29): So theory includes both the axioms and the consequences of the axioms, and you use it interchangeably and the context is supposed to help you figure out which of the two you’re talking about? The axioms or the consequences? Or maybe to you, they’re basically the same? Joel David Hamkins (01:18:44): Yeah, well, they’re so closely connected, although, you know, all the features aren’t the same. So if you have a computable list of axioms for a theory, then you can start enumerating the consequences of the axioms, but you won’t be able to computably decide whether a given statement is a consequence or not. You can enumerate the consequences, so you can semi-decide the consequences, but you won’t be able to decide yes or no whether a given statement is a consequence or not. So it’s the distinction between a problem being computably decidable and a problem being computably enumerable, which was made clear following the work of Turing and others that came from that. I mean, it… Joel David Hamkins (01:19:30): So that’s one difference between the list of axioms of the theory and the theory itself. The axioms could be… You can decide, maybe computably, whether something is an axiom or not, but that doesn’t mean that you can decide computably whether or not something is a theorem or not. Usually, you only get to decide the positive instances. If something is a theorem, you will eventually come to recognize that, but if something isn’t a theorem, maybe at no point will you be able to say, “No, that’s not a theorem.” Lex Fridman (01:19:56): And that’s of course connected to the halting problem- … and all of these-… all of these contradictions and paradoxes are all nicely beautifully interconnected. Joel David Hamkins (01:20:04): That’s right. Absolutely. Lex Fridman (01:20:06): So, can we just linger on Gödel’s incompleteness theorem? Joel David Hamkins (01:20:09): Sure. Lex Fridman (01:20:09): You mentioned the two components there. You know, there are so many questions to ask. Like, what is the difference between provability and truth? What is true and what is provable? Maybe that’s a good line to draw. Joel David Hamkins (01:20:21): Yeah, this is a really core distinction that it’s fascinating to me to go back and read even the early 20th-century people before Gödel and Tarski, and they were totally sloppy about this distinction between truth and proof. It wasn’t clear at all until Gödel, basically. Although even as late as Bourbaki has a kind of confusion in this foundational work, so this standard graduate-level textbooks used in France in the presentation of logic, they are conflating truth and proof. To be true for them means to be provable. So in the early days, maybe it wasn’t clear enough that the concept of truth needed a mathematical investigation or analysis. Maybe it was already taken to be fully clear. Joel David Hamkins (01:21:19): But because of the incompleteness theorem, we realized that actually there are quite subtle things happening, right? And so why don’t we talk about this distinction a bit? To me, it’s absolutely core and fundamental to our understanding of mathematical logic now. Joel David Hamkins (01:21:34): …this distinction between truth and proof. So truth is on the semantic side of the syntax-semantics dichotomy. Truth has to do with the nature of reality. I mean, okay, when I talk about reality, I’m not talking about physical reality. I’m talking about mathematical reality. So we have a concept of something being true in a structure, a statement being true in a mathematical structure. Like maybe you have the real field or something, and you want to know, does it satisfy this statement or that statement? Or you have a group of some kind, or maybe you have a graph. This is a particular kind of mathematical structure that has a bunch of vertices and edges, and you want to know, does this graph satisfy that statement? Joel David Hamkins (01:22:19): And Tarski gave this absolutely wonderful account of the nature of truth in what’s now known as the disquotational theory of truth. And what Tarski says is the sentence, quote, “Snow is white,” unquote, is true if and only if snow is white. And what he means by that is… Look, to say truth is a property of an assertion, so we can think of the assertion as it syntactically. So the sentence is true if and only if the content of the sentence is the case, you know? So the sentence, “Snow is white,” you know, in quotations, is true. That just means that snow is white, and that’s why it’s called the disquotational theory because we remove the quotation marks. Joel David Hamkins (01:23:16): …from the assertion, right? And you can use this idea of disquotation to give a formal definition of truth in a mathematical structure of a statement in a formal language. So for example, if I have a formal language that allows me to make atomic statements about the objects and relations of the structure, and I can build up a formal language with, you know, with the logical connectives of and, and or, and implies, and not, and so on, and maybe I have quantifiers, right? Then, for example, to say that the structure satisfies phi and psi, that that single statement, phi and psi, I’m thinking of that as one statement, just means that it satisfies phi and it satisfies psi. And if you notice what happened there, I… Joel David Hamkins (01:24:06): At first, the “and” was part of the sentence inside the sentence, but then in the second part, I was using the word “and” to refer to the conjunction of the two conditions. So… Lex Fridman (01:24:17): Yeah, it has the disquotation. Joel David Hamkins (01:24:18): Yeah, it has the disquotation. And so this idea can be done for all the logical connectors and quantifiers and everything. You’re applying Tarski’s idea of disquotation, and it allows you to define by induction the truth of any assertion in a formal language inside any mathematical structure. And so to say that a sentence is true, first of all, it’s ambiguous unless you tell me which structure you’re talking about it being true in. And so maybe we have in mind the standard model of arithmetic or something with the natural numbers and the arithmetic structure, and I want to know is a given statement true in that structure. Then we have a formal definition of what that means according to the Tarski recursive definition of truth. Okay, that’s truth. Joel David Hamkins (01:25:04): Proof, on the other hand, is, you know, in this Hilbert way of thinking, we can develop proof theory. What is a proof for a mathematician, for a mathematical logician? A proof is a certain sequence or arrangement of sentences in the formal language that accord with the logical rules of a proof system. So there are certain modes of reasoning that are allowed. So if you know A and you know A implies B in the proof, then at a later step you’re allowed to write B as a consequence. So if you know A and you know A implies B, those are both two statements that are known, then you can deduce B as a consequence according to the rule of modus ponens. This is the rule of modus ponens. And, you know, there are a lot of other rules. Some people would call this implication elimination. Joel David Hamkins (01:25:56): There are different kinds of proof systems. There are a lot of different formal proof systems that exist that are studied by the proof theorists, and all of them have the property that they’re sound, which means that if the premises of the argument are all true in a structure and you have a proof to get a conclusion, then the conclusion is also true in that structure. So that’s what it means to be sound. That proofs preserve truth. They’re truth-preserving arguments. Okay? But also the proof systems are also generally complete. Joel David Hamkins (01:26:35): They’re both sound and complete, and complete means that whenever a statement is a consequence, a logical consequence of some other statements, which means that whenever the assumptions are true, then the consequence is also true in the structure. So whenever you have a logical consequence, then there is a proof of it. Okay? And the proof systems generally have both of those properties; they’re sound and complete. There’s a third property, a lot of logicians talk about sound and complete this, sound and complete that. But actually, there’s a hidden third adjective that they should always be talking about in any such case, which is that you should be able to recognize whether or not something is a proof or not. Joel David Hamkins (01:27:19): So there’s a computable aspect to the proof systems. We want to be able to recognize whether something is a proof. It should be computably decidable whether a given sequence of statements is a proof or not. So we don’t want a proof system in which someone claims to have a proof, but we can’t check that fact whether it’s a proof or not. We want to be able to, you know, to correctly adjudicate all claims to having a proof. Lex Fridman (01:27:46): Yeah, a mathematician comes to mind that said he has a proof, but the margins are too small… Joel David Hamkins (01:27:51): That’s right Lex Fridman (01:27:51): … to continue. Joel David Hamkins (01:27:52): Exactly. So… Lex Fridman (01:27:53): So that doesn’t count as a proof. Joel David Hamkins (01:27:55): Yeah. So generally, all the classical proof systems that are used are sound and complete, and also computably decidable in the sense that we can decide whether something is a proof or not. Lex Fridman (01:28:04): So what is, again, the tension between truth and proof? Which is more powerful, and how do the two interplay with the contradictions that we’ve been discussing? Joel David Hamkins (01:28:15): Right. So the incompleteness theorem is the question whether we could, say, write down a theory for arithmetic. Say, for the standard model of arithmetic where we have the natural numbers and plus and times and zero, one, and less than, and so on. In that formal language, we can express an enormous number of statements about the nature not only of arithmetic, but actually by various coding methods, we can express essentially all of finite mathematics in that structure. So the question would be, can we write down a computable list of axioms that will answer all those questions by proof? In other words, we want to have a complete theory, a theory of arithmetic that proves all and only the true statements. That would be the goal. Hilbert would love that. Joel David Hamkins (01:29:03): I mean, that would be supportive of Hilbert’s program to have such a complete theory of arithmetic, and Godel proved that this is impossible. You cannot write down a computable list of axioms that is complete in that sense. There will always be statements… if the theory is consistent, there will always be statements that you cannot prove and you cannot refute. So they are independent of that theory. Lex Fridman (01:29:26): How traumatic is that, that there’s statements that are independent from the theory? Joel David Hamkins (01:29:30): I mean, my view is that, yeah, this isn’t traumatic at all. This is rather completely eye-opening in terms of our understanding of the nature of mathematical reality. I mean, we’re not… we understand this profound fact about our situation with regard to mathematical truth. The incompleteness theorem tells us, look, we just can’t write down a list of axioms that is going to be consistent and it’s going to answer all the questions. It’s impossible. And so I don’t think of it as trauma. I just think, look, this is the nature of mathematical reality, and it’s good that we know it, and so now we need to move on from that and, you know, do what we can in light of that. Lex Fridman (01:30:19): Is it fair to say that in general it means if I give you a statement, you can’t know if your axiomatic system would be able to prove it? Joel David Hamkins (01:30:31): That’s right. In general, you cannot… the provability problem, we can formulate it as a decision problem. Given a theory and given a statement, is that statement a consequence of that theory? Yeah. This is one of the most famous decision problems. In fact, the very first one, because it’s equivalent to the Hilbert-Ackermann Entscheidungsproblem, which is also appearing in the title of Turing’s 1936 paper that was so important for computability theory. So it’s a formulation of the Entscheidungsproblem. Does a given theory have a given statement as a logical consequence? Joel David Hamkins (01:31:08): Which, because of Godel’s completeness theorem, not his incompleteness theorem, but his earlier completeness theorem, Godel had proved that the proof systems that they studied did have this completeness property that I mentioned. So provability is the same as logical consequence, so… and this is an undecidable decision problem. Turing proved, and we now know it’s equivalent to the halting problem. Lex Fridman (01:31:30): Can you describe the halting problem? Because it’s a thing that shows up in a very useful and, again, traumatic way through a lot of computer science, through a lot of mathematics. Joel David Hamkins (01:31:39): Yeah. The halting problem is expressing a fundamental property of computational processes. So given a program, or maybe we think of it as a program together with its input, but let me just call it a program. So given a program, we could run that program, but I want to pose it as a decision problem. Will this program ever complete its task? Will it ever halt? And the halting problem is the question, given a program, will it halt? Yes or no? And of course, for any one instance, the answer’s either yes or no. That’s not what we’re talking about. We’re talking about whether there’s a computable procedure to answer all instances of this question. Joel David Hamkins (01:32:23): So it’s a decision problem given as a scheme of instances for all possible programs that you could ask about. What I want to know is, is there a computable procedure that will answer those questions? And it turns out the answer’s no. The halting problem is computably undecidable. There is no computable procedure that will correctly answer all instances of whether a given program will halt. And of course, we can get half the answers in the sense that you give me a program and you say, “Will this halt?” And I could take that program and I could run it. Joel David Hamkins (01:32:59): And I could keep running it, and maybe in a week, it would halt. And at that time, I could say, “Yes, it halted.” So I can get the yes answers correctly for halting, all the yes answers. But the problem is if it didn’t halt yet, like maybe I waited, you know, a thousand years and it still hasn’t halted, I don’t seem entitled to say, “No, it’s not going to halt” yet, because maybe in a thousand and one years, it’ll halt. And so at no point can I seem to say no. In order to say, “No, it won’t ever halt,” it seems like I would have to really understand how the program worked and what it was doing. So giving the yes answers was sort of trivial. You didn’t have to understand it; you just needed to run it, which is a kind of rote task. Joel David Hamkins (01:33:48): But to give the no answers, you need to have a kind of deep insight into the nature of the program and what it’s doing in such a way that you would understand it and be able to see, “Oh, no, I can see this program is never going to halt.” Because, you know, it’s a much more difficult task to say, “No, it won’t halt,” than it is to say, “Yes, it halted because I ran it and it halted.” And it turns out to be impossible to have a computable procedure that gives the no answers, you know? And the argument is not very difficult. Should we do it? Lex Fridman (01:34:18): Yes, let’s do it. Joel David Hamkins (01:34:19): Okay. Suppose toward contradiction, I mean, all these proofs are by contradiction, and this argument is going to be a diagonal argument in the same style as the Russell argument and the Cantor argument and Godel’s argument that we haven’t talked about yet. So many diagonal arguments come in. So suppose towards contradiction that we had a procedure for determining whether a given program halted on a given input. Now, let me describe. I’m going to use that procedure as a subroutine in the following process. And my process, let’s call it Q, process Q, and it takes as input a program P, okay? And the first thing it does is it asks that subroutine, “Hey, would P halt if I ran it on P itself?” Okay. That’s the diagonal part, because we’re applying P to P, right? Joel David Hamkins (01:35:14): Okay, so I’m describing program Q, and program Q takes as input P, which is itself a program. And the first thing it does is it asks the halting subroutine program, “Would P halt on P?” And if the answer comes back from the subroutine, “Yeah, that would halt,” then what I do in program Q is I immediately jump into an infinite loop. So I don’t halt. If P halts on P, I don’t halt. But if the answer came back, “No, P is never going to halt on P,” then I halt immediately. Okay, and that’s it. I’ve described what Q does. Joel David Hamkins (01:35:53): And the thing about Q is that Q’s behavior on P was the opposite of P’s behavior on P. I mean, that’s how we designed Q specifically so that Q on P had the opposite behavior as P on P. Okay, so now, of course, what do we do? Well, the same thing that Russell did, and so forth, and Cantor, we ask, “Well, what would Q do on Q?” And because of this opposite behavior, Q would halt on Q if and only if Q does not halt on Q, which is a contradiction, because Q has to have the opposite behavior on Q than Q does, but that’s just contradictory. Lex Fridman (01:36:38): What a beautiful proof. Simple. Joel David Hamkins (01:36:39): It’s absolutely beautiful. I agree. It’s following the same logic of Russell and Cantor. I mean, going back to Cantor basically, because Russell is also quoting Cantor in his letter to Frege. Therefore, the conclusion is that the halting problem is not computably decidable. Now we can immediately prove Godel’s theorem using this, actually. It’s an immediate consequence. So why don’t we just do that? I view this as the simplest proof of Godel’s theorem. You don’t need the Godel sentence to prove Godel’s theorem. You can do it with the halting problem. So suppose that we could write down a computable axiomatization of all of the true facts of elementary mathematics, meaning arithmetic and finite combinatorial things such as Turing machine computations and so on. Joel David Hamkins (01:37:35): So in fact, all those finite combinatorial processes are formalizable inside arithmetic with the standard arithmetization coding process. But let me just be a little bit informal and say suppose we could write down a complete theory of elementary finite mathematics. So we have an axiomatization of that theory. Then we could produce all possible theorems from those axioms in the way that I was describing earlier with Hilbert’s program. If we had a complete theory of elementary mathematics, we could construct a theorem enumeration machine that produced all the theorems and only the theorems from that theory. So now, I have this theorem enumeration device on my desk, and I announce that I’m open for business to solve the halting problem. Joel David Hamkins (01:38:25): So you give me a program and input that you want to run that program on, and I’m going to answer the halting problem. The way I’m going to do it is I’m just going to wait for the statement coming out of the theorem enumeration device that asserts either that P does halt on that input, or I wait for the statement that P does not halt on that input. But one of them’s going to happen because it was a complete theory that was enumerating all the true statements of elementary mathematics. So therefore, if I had such a system, I could solve the halting problem, but we already proved that you cannot solve the halting problem, so therefore you cannot have such a complete theory of arithmetic. So that proves Godel’s theorem. Lex Fridman (01:39:05): Maybe to take a little bit of a tangent, can you speak… You’ve written a wonderful book about proofs and the art of mathematics. So what can you say about proving stuff in mathematics? What is the process of proof? What are the tools? What is the art? What is the science of proving things in mathematics? Joel David Hamkins (01:39:22): This is something that I find so wonderful to teach young mathematicians who are learning how to become mathematicians and learning about proof, and I wrote that book when I was teaching such a proof-writing class in New York. Joel David Hamkins (01:39:37): Many universities have such a course, the proof-writing course, which is usually taken by students who have learned some mathematics. Usually, they’ve completed maybe the calculus sequence and are making the kind of transition to higher mathematics, which tends to involve much more proof, and it’s a kind of challenging step for them. So many math departments have this kind of course on proof-writing where the students would get exposed to how to write proofs. I wasn’t happy with most of the other books that exist for those kind of courses, and the reason was that they were so often so dull because they would concentrate on these totally uninteresting parts of what it’s like to write a proof, these kind of mechanistic procedures about how to write a proof. Joel David Hamkins (01:40:28): You know, if you’re going to prove an implication, then you assume the hypothesis and argue for the conclusion, and so on. All of that is true and fine, and that’s good to know, except if that’s all that you’re saying about the nature of proof, then I don’t think you’re really learning very much. So I felt that it was possible to have a much better kind of book, one that was much more interesting and that had interesting theorems in it that still admitted elementary proof. So I wrote this book and tried to fill it with all of the compelling mathematical statements with very elementary proofs that exhibited lots of different proof styles in it. So, I found that the students appreciated it a lot. Lex Fridman (01:41:12): We should say, “We dedicate the book to my students, may all their theorems be true, proved by elegant arguments that flow effortlessly from hypothesis to conclusion while revealing fantastical mathematical beauty.” Is there some interesting proofs that maybe illustrate, for people outside of mathematics or for people who just take math classes… Joel David Hamkins (01:41:37): Right Lex Fridman (01:41:37): …in high school and so on? Joel David Hamkins (01:41:39): Yeah, let’s do a proof. There’s one in the book. We can talk about it. I think it’s a nice problem. It’s in discrete math, yeah, the 5.1, that one, more pointed at than pointing. Okay. So this is the following problem. Suppose you’re gathered with some friends, you know, in a circle, and you can point at each other however you want, or yourself, whatever, it doesn’t matter, and you can point at more than one person, you know, use all your fingers or your feet or whatever you want. So maybe you point at three of your friends or something and they point at two or three of their friends or whatever, and one person is pointing at 10 people and somebody isn’t pointing at anybody maybe, and various people are pointed at also, right? Joel David Hamkins (01:42:20): So the question is, could we arrange a pattern of pointing so that everyone was more pointed at than they are pointing at others? So in other words, maybe there’s seven people pointing at me, but I’m only pointing at five people and maybe there’s, you know, 20 people pointing at you, but you’re only pointing at 15 people or something like that, right? So I want to know. There’s a similar question on Twitter. For a group of people on Twitter, could you arrange that everyone has more followers than following? Yeah, it’s the same question. Mathematically, it’s identical. Although, I don’t know, it’s not identical, because I said you could point at yourself, and I think that’s not… Can you follow yourself? Lex Fridman (01:43:09): No, I don’t think so, no. Joel David Hamkins (01:43:10): I don’t think you can. Okay. So can you arrange it so that everyone is more pointed at than pointing? In my book, I give a couple of different proofs of this. I think I give an induction proof and then there’s another proof. I think there’s three different proofs in there. But why don’t we just talk about my favorite proof? Suppose it were possible to arrange that we’re all more pointed at than pointing, okay? Now what we’re going to do, we’re going to agree, we’re going to give a dollar to everyone that we’re pointing at. Joel David Hamkins (01:43:40): Okay? So what happens? Everybody made money, because I was pointed at by more people than I’m pointing, so I got $10 but I only paid out $7. And similarly, you got paid $20 but you only paid out $15. So if everyone is more pointed at than pointing, then everyone makes money. But it’s obviously impossible for us to make money as a group by just trading money with ourselves. And therefore, it can’t be possible that we’re all more pointed at than pointing. And this proof illustrates something. It’s one of my habits that I suggest in the book: to anthropomorphize your mathematical ideas. So, Joel David Hamkins (01:44:22): you should imagine that the mathematical objects that are playing a role in your question are people, or active, somehow, animals or something that maybe have a will and a goal and so on. This is this process of anthropomorphizing. And it often makes the problems easier to understand, because we all are familiar with the fact that it’s difficult to make money, and the proof is totally convincing because of our knowledge that we can’t make money as a group by trading dollars between us, without any new money coming into the group. Joel David Hamkins (01:45:01): But that by itself is actually a difficult mathematical claim. I mean, if someone had to prove that you can’t make money by trading within a group, you know, it can’t be that everyone in the group makes money just by shifting money around in the group. Maybe you think that’s obvious, and it is obvious if you think about money. But if you had asked the question about mathematical functions of a certain kind and so on, then maybe it wouldn’t be as clear as it is when you’re talking about this money thing, because we can build on our human experience about the difficulty of getting money and other resources. It doesn’t have to be money; it could be candy, whatever. You know, we just know that you can’t easily get more things in that kind just by trading within a group. Lex Fridman (01:45:48): And we should say that sometimes the power of proof is such that the non-obvious can be shown, and then over time that becomes obvious. So, in the context of- money or social systems, there’s a bunch of things that are non-obvious. And the whole point is that proof can guide us to the truth, to the accurate description of reality. We just proved a property of money. Joel David Hamkins (01:46:14): It’s interesting to think about, well, what if there were infinitely many people in your group? Then it’s not true anymore. The theorem fails. In fact, you can arrange that everyone is strictly more pointed than pointing. And also, if everyone has even just one dollar bill- Joel David Hamkins (01:46:35): then you can arrange that afterwards everyone has infinitely many dollar bills. Because in terms of cardinality, that’s the same. It’s just, say, countable infinity in each case. If you had countably many friends and everyone has one dollar bill, then you can arrange a pattern of passing those dollar bills amongst each other so that afterwards everyone has infinitely many dollar bills. What you need is for each person to be attached to, you know, one of the train cars or something. So, think of everyone as coming from Hilbert’s train, but also think of them as fitting into Hilbert’s Hotel. So, just have everyone on the Nth car give all their money to the person who ends up in the Nth room. So, they each give one dollar to that person. Joel David Hamkins (01:47:16): So afterwards, that person has infinitely many dollars, but everyone only paid out one dollar. So it’s a way of making it happen. Lex Fridman (01:47:23): To what degree, sticking on the topic of infinity, should we think of infinity as something real? Joel David Hamkins (01:47:33): That’s an excellent question. I mean, a huge part of the philosophy of mathematics is about this kind of question, that what is the nature of the existence of mathematical objects, including infinity? But I think asking about infinity specifically isn’t that different than asking about the number five. What is- what does it mean for the number five to exist? What are the numbers really, right? Joel David Hamkins (01:47:58): This, this is maybe one of the fundamental questions of mathematical ontology. I mean, there’s many different positions to take on the question of the nature of the existence of mathematical objects or abstract objects in general. And there’s a certain kind of conversation that sometimes happens when you do that. And it goes something like this: sometimes people find it problematic to talk about the existence of abstract objects such as numbers, and there seems to be a kind of wish that we could give an account of the existence of numbers or other mathematical objects or abstract objects that was more like, you know, the existence of tables and chairs and rocks and so on. Joel David Hamkins (01:48:42): And so there seems to be this desire to reduce mathematical existence to something, you know, that we can experience physically in the real world. But my attitude about this attempt is that it’s very backward, I think, because I don’t think we have such a clear existence of the nature of physical objects, actually. I mean, we all have experience about existing in the physical world, as we must, because we do exist in the physical world, but I don’t know of any satisfactory account of what it means to exist physically. Joel David Hamkins (01:49:28): I mean, if I ask you, say, “Imagine, you know, a certain kind of steam locomotive,” you know, and I describe the engineering of it and the weight of it and the nature of the gear linkages, and, you know, and I show you schematic drawings of the whole design and so on, and, you know, we talk in detail about every single detailed aspect of this steam locomotive. But then suppose after all that conversation, I say, “Okay, now I would like you to tell me what would it mean for it to exist physically, I mean, as opposed to just being an imaginary steam locomotive?” Then what, what could you possibly say about it? I mean, except by saying, “Oh, I just mean that it exists in the physical world.” But what does that mean? That’s the question, right? It’s not an answer to the question. Joel David Hamkins (01:50:18): That is the question. So I don’t think that there’s anything sensible that we can say about the nature of physical existence. It is a profound mystery. In fact, it becomes more and more mysterious the more physics we know. I mean, back in, say, Newtonian physics, one had a picture of the nature of physical objects as, you know, little billiard balls or something, or maybe they’re infinitely divisible or something like that. Okay, but then this picture is upset with the atomic theory of matter. But then that picture’s upset when we realize that the atoms actually can be split and consist of electrons and protons and neutrons and so on. Joel David Hamkins (01:50:56): But then that picture’s upset when we realize that those things themselves are built out of quarks and leptons and so on, and who knows what’s coming. And furthermore, all of those things, the nature of their existence is actually as wave functions in some cloud of probability and so on. And so it just becomes more and more mysterious the more we learn, and not at all clarifying. And so the nature of what it means to say that there’s an apple on my desk, and to give an account of what that physical existence really is at bottom, I think, is totally absent. Whereas we do seem to have a much more satisfactory account of the nature of abstract existence. I mean, I can talk about the nature of the empty set. Joel David Hamkins (01:51:43): You know, this is the predicate which is never true or something like that. I can talk about those kind of logical properties or the singleton of the empty set and so on. I mean, of course, it’s very difficult if you go very far with it, but the point is that it doesn’t get more and more mysterious. The more that you say, it becomes only more and more clear. And so it seems to me that we don’t really have any understanding of what the physical world is as opposed to the abstract world, and it’s the abstract world where existence is much more clear. Lex Fridman (01:52:19): It is very true that we don’t know anything about the soda bottle or the steam locomotive just because we can poke at it. Again, we anthropomorphize, and that actually gets us into trouble sometimes because I’m not feeling the quantum mechanics when I’m touching it. Joel David Hamkins (01:52:34): That’s right. Lex Fridman (01:52:34): And therefore, it’s easy to forget and feel like this is real and mathematical objects are not, but you’re making the opposite argument. When you draw a distinction between numerals and numbers, which numerals are the representation of the number on the page and so on, could you say that a number is real? Do numbers exist? Joel David Hamkins (01:52:57): I happen to think so. I mean, I’m on the side of realism in mathematics, and I think that these abstract objects do have a real existence in a way that we can give an account of, in a way I just tried to describe. Lex Fridman (01:53:10): So, like, you would describe it as the size of a set with four elements in it? Joel David Hamkins (01:53:14): Well, there are different ways to understand the nature of four. I mean, actually, this gets into the question of structuralism, which is maybe a good place to talk about it. Lex Fridman (01:53:24): What is structuralism? Joel David Hamkins (01:53:25): Structuralism is a philosophical position in mathematics, or the philosophy of mathematics, by which one emphasizes that what’s important about mathematical objects is not what they’re made out of or what their substance or essence is, but rather how they function in a mathematical structure. And so, what I call the structuralist attitude in mathematics is that we should only care about our mathematical structures up to isomorphism. Joel David Hamkins (01:53:53): If I have a mathematical structure of a certain kind and I make an exact copy of it using different individuals to form the elements of that structure, then the isomorphic copy is just as good mathematically, and there’s no important mathematical difference that would ever arise from working with this isomorphic copy instead of the original structure. And so, therefore, that’s another way of saying that the substance of individuals in a mathematical structure is irrelevant with regard to any mathematical property of that structure. And so… Joel David Hamkins (01:54:33): So to ask a question like, “What is the number four really?” is an anti-structuralist thing, because if you have a structure, say, the natural numbers, with all the numbers in it, 0, 1, 2, 3, 4, and so on, then I could replace the number four with something else, like, you know, this bottle of water could play the role of the number four in that structure, and it would be isomorphic. And it wouldn’t matter at all for any mathematical purpose to use this alternative mathematical system, you know? That’s to say that we don’t care what the number four is really. That is irrelevant. What… Joel David Hamkins (01:55:12): The only thing that matters is what are the properties of the number four in a given mathematical system, and recognizing that there are other isomorphic copies of that system, and the properties of that other system’s number four are going to be identical to the properties of this system’s number four with regard to any question that’s important about the number four. But those questions won’t be about essence. So in a sense, structuralism is anti-essential in mathematics. Lex Fridman (01:55:42): So is it fair to think of numbers as a kind of pointer to a deep underlying structure? Joel David Hamkins (01:55:48): Yeah, I think so, because I guess part of the point of structuralism is that it doesn’t make sense to consider mathematical objects or individuals in isolation. What’s interesting and important about mathematical objects is how they interact with each other and how they behave in a system, and so maybe one wants to think about the structural role that the objects play in a larger system, a larger structure. There’s a famous question that Frege had asked actually when he was looking into the nature of numbers, because in his logicist program, he was trying to reduce all of mathematics to logic. Joel David Hamkins (01:56:26): And in that process, he was referring to the Cantor-Hume principle that, whenever two sets are equinumerous, then they have the same number of elements, if and only if. And he founded his theory of number on this principle, but he recognized that there was something that dissatisfied him about that situation, which is that the Cantor-Hume principle does not seem to give you criteria for which things are numbers. It only tells you a kind of identity criteria for when are two numbers equal to each other. Well, two numbers are equal just in case the sets of those sizes are equinumerous, so that’s the criteria for number identity. But it is not a criteria for what is a number. Joel David Hamkins (01:57:12): And so this problem has become known as the Julius Caesar problem because Frege said we don’t seem to have any way of telling from the Hume principle whether Julius Caesar is a number or not. So he’s asking about the essence of number and whether… Of course, one has a sense that he picked maybe what he was trying to present as a ridiculous example… …Because maybe you have the idea that, well, obviously Julius Caesar is not a number, and there’s a lot of philosophical writing that seems to take that line also, that obviously the answer is that Julius Caesar is not a number. But the structuralists disagree with that position. The structuralist attitude is, “Look, you give me a number system. If Julius Caesar isn’t a number, then I can just… Joel David Hamkins (01:58:01): Let’s take the number 17 out of that system and plug in Julius Caesar for that role, and now I’ve got a new number system, and now Julius Caesar happens to be the number 17.” And that’s totally fine, you know. So the point of structuralism is that the question of whether Julius Caesar is a number or not is irrelevant to mathematics. It is irrelevant because it is not about structure, it’s about this essence of the mathematical objects. So that’s the structuralist criticism of Frege’s point. Lex Fridman (01:58:35): You’ve kind of made the case that you can say more concrete things about the existence of objects in mathematics than you can in our physical reality, about which to us human brains, things are obvious or not. So what’s more real, the reality we see with our eyes or the reality we can express in mathematical theorems? Joel David Hamkins (01:58:59): I’m not quite sure. I mean… I live entirely in the platonic realm, and I don’t really understand the physical universe at all. So I don’t have strong views. Lex Fridman (01:59:13): Let’s talk about the platonic realm. Is it… Like, because you live there, is it real? Or- Joel David Hamkins (01:59:19): Oh yeah, totally, yeah. This is the realist position in mathematics is that abstract objects have a real existence. And okay, what’s meant by that is that there’s some sense of existence in which those objects can be regarded as real. Lex Fridman (01:59:32): How should we think about that? How should we try to visualize that? What does it mean to live amongst abstract objects? Because life is finite. We’re all afraid of death. We fall in love with other physical manifestations of objects. And you’re telling me that maybe reality actually exists elsewhere, and this is all just a projection… Joel David Hamkins (01:59:59): Well, I mean- Lex Fridman (01:59:59): …from the abstract realm? Joel David Hamkins (02:00:02): Do abstract objects exist in a place and at a time? That’s very debatable, I think. Lex Fridman (02:00:07): Right. And what does place and time mean? Joel David Hamkins (02:00:08): All time, yeah, so… Lex Fridman (02:00:10): So what’s more real: physics or the mathematical Platonic space? Joel David Hamkins (02:00:16): Well, the mathematical Platonic realm is… I’m not sure I would say it’s more real, but I’m saying we understand the reality of it in a much deeper and more— …a more convincing way. I don’t think we understand the nature of physical reality very well at all, and I think most people aren’t even scratching the surface of the question as I intend to be asking it. So, you know, obviously we understand physical reality. I mean, I knock on the table— …and so on, and we know all about what it’s like to, you know, have a birthday party or to drink a martini or whatever. And so we have a deep understanding of existing in the physical world. But maybe understanding is the wrong word. We have an experience of living in the world— Lex Fridman (02:01:01): Yeah, experience. Joel David Hamkins (02:01:01): …and riding bicycles and all those things, but I don’t think we actually have an understanding at all, I mean, very, very little of the nature of physical existence. I think it’s a profound mystery. Whereas I think that we do have something a little better of an understanding of the nature of mathematical existence and abstract existence. So that’s how I would describe the point. Lex Fridman (02:01:26): Somehow it feels like we’re approaching some deep truth from different directions, and we just haven’t traveled as far in the physics world as we have in the mathematical world. Joel David Hamkins (02:01:41): Maybe I could hope that someone will give, you know, the convincing account, but it seems to be a profound mystery to me. I, I can’t even imagine what it would be like to give an account of physical existence. Lex Fridman (02:01:52): Yeah, I wonder, like a thousand years from now as physics progresses- … what this same conversation would look like. Joel David Hamkins (02:01:59): Right. That would be quite interesting. Lex Fridman (02:02:00): Do you think there’s breakthroughs a thousand years from now on the mathematics side? ‘Cause we’ve just discussed, and we’ll return to a lot of turmoil a century ago. Do you think there’s more turmoil to be had? Joel David Hamkins (02:02:14): It’s interesting to me because I have my feet in two worlds: mathematics and philosophy, and to compare the differences between these subjects. One of the big cultural differences is towards the idea of progress in the subject, because mathematics has huge progress. We simply understand the mathematical ideas much, much better, continually improving our understanding, and there’s growth in knowledge. We understand the nature of infinity now better than they did 100 years ago. I mean, definitely better. And they understood it better 100 years ago than they did, you know, for the previous thousands of years, and so on. Joel David Hamkins (02:02:57): So, in almost every part of mathematics, there’s improved understanding of the core issues, so much so that the questions at hand become totally different, and the field sort of moves on to more difficult, interesting questions. Whereas in philosophy, that’s a little bit true that there’s progress. But meanwhile, it’s also true that there are these eternal questions that have been with us for thousands of years, and in fact, so much so that you can find a lot of philosophers arguing the important contribution of philosophy is in asking the questions rather than answering them, because it’s hopeless to answer them. I mean, the nature of these deep philosophical questions is so difficult. Less of a sense of progress is what I’m trying to say. Joel David Hamkins (02:03:48): I don’t see any reason to think that the progress in mathematics, in the growth in our mathematical understanding and knowledge, won’t simply continue. And so, a thousand years from now, maybe the mathematics that they will be doing at that time would probably be completely unrecognizable to me. I maybe wouldn’t even begin to understand what they’re talking about, even without sort of witnessing the intervening developments. So if you bring someone from ancient times to today, they maybe wouldn’t even understand what we’re talking about with some of the questions. But I feel that, you know, if Archimedes came and we were able to communicate, I think I would be able to tell him about some of the things that are going on in mathematics now, and maybe, you know… Joel David Hamkins (02:04:43): Or anyone from that time, I mean. So I think it is possible to have this kind of progress, even when the subject kind of shifts away from the earlier concerns as a result of the progress, basically. Lex Fridman (02:04:57): To take a tangent on a tangent, since you mentioned philosophy, maybe potentially more about the questions, and maybe mathematics is about the answers, I have to say you are a legend on MathOverflow, which is like Stack Overflow but for math. You’re ranked number one all time on there with currently over 246,000 reputation points. How do you approach answering difficult questions on there? Joel David Hamkins (02:05:24): Well, MathOverflow has really been one of the great pleasures of my life. I’ve really enjoyed it. And I’ve learned so much from interacting on MathOverflow. I’ve been on there since 2009, which was shortly after it started. I mean, it wasn’t exactly at the start, but a little bit later. And I think it gives you the stats for how many characters I typed, and I don’t know how many million it is, but this enormous amount of time that I’ve spent thinking about those questions, and it has really just been amazing to me. Lex Fridman (02:06:06): How do you find the questions that grab you and how do you go about- … answering them? Joel David Hamkins (02:06:11): So, I’m interested in any question that I find interesting. So… And it’s not all questions. Sometimes certain kinds of questions just don’t appeal to me that much. Lex Fridman (02:06:21): So you go outside of set theory as well? Joel David Hamkins (02:06:23): When I first joined MathOverflow, I was basically one of the few people in logic who was answering. I mean, there were other people who know some logic, particularly from category theory and other parts of mathematics that aren’t in the most traditional parts of logic, but they were answering some of the logic questions. So I really found myself able to make a contribution in those very early days by engaging with the logic-related questions. But there weren’t many logic people asking questions either. But what I found was that there was an enormous amount of interest in topics that were logic-adjacent. Joel David Hamkins (02:07:04): So a question would arise, you know, in group theory, but it had a logic aspect or an analysis or whatever, and there would be some logic angle on it. And what I found was that I was often able to figure out an answer by learning enough about that other subject matter. This is what was so rewarding for me, is because basically I had to learn enough. My main expertise was logic, but someone would ask a question, you know, that was about, say, the axiom of choice in this other subject matter or the continuum hypothesis or something like that in the other subject matter. And I would have to learn enough about that other subject and the context of the question in order to answer, and I was often able to do that. And so I was quite happy to do that. Joel David Hamkins (02:07:50): And also I learned a lot by doing that, because I had to learn about these other problem areas. And so it really allowed me to grow enormously as a mathematician. Lex Fridman (02:08:01): To give some examples of questions you’ve answered: What are some reasonable sounding statements that are independent of ZFC? What are the most misleading alternate definitions in taught mathematics? Is the analysis as taught in universities in fact the analysis of definable numbers? Solutions to the continuum hypothesis? Most unintuitive application of the axiom of choice? Non-trivial theorems with trivial proofs? Reductio ad absurdum or the contrapositive? What is a chess piece mathematically? We should say you worked quite a bit on infinite chess, which we should definitely talk about. It’s awesome. You’ve worked on so many fascinating things. Has philosophy ever clarified mathematics? Why do we have two theorems when one implies the other? Lex Fridman (02:08:48): And, of course, just as an example, you’ve given a really great, almost historical answer on the topic of the continuum hypothesis. Maybe that’s a good place to go. We’ve touched on it a little bit, but it would be nice to lay out what is the continuum hypothesis that Cantor struggled with. And I would love to also speak to the psychology of his own life story, his own struggle with it. The human side of mathematics is also fascinating. So what is the continuum hypothesis? Joel David Hamkins (02:09:16): The continuum hypothesis is the question that arises so naturally whenever you prove that there’s more than one size of infinity. So Cantor proved that the infinity of the real numbers is strictly larger than the infinity of the natural numbers. But immediately when you prove that, one wants to know, “Well, is there anything in between?” I mean, what could be a more natural question to ask immediately after that? And so Cantor did ask it, and he spent his whole life thinking about this question. The continuum hypothesis is the assertion that there is no infinity in between the natural numbers and the real numbers. And, of course, Cantor knew many sets of real numbers. Everything in between… Joel David Hamkins (02:10:01): I mean, everything that’s in that interval would be equinumerous with some set of real numbers. But we know lots of sets of real numbers. I mean, there are all these various closed sets, Cantor sets, and so on. There’s Vitali set. We have all kinds of sets of real numbers. And so you might think, “Well, if the continuum hypothesis is false, then we’ve probably seen the set already. We just have to prove that it’s strictly in between.” But it turned out that for all the sets that anyone ever could define or pick out or observe, for all the sets of real numbers, it was always the case either that they were countable, in which case they’re equinumerous with the natural numbers or else finite, or they were fully equinumerous with the whole real line. Joel David Hamkins (02:10:44): And so they were never strictly in between. I mean, you’re in this situation and you have hundreds, thousands of sets that are candidates to be in between, but in every single case, you can prove it’s on one side or the other and not strictly in between. And so in every situation where you’re able to figure out whether it’s in between or not, it’s always never strictly in between. Lex Fridman (02:11:09): Now, Cantor was obsessed with this. Joel David Hamkins (02:11:11): I think he was. Yeah, I’m not a historian, so I don’t know the exact history. Lex Fridman (02:11:15): Well, everything I’ve seen, it seems to be the question that broke him, huh? I mean, just struggling with different opinions on the hypothesis within himself and- …desperately chasing, trying to prove it. Joel David Hamkins (02:11:29): So he had a program for proving it, which has been affirmed in a certain respect. Of course, the continuum hypothesis holds for open sets. That’s easy to see. If you have an open interval, then this is fully equinumerous with the whole real line. Any interval is equinumerous with the whole line because all you would need is a function, you know, like the arctangent function or something that maps the whole real line into an interval. And that’s a one-to-one function. So we know the open sets have the property that they’re non-trivial open sets are all fully equinumerous with the whole real line. So never strictly in between. But remarkably, Cantor proved it also for the closed sets, and that is using what’s called the Cantor-Bendixson theorem. Joel David Hamkins (02:12:15): So it’s quite a remarkable result. It’s definitely not obvious. And this theorem actually was the origin of the ordinals. Cantor had to invent the ordinals in order to make sense of his Cantor-Bendixson process. Lex Fridman (02:12:31): Can you define the open and the closed set in this context? Joel David Hamkins (02:12:34): Oh, yeah. Sure. So a set of reals is open if every point that it contains is surrounded by a little interval of points, the whole tiny little interval. But that tiny little interval is already just by itself equinumerous with the whole line. So that’s why that question is sort of easy for open sets. A closed set is a complement of an open set, and there are a lot of closed sets that are really complicated, of varying sizes. So of course, any closed interval is a closed set, but it’s not only those. There are also things like the Cantor set, which you get by omitting middle thirds. Maybe some people have seen this construction. Or you can imagine sort of randomly taking a lot of little tiny open intervals, you know, all over the line and so on. Joel David Hamkins (02:13:18): So that altogether would be an open set, and the complement of it would be a closed set. So you can imagine just kind of tossing down these open intervals, and what’s left over is the closed set. Those sets can be quite complicated, and they can have isolated points, for example, if the two open intervals were just kissing and leaving only the one point between them. But also you could have sequences that are converging to a point that would also be a closed set, or convergent sequences of convergent sequences and so on. That would be a closed set also. Lex Fridman (02:13:50): The Cantor set is constructed by iteratively removing open intervals, middle thirds, like you mentioned, from the interval, and trying to see can we do a thing that- that goes in between? Joel David Hamkins (02:14:00): Right. So the question would be, “Can you produce a set that has an intermediate size-” …an intermediate cardinality, right?” And Cantor proved with the closed set, “No, it’s impossible. Every closed set is either countable or equinumerous with the whole real line.” Joel David Hamkins (02:14:18): And what the Cantor program for solving the continuum hypothesis was, was a sort of working up. So you did it for open sets and for closed sets, and you sort of work up. Maybe he wants to go into what are called the Borel sets, which are sort of combinations of open and closed sets. And there’s a vast hierarchy of Borel complexity. And it turns out that the continuum hypothesis has been proved also for the Borel sets in this hierarchy. And, but then one wants to go beyond. What about more complicated sets? So there’s this hierarchy of complexity for sets of real numbers. Joel David Hamkins (02:14:53): And Cantor’s idea was to sort of work your way up the hierarchy by proving that the continuum hypothesis was more and more true for those more and more complicated sets, based on our understanding of the earlier cases. And that has been carried out to a remarkable degree. It turns out that one needs, one begins to need large cardinal assumptions though in order to get to the higher realms, even at the level of projective hierarchy, which are sets that you can define by using quantifiers over the real numbers themselves. So you get this hierarchy on top of the Borel hierarchy, the hierarchy of projectively definable sets. Joel David Hamkins (02:15:35): And it turns out that if you have enough large cardinals, then the projective sets also are always either countable or equinumerous with the whole real line. And then one can try to go beyond this and so on. So I view all of those results, which came, you know, in the past 50 years, the later ones, as fulfilling this Cantor idea that goes back, you know, 120 years to his idea that we would prove the continuum hypothesis by establishing more and more instances for greater and greater complexity of sets. But of course, even with what we know now, it hasn’t fully succeeded and it can’t because the hierarchy of complexity doesn’t include all sets of real numbers. Some of them are sort of transcending this hierarchy completely in a way. Joel David Hamkins (02:16:27): And so the program can’t ever fully be successful, especially in light of the independence result. Lex Fridman (02:16:34): Yeah. Well, spoiler alert, can you go to the independence result? Joel David Hamkins (02:16:38): Sure. Lex Fridman (02:16:39): So what does that mean? So the continuum hypothesis was shown to be independent from the ZFC axioms of mathematics? Joel David Hamkins (02:16:46): Right. So the ZFC axioms were the axioms that were put forth first by Zermelo in 1908 in regard to his proof of the well-order theorem using the axiom of choice. That wasn’t fully ZFC. At that time, it was just Zermelo theory because he sort of… There was a kind of missing axiom, the replacement axiom and the foundation axiom were added later, and that’s what makes the Zermelo-Fraenkel axiomatization, which became sort of standard. Actually, there’s another aspect, which is Zermelo’s original theory allowed for the existence of ur-elements, or these atoms, mathematical objects that are not sets but out of which we build the set theoretic universe, whereas set theorists today generally don’t use ur-elements at all. Joel David Hamkins (02:17:34): I argue that it’s really the philosophy of structuralism that leads them to omit the ur-elements because it turns out that if you adopt ZFC axioms with ur-elements, ZFCU it’s called, or ZFA, then any structure that exists, any mathematical structure that exists in that set theoretic universe with the atoms is isomorphic to a structure that doesn’t use the atoms at all. And you don’t need the atoms if you’re a structuralist because you only care about the structures up to isomorphism anyway, and the theory is simply more elegant and clear without the atoms. They’re just not needed. And so that’s why today when we talk about set theory, generally we talk about the atom-free version, and ZFC has no ur-elements. Okay. So we formulate the ZFC axioms of set theory. Joel David Hamkins (02:18:26): These are expressing the main principle ideas that we have about the nature of sets and set existence. And Cantor had asked about the continuum hypothesis in the late 19th century, and it remained open, totally open until 1938. Lex Fridman (02:18:50): We should mention, I apologize, that it was the number one problem in the Hilbert’s 23 set of problems formulated at the beginning of the century. Joel David Hamkins (02:18:59): That’s right. Lex Fridman (02:18:59): Maybe you can comment on why he put that as number one. Joel David Hamkins (02:19:02): So, right. So Hilbert had introduced at his famous address at the turn of the century this list of problems that he thought could guide or were important to consider in the coming century of mathematics. I mean, that’s how people talk about it now, although I’m not sure at all… Of course, I can’t really speak for Hilbert at all, but if you were a very prominent mathematician, I find it a little hard to believe that Hilbert would have conceived of his list in the same way that we now take his lists. I mean, having observed the century unfold, we know that that list of 23 problems did in fact guide whole research programs, and it was extremely important and influential. Joel David Hamkins (02:19:46): But at the time, Hilbert would have no reason to think that that would be true, and he was just giving a lecture and had a list of problems that he thought were very important. And so I would find it more reasonable to think that he was just making a list of problems that he thought were extremely interesting and important and fundamental in a way without the heavy burden of guiding this 20th century research. Although it turns out that, in fact, that’s exactly what they did. Joel David Hamkins (02:20:18): And we already discussed Hilbert’s views on the nature of set theory and the fundamental character, that quote where he said, “No one will cast us from the paradise that Cantor has created for us.” So I think Hilbert was convinced by Cantor on the importance and the fundamental nature of the continuum hypothesis for the foundations of mathematics, which was a critically important development for the unity of mathematics. I mean, before set theory emerged as a foundation of mathematics, there were… you know, there are different subjects in mathematics. There’s algebra and there’s analysis, real analysis, and topology and geometry, and so on. There’s all these disparate subjects with their own separate axioms, right? Joel David Hamkins (02:21:03): And, but sometimes it happens, like when you’re proving, say, the fundamental theorem of algebra, you know, that the complex numbers are an algebraically closed field that you can solve any polynomial equation in. But the proof methods for that theorem come from other parts of mathematics, you know, those topological proofs and so on. And so how does that work? I mean, if you have totally different axiom systems, but you’re using results from one subject in another subject, it’s somehow incoherent unless there’s one underlying subject. So the unity of mathematics was provided by the existence of a mathematical foundation like set theory. And at the time, it was set theory. Joel David Hamkins (02:21:47): And so it’s critically important to be able to have a single theory in which one views all of mathematics as taking place to resolve that kind of transfer and borrowing phenomenon that was definitely happening. So that must have been part of Hilbert’s thinking about why it’s so important to have a uniform foundation, and set theory was playing that role at the time. Now, of course, we have other possible foundations coming from category theory or type theory, and there’s univalent foundations now. So there are competing foundations now. There’s no need to just use one set theoretic foundation. Joel David Hamkins (02:22:25): Although set theory continues to, in my view, have an extremely successful metamathematical analysis as a foundation, I think is much more successful than set theory for any of those other foundations, but it’s much less amenable to things like computer proof and so on, which is part of the motivation to find these alternative foundations. So, yeah, just to talk about Hilbert, I think he was motivated by the need for unifying foundation of mathematics and set theory was playing that role, and the continuum hypothesis is such a core fundamental question to ask, so it seems quite natural that he would put it on the list. There were other logic-related questions, though, like Hilbert’s tenth problem is also related to logic. Joel David Hamkins (02:23:08): This is the question about Diophantine equations, and he asked to provide an algorithm to decide whether a given Diophantine equation has a solution in the integers. So a Diophantine equation is just… I mean, it’s a, maybe a fancy way of talking about something that’s easy to understand, a polynomial equation, except it’s not just one variable, many variables. So you have polynomials in several variables over the integers, and you want to know, can you solve it? So the problem is, as stated by Hilbert, provide an algorithm for answering the question whether a given polynomial equation has a solution in the integers. So he’s sort of presuming that there is an algorithm, but he wants to know what it is. What is the algorithm? Joel David Hamkins (02:23:55): But the problem was solved by proving that there is no algorithm. It’s an undecidable problem, like the halting problem. There is no computable procedure that will correctly decide whether a given polynomial equation has a solution in the integers. So that’s quite a remarkable development, I think. So there were also a few other logic-related questions on the list. Lex Fridman (02:24:20): And so eventually, the continuum hypothesis was shown to be independent from ZFC axioms, as we’ve mentioned. So what… How does that make you feel? What is independence and what does that mean? Joel David Hamkins (02:24:30): But once you tell the story, the historical story- Lex Fridman (02:24:32): Yes Joel David Hamkins (02:24:32): … is really quite dramatic- Lex Fridman (02:24:34): Yeah, that’s great Joel David Hamkins (02:24:34): I think. Because Cantor poses the question in the late 19th century. And then it’s totally open. Hilbert asks about it, you know, at the turn of the 20th century. Nobody has any clue. There’s no answer coming. Until 1938, this is four decades later, right? So a long time, and Godel, Kurt Godel proved half of it. What he proved is that if the axioms of set theory are consistent, then there is a set theoretic world where both the axiom of choice and the continuum hypothesis are true. So what he’s doing is showing, this is called the constructible universe, Godel’s L. So he solved this… this is the same result where he answers the safety question of the axiom of choice, but also for the continuum hypothesis. They’re true in the same set theoretic universe we get. Joel David Hamkins (02:25:38): So if ZF, without the axiom of choice, is consistent, then so is ZFC plus the continuum hypothesis is the result, 1938. It’s such a beautiful argument. It’s just incredible, I think, because he’s building an alternative mathematical reality. That’s the structure of the proof is that, okay, if there’s any mathematical reality, if there’s any set theoretic world, then we’re going to build another one, a separate one, a different one, maybe different. Maybe it’s the same as the original one. It could be. If we started already in the one that he built, then it would be the same. But there’s no reason to assume it was the same. Joel David Hamkins (02:26:15): So he has this kind of model construction method to build this alternative set theoretic reality, the constructible universe, and then he proves that the axiom of choice is true there and also the continuum hypothesis is true there, and it’s just amazing. Really beautiful argument. Okay, so then for the other part of the independence, that’s only half of it, because Godel shows basically that you can’t refute the continuum hypothesis, but that’s not the same thing as proving that it’s true. He showed that if set theory is consistent without the continuing hypothesis, then it’s consistent with the continuing hypothesis. So that’s not the same thing as proving that it’s true. Yeah. Joel David Hamkins (02:26:59): And then it didn’t come until 1963 when Paul Cohen invented the method of forcing and proved that if there’s a model of set theory, then there’s a model of set theory in which the continuum hypothesis is false. So Cohen also is giving us this extremely powerful tool for building alternative mathematical realities, is how I think about it. He’s explained to us how to take any set theoretic world and build another different one in which the continuum hypothesis is false. The forcing extension. Lex Fridman (02:27:37): It’s such a fascinating technique, a tool of forcing. Maybe I’m anthropomorphizing it, but it seems like a way to escape one mathematical universe into another, or to expand it or to alter it. So you travel between mathematical universes. Can you explain the technique of forcing? Joel David Hamkins (02:27:57): Yeah, exactly. It’s all those things. It’s so wonderful. I mean, that’s exactly how I think about it. I mean… Lex Fridman (02:28:03): And we should mention, maybe this is a good place to even give a bigger picture. One of your more controversial ideas in mathematics, as laid out in the paper, “The Set-Theoretic Multiverse,” you describe that there may not be one true mathematics, but rather multiple mathematical universes, and forcing is one of the techniques that gets you from one to the other, so… Can you explain the whole shebang? The whole… Joel David Hamkins (02:28:27): Yeah, sure, let’s get into it. So the lesson of Cohen’s result and Gödel’s result and so on, these producing these alternative set theoretic universes. We’ve observed that the continuum hypothesis is independent and the axiom of choice is independent of the other axioms, but it’s not just those two. We have thousands of independence results. Practically every non-trivial statement of infinite combinatorics is independent of ZFC. I mean, this is the fact. It’s not universally true. There are some extremely difficult prominent results where people proved things in ZFC, but for the most part, if you ask a non-trivial question about infinite cardinalities, then it’s very likely to be independent of ZFC. Joel David Hamkins (02:29:15): And we have these thousands of arguments, these forcing arguments that are used to establish that. And so how should we take that? I mean, on the one hand, if you have a theory and it doesn’t answer any of the questions that you’re interested in, okay, so what does that mean? If you’re following what I call the universe view or the monist view, you might naturally say, “Well, look, ZFC is a weak theory, and there’s the true set theoretic reality out there, and we need a better theory because the current theory isn’t answering the questions. Everything’s independent.” And so that seems like a quite reasonable thing to take if you think that there is… Joel David Hamkins (02:29:59): that every set theoretic question has a definite answer, and there’s a unique set theoretic truth or a unique fact of the matter, right? This is the universe view. Lex Fridman (02:30:09): And by the way, to reiterate, independent means it cannot be proved or disproved within this axiomatic system, within this theory. Joel David Hamkins (02:30:16): Right, exactly. So to be independent means you can’t prove it, and also you can’t prove that it’s false. You can’t refute it. Lex Fridman (02:30:22): And you’re saying that’s why the statement is so traumatic or sad, that most of the interesting stuff, as you said, has been shown to be independent. Of ZFC. Joel David Hamkins (02:30:31): But that’s an interesting way to put it, I think, because it reminds me of this… When I was a graduate student in Berkeley, there was another graduate student who was working with a non-logic professor in C*-algebras or something like this. So it’s a part of analysis or functional analysis, and they were looking at a question, and it turned out to be independent of ZFC, right? And the attitude of this other professor was that, “Oh, I guess I asked the wrong question.” But my attitude and the attitude of all the set theorists was when you ask a question that turns out to be independent, then you asked exactly the right question because this is the one… You know, it’s carving nature at its joints. Joel David Hamkins (02:31:18): You’re adjudicating the nature of set theoretic reality by finding these two realms. You find one of these dichotomies. You know, there are the worlds where it’s true and the worlds where it’s false. And so when you ask that question, that’s to be celebrated. It means you asked exactly the right, interesting, fascinating question. So it’s not a kind of bleak thing that you can’t prove it and you can’t refute it, and that’s such a disaster. Rather, it means that you found this cleavage in mathematical reality, and it’s good to know about those when they happen, you know? Lex Fridman (02:31:52): Carving nature at its joints. So what can you do about the things that are shown to be independent from ZFC? Joel David Hamkins (02:32:00): Right. So… Lex Fridman (02:32:00): What are the techniques? Joel David Hamkins (02:32:01): So one thing is that because of the incompleteness theorem, we know that there’s going to be… For any theory that we can write down, there’s going to be true things we can’t prove in it. So those things are going to be independent. And so we’re already aware of the fact that there will always be these independent phenomena for any theory that we write. And furthermore, some of those theories we won’t even be able to prove that they’re consistent, you know, like the consistency of their own theory. So that’s called the consistency-strength hierarchy. Joel David Hamkins (02:32:37): So it’s a direct consequence of Gödel’s second incompleteness theorem that for any theory we can write down, then towering over it is this incredibly tall tower of consistency strength, where the strength in theories aren’t just adding another axiom, but they’re adding another axiom even whose consistency was not provable in the previous layers of the hierarchy. And so how lucky we are to find the large cardinal axioms that instantiate exactly this feature of increasing consistency strength, this unending and extremely tall hierarchy of consistency strength of axioms. And it exactly fulfills the prediction that Gödel’s theorem makes about that kind of thing. Joel David Hamkins (02:33:28): Except, the axioms in the large cardinal hierarchy aren’t, you know, metalogical self-referential statements of the form that sometimes arise in the Gödel analysis, but rather they’re professing existence of big infinities, these large cardinal axioms. And so it’s such a welcome development, and yet it’s also known that the continuum hypothesis is independent of all of the known large cardinal axioms. So none of the large cardinal axioms can settle the continuum hypothesis. So the independence phenomenon is still there for things like the continuum hypothesis and the cardinal combinatorics that I mentioned. Lex Fridman (02:34:17): So you’re building this incredible hierarchy of axiomatic systems that are more powerful than ZFC. Joel David Hamkins (02:34:24): More powerful than ZFC and then more powerful than that, more powerful than that, and so on. It keeps going forever, and it will never be finished. Lex Fridman (02:34:32): And still, to this day, the continuum hypothesis does not… Joel David Hamkins (02:34:36): It’s not settled by any of the large cardinal axioms. Lex Fridman (02:34:39): Wow. Wow. How does that make you feel? Will it ever be settled? Joel David Hamkins (02:34:47): Well, it’s part of my multiverse view, I guess. We started by describing the universe view, which is the view that there are facts about all of these questions, and it will turn out—if you’re a universe view person, which I’m not, but if you are—then you will hold that there is a right answer to the continuum hypothesis question, and there’s a right answer to the large cardinal questions, and so on. And that what we should be aiming to do is figure out this one true set theory. In contrast, I take the developments of set theory over the past half-century or more as evidence that there isn’t such a unique set-theoretic reality. Joel David Hamkins (02:35:33): Rather, what we’ve been doing for decades now is producing more and more alternative set-theoretic universes in which the fundamental truths differ from one to the other. And that is the answer to the continuum hypothesis question: the fact that given any model of set theory, there’s a forcing extension where the continuum hypothesis is true, and another one where it’s false. You can sort of turn it on and off like a light switch. And that’s the fundamental nature of the continuum hypothesis, that you can have it or you can have the negation as you like within a very closely related set-theoretic world. Wherever you happen to be living, there’s a closely related one where CH is true, where the continuum hypothesis is true, and one where it’s false. Joel David Hamkins (02:36:23): And that itself is a kind of answer. It’s not a singularist answer, a universe view answer. It’s a pluralist answer. And this led me to my views on the multiverse view of set theory and pluralist truth, namely the fundamental nature of set-theoretic truth has this plural character in that there isn’t a singular meaning to the fundamental terms, but rather there’s this choice of alternative set-theoretic universes that have different truths. Lex Fridman (02:36:55): So what does the multiverse view of mathematics enable you to do? What does it empower you to do, and what are the limitations? What are the things it breaks about mathematics as a field, as a space of knowledge, and what does it enable? Joel David Hamkins (02:37:10): First of all, I guess one should say that these different philosophical positions that you might take in the philosophy of set theory, like the multiverse view or the universe view, we don’t ever disagree about the mathematics. We’re all agreeing on what the theorems are. It’s a question of philosophical perspective on the underlying meaning or the context, or really what is a philosophy of mathematics for? And I mean, if you look back in history, for example, to the time of calculus with Newton and Leibniz, right? Joel David Hamkins (02:37:44): They famously developed the ideas of calculus using their concepts of infinitesimals, and those foundations were roundly mocked by Bishop Berkeley and so on, who talked about, you know, “What are these same evanescent increments? And shall we not call them the ghosts of departed quantities?” But the foundations really were kind of completely suspect, I think, at the time. And the foundations of infinitesimal calculus really only became rigorous in the 1950s or so with the development of non-standard analysis and Robinson’s work. Okay, so the point I’m trying to make is that, do you need a robust, rigorous foundation of mathematics to make enduring insights in mathematics? Joel David Hamkins (02:38:34): And the answer, regrettably, is apparently not because in calculus, even with that lousy, creaky foundation of infinitesimals not even well understood that Newton and Leibniz had, they proved all the fundamental theorems of calculus and, you know, they had all the main insights in those early days with that extremely bad foundation. And so that shows you something about the relevance of the kind of foundational views on mathematics and how important they are for mathematical developments and progress and insight. I mean, because I view those early mathematical developments in calculus as genuinely mathematical and extremely important and insightful, even though the foundations weren’t any good by contemporary perspectives. Okay. So, rather… Joel David Hamkins (02:39:32): So when it comes to the philosophy of set theory and the dispute between the universe view and pluralism, my view is that the choice of the philosophical perspective doesn’t actually have to do with the mathematical developments directly at all. Rather, it tells us, “Where should set theory go? What kind of set theory should we be looking at? What kind of questions should we be asking?” So if you have a universe mentality, the universe view, then you’re going to be pushed to try to find and articulate the nature of the one true set-theoretic universe. And I think that remark is really well borne out by the developments with Hugh Woodin, who’s one of the most prominent mathematicians and philosophers with the universe view and his theory of ultimate L and so on. And he’s really striving. Lex Fridman (02:40:26): Who was also your advisor. Joel David Hamkins (02:40:28): He was also my supervisor, yeah, my graduate supervisor. Lex Fridman (02:40:30): Which is a personal story as well. Joel David Hamkins (02:40:32): This fundamental dispute, yeah, on this question. But he is a very strong and successful research program, sort of trying to give legs to finding the nature of the one true set-theoretic universe. And it’s driving the questions that he’s asking and the mathematical programs that he’s pursuing. Whereas if you have a pluralist view, as I do, then you’re going to be led and attracted to questions that have to do with the interaction of different set-theoretic universes, or maybe you want to understand the nature of how are the models of set theory related to their forcing extensions and so on. And so this led to things that I call, say, set-theoretic potentialism, where you think about a set-theoretic universe in a potentialist way. Joel David Hamkins (02:41:21): Not in the sense of potential infinity directly, because all of these universes have infinite sets inside them already, but they’re potentialist in the sense that we could have more sets. The universe could be wider and taller and so on, by forcing or by extending upward. And so we want to understand the nature of this realm of set-theoretic universes. And that’s quite some exciting work. And so with Benedikt Loewe and I, we proved some theorems on the modal logic of forcing and set-theoretic potentialism under end extension. I’ve done a bunch of work on this topic. And also I mounted, together with Gunter Fuchs and Jonas Riets, who was one of my own PhD students, the topic of set-theoretic geology, which is studying… Joel David Hamkins (02:42:11): It’s taking the metaphor of forcing. I mean, in forcing, you have the ground model and the forcing extension. And when I was first working with Jonas, he said, “I want to undo forcing. I want to go backward.” And I at first said, “But Jonas, it doesn’t work that way. You start in the model, in the ground model, and you go out, you go to the bigger one. You know, that’s how forcing works.” And he said, “No, no, I want to go backward.” And so he was quite persistent, actually. And so finally, I said, “Okay, let’s do it.” Let’s take it seriously.” And so we sat down and started thinking more precisely and carefully and deeply about the nature of taking a set-theoretic universe and seeing where did it come from by forcing, which was a new way of thinking about forcing at the time. Lex Fridman (02:42:58): Like reverse-engineering the forcing? Joel David Hamkins (02:43:00): Yeah, something like that. Forcing is a way of producing a new universe. And so you could start somewhere and go to that new universe, or you could look where you are and say, “Well, look, I got here by doing that already in the past.” Joel David Hamkins (02:43:12): So we defined models of the bedrock model and ground, sort of undoing the forcing. And really, it was quite fruitful. And I view this as part of the pluralist perspective, except the difference is that set-theoretic geology is amenable to the universe view. So even though the work was inspired by this philosophical view on the multiverse view, nevertheless, the central ideas of geology have now been picked up by the people with the research program in the universe view, because it turns out that set-theoretic geology is helping them or us to discover the nature of the one true universe relates to its mantle. There’s this concept of the set-theoretic mantle that I had introduced in a way that is extremely interesting. Joel David Hamkins (02:44:01): And so it’s historically quite funny, I think, because this research program that grew entirely out of the pluralist point of view ended up being picked up by the universe point of view research program in a way that is quite important. Lex Fridman (02:44:20): Can you prove something in the world that you arrived at through forcing and then take some of that back to the ground model? Joel David Hamkins (02:44:30): Yeah, absolutely. And that’s a really powerful argument method, actually. People often want to do that. Suppose you’re in some set-theoretic context. You know, you could think about it as living in a set-theoretic universe, and you want to prove something in that universe only. But maybe one way to do it is to first construct this forcing extension and then use the features about this forcing extension to realize that certain things must have already been true in the ground model. And then you throw the forcing extensions away and you- Lex Fridman (02:45:01): Oh, cool Joel David Hamkins (02:45:01): Yeah. So this can happen. To pick a more elementary example, if you think about the early days of people reasoning with the complex numbers before they really understood them. So they would have these algebraic equations that they’re trying to solve. They would have the tools and methods of doing it, but then in the course of, you know, they would have to do things to the polynomial and change the factors and so on, and produce other polynomials and solve them and so on. Sometimes, they could produce solutions. In the middle of their construction, they were led to, like, the square root of minus five or something in the construction. And they didn’t have any meaning for that, but they would just do it symbolically, you know. Joel David Hamkins (02:45:48): And eventually, it would turn out, because of the methods that they had, they would combine and they would cancel and so on, and all the complex parts would cancel out and they’d end up with this actual answer, you know, three plus square root of 17 or whatever. And they could check it and it worked. It was a solution of the original equation. And so it must have been bewildering to them because they would start with this question purely in the real numbers, an algebraic question, and they would march on their method and proceed through the land of nonsense, you know, with these square roots of negative numbers and then end up with an answer that was real again that they could verify was correct. Joel David Hamkins (02:46:29): And so I view this kind of forcing argument that I was just describing in a similar way. You start in set theory and you go to this land of nonsense in the forcing extension, this imaginary world. And you argue and you come back. I mean, you make a consequence in the ground model, and it’s such a beautiful way of arguing. Lex Fridman (02:46:47): So speaking of the land of nonsense, I have to ask you about surreal numbers, but first, I need another bathroom break. All right, we’re back, and there’s this aforementioned wonderful blog post on the surreal numbers and that there’s quite a simple surreal number generation process that can basically construct all numbers. So maybe this is a good spot to ask what are surreal numbers and what is the way we can generate all numbers? Joel David Hamkins (02:47:20): So the surreal number system is an amazing, an amazingly beautiful mathematical system that was introduced by John Conway. Lex Fridman (02:47:30): Rest in peace, one of the great mathematicians ever on this earth. Joel David Hamkins (02:47:33): Yes, absolutely. And I really admire his style of mathematical thinking and working in mathematics and the surreal number system is a good instance of this. So the way I think about the surreal numbers system is what it’s doing is providing us a number system that unifies all the other number systems. So it extends the real numbers. Well, not only does it extend the integers, the natural numbers, the rational numbers, and the real numbers, but also the ordinals and the infinitesimals. So they’re all sitting there inside the surreal numbers, and it’s this colossal system of numbers. It’s not a set even. It’s a proper class, it turns out, because it contains all the ordinal numbers. Joel David Hamkins (02:48:19): But it’s generated from nothing by a single rule, and the rule is, so we’re going to generate the numbers in stages, in a transfinite sequence of stages. And at every stage, we take the numbers that we have so far and in all possible ways, we divide them into two sets, a lower set and an upper set, or a left set and a right set. So we divide them into these two sets so that everything in the left set is less than everything in the right set, and then at that moment, we create a new number that fits in the gap between L and R. Okay? That’s it. That’s all we do. So let me say it again. Joel David Hamkins (02:49:05): The rule is we proceed in stages, and at any stage, in all possible ways, we divide the numbers we have into two collections, the left set and the right set, so that everything in the left set is less than everything in the right set. And we create a new number, a new surreal number that will fit in that gap. Okay. So for example, we could start… Well, at the beginning, we don’t have any numbers. We haven’t created anything yet, and so, we could take nothing and we could divide it into two sets, the empty lower set and the empty upper set. I mean, the two empty sets. And everything in the empty set is less than everything in the empty set because that’s a vacuous statement. Joel David Hamkins (02:49:48): So we’re, we satisfy the conditions and we apply the number generation rule, which says we should create a new number. And this is what I call the big bang of numbers, the surreal genesis when the number zero is born. Zero is the firstborn number that is bigger than everything in the empty set and less than everything in the empty set. Okay, but now we have this number zero, and so therefore, we now can define new gaps. Because if we put zero into the left set and have an empty right set, then we should create a new number that’s bigger than zero and less than everything in the empty set, and that number is called the number one. Joel David Hamkins (02:50:30): And similarly, at that same stage, we could have put zero into the right set, and so that would be the firstborn number that’s less than zero, which is called minus one. So now we have three numbers, minus one, zero, and one, and they have four gaps because there could be a number below minus one or between minus one and zero or between zero and one or above one, and so we create those four new numbers. The first number above one is called two. The first number between zero and one is called 1/2, and then on the negative side, we have minus 1/2 and minus two and so on. So now we have, what is that, seven numbers. So there’s eight gaps between them. Joel David Hamkins (02:51:10): So at the next birthday, they call them, the next stage will be born all the numbers between those gaps, and then between those and between those and so on. And as the days progress, we get more and more numbers. But those are just the finite birthdays, because as I said, it’s a transfinite process. So at day omega, that’s the first infinite day, we’re going to create a lot of new surreal numbers. So every real number will be born at that stage, because every real number fills a gap in the previously born rational numbers that we had just talked about. It’s not all the rationals, because actually the rational numbers that are born at the finite stages are just the rationals whose denominator is a power of two, it turns out. Those are called the dyadic rationals. Joel David Hamkins (02:51:57): So the real numbers are all born on day omega, but also some other numbers are born on day omega. Namely, the ordinal omega itself is the firstborn number that’s bigger than all those finite numbers, and minus omega is the firstborn number that’s less than all those finite numbers. But also, we have the number epsilon, which is the firstborn number that’s strictly bigger than zero and strictly less than all the positive rational numbers. So that’s going to be an infinitesimal number in that gap, and so on. On day omega plus one, we get more numbers, and then omega plus two and so on. And the numbers just keep coming forever. So, this is how you build the surreal number system. Joel David Hamkins (02:52:39): And then it turns out you can define the arithmetic operations of addition and multiplication in a natural way that is engaging with this recursive definition. So we have sort of recursive definitions of plus and times for the surreal numbers. And it turns out you can prove that they make the surreal numbers into what’s called an ordered field. So they satisfy the field axioms, which means that you have distributivity and commutativity of addition and multiplication, and also you have reciprocals for every non-zero number. You can divide by the number. So you can add and multiply and divide and subtract. And furthermore, you can take square roots. Joel David Hamkins (02:53:21): And furthermore, every odd degree polynomial has a root, which is true in the real numbers, because if you think about, say, a cubic or a fifth degree polynomial, then you know it’s going to cross the axis, because it has opposite behaviors on the two infinities, because it’s an odd degree polynomial. So on the positive side, it’s going to the positive infinity. On the negative side, it would be going to minus infinity. So it has to cross. So we know in the real numbers, every odd degree polynomial has a root. And that’s also true in the surreal numbers. So that makes it what’s called a real closed field which is a very nice mathematical theory. So it’s really quite interesting how we can find copies of all these other number systems inside the surreal numbers. Lex Fridman (02:54:09): But the surreal numbers are fundamentally discontinuous as you’re worried about. What are the consequences of this? Joel David Hamkins (02:54:14): Right. So the surreal numbers have a property that they form a non-standard model of the real field, which means that they provide a notion of infinitesimality that one can use to develop calculus on the grounds of Robinson’s non-standard theory that I had mentioned earlier. But they don’t have the least upper bound property for subcollections. There’s no set of surreal numbers, no non-trivial set of surreal numbers has at least upper bound, and there are no convergent sequences in the surreal numbers. And so for the sort of ordinary use in calculus based on limits and convergence, that method does not work in the surreal numbers at all. So that’s what I mean when I say the surreal numbers are fundamentally discontinuous. They have a fundamental discontinuity going on. Joel David Hamkins (02:55:07): But you can still do calculus with them, because you have infinitesimals if you use these non-standard methods, the infinitesimal based methods to calculus. And people do that. I once organized a conference in New York, and we had John Conway as a speaker at that conference. And there was a question session, and someone asked him, I mean, it’s a bit of a rude question, I think, but they asked it and the question was, “What is your greatest disappointment in life?” I mean, I would never ask a question like that at a conference in a very public setting. Joel David Hamkins (02:55:41): But Conway was extremely graceful and he answered by saying that, “The surreal numbers…” Not the numbers themselves, but the reception of the surreal numbers, because he had ambition that the surreal numbers would become a fundamental number system used throughout mathematics and science, because it was able to do non-set analysis, it was able to do calculus, it unified the ordinals and so on. And it’s such a unifying, amazing structure, beautiful structure with elegant proofs and sophisticated ideas all around it. And he was disappointed that it never really achieved that unifying status that he had the ambition for. And this, he mentioned as his greatest disappointment. Lex Fridman (02:56:32): Yeah, Donald Knuth tried to celebrate it, but it never quite took hold. Joel David Hamkins (02:56:36): So I don’t want to give the impression, though, that the surreal numbers are not widely studied, because there are thousands of people who are… Lex Fridman (02:56:41): Sure Joel David Hamkins (02:56:42): …studying it. In fact, Philip Ehrlich, who is one of the world experts on the surreal numbers, mentioned to me once that Conway was his own worst enemy with regard to that very issue because in the Conway style, everything is a game. And he treated the surreal numbers as a kind of plaything, a toy, and maybe that makes people not take it seriously. Although my view is that it is extremely serious and useful and profound, and I’ve been writing a whole series of essays on the surreal numbers for my Substack at Infinitely More. And I just find the whole subject so fascinating and beautiful. I mean, it’s true. I’m not applying it in engineering, which maybe was part of this Conway ambition. Lex Fridman (02:57:30): And I just wanted to, before I forget, mention Conway turning everything into a game. It is a fascinating point that I didn’t quite think about, which I think the Game of Life is just an example of exploration of cellular automata. I think cellular automata is one of the most incredible, complicated, fascinating… It feels like an open door into a world we have not quite yet explored. And it’s such a beautiful illustration of that world, the Game of Life, but calling it a game… Maybe life balances it, because that’s your powerful word, but it’s not quite a game. It’s a fascinating invitation to an incredibly complicated and fascinating mathematical world. Lex Fridman (02:58:09): I think every time I see cellular automata and the fact that we don’t quite have mathematical tools to make sense of that world, it fills me with awe. Speaking of a thousand years from now, it feels like that is a world we might make some progress on. Joel David Hamkins (02:58:23): The Game of Life is a sort of playground for computably undecidable questions because, in fact, you can prove that the question of whether a given cell will ever become alive is computably undecidable. In other words… Lex Fridman (02:58:39): Yeah Joel David Hamkins (02:58:39): …given a configuration, and you ask, “Will this particular cell ever, you know, be alive—” …in the evolution?” And you can prove that that question is equivalent to the halting problem. It’s computably undecidable. It’s semi-decidable in the sense that if it will become alive, then you will know it at a finite stage because you could just run the Game of Life algorithm and let it run. And if it ever did come alive, you could say, “Yeah, it was alive.” But if you’ve run it for a thousand years and it hasn’t come alive yet, then you don’t necessarily seem to have any basis for saying, “No, it won’t ever come alive,” if the behavior was very complicated. Joel David Hamkins (02:59:18): Maybe if you have a complete understanding of the evolution of the behavior, then you can say no, but you can prove you won’t always have that understanding— …precisely because the problem is equivalent to the halting problem. Lex Fridman (02:59:28): And nevertheless, when you sit back and look and visualize the thing, some little mini cellular automata civilizations are born and die quickly, and some are very predictable and boring, but some have this rich, incredible complexity. And maybe that speaks to a thing I wanted to ask on the halting problem and decidability. You’ve mentioned this thing where if you understand the program deeply, you might be able to say something. So can we say something interesting about, maybe, how many programs, statistically, we know something about in terms of whether they halt or not? Or what does it mean to understand a program deeply enough— Joel David Hamkins (03:00:09): Right Lex Fridman (03:00:09): …to be able to make a prediction? Joel David Hamkins (03:00:11): The main lesson of computability theory, in my view, is that it’s never the case that you can have a thorough understanding of the behavior of a program by looking at the program, and that the content of what you learn from a program, I mean, in the most general case, is always obtained just by running it and looking at the behavior. And the proof of that is there’s a theorem called Rice’s Theorem, which makes that idea completely robust. But I want to just take a little detour towards another question riffing on something that you just said. Namely, one can ask the question, what is the behavior of a random program? So you have some formal computing language, you know, and you want to look at the collection of all programs of a certain size. Joel David Hamkins (03:01:06): Maybe there are only finitely many. And can you say something about the behavior of a randomly chosen one, like with a certain likelihood it will have a certain behavior? And the answer turns out to be extremely interesting. Once, years ago, Alexey Myasnikov asked me a question. He had this concept of a decision problem with a black hole, and what that means is it’s a decision problem which is possibly difficult in the worst case, but the difficulty was concentrated in a very tiny region called the black hole. And outside of that black hole, it was very easy. Joel David Hamkins (03:01:42): And so, for example, this kind of problem is a terrible problem to use if you’re basing your encryption scheme. You don’t want to use a black hole problem because if someone can rob the bank 95% of the time, then that’s not what you want, or even any nontrivial percent of the time is too dangerous. So you don’t want to use problems that are almost every case is easily solved as the basis of your encryption. And the question Alexey asked me was, “Does the halting problem have a black hole?” Joel David Hamkins (03:02:17): And so if we take, say, the standard model of Turing machines—it’s one-way infinite tape with zeros and ones on the tape and so on, the head moving back and forth, and it stops when it gets into the halt state—then it turns out we proved that there is a black hole. And what that means is there’s a computer procedure that decides correctly almost every instance of the halting problem. Even though the halting problem is not decidable, we can decide almost every instance. So more precisely, there’s a collection of Turing machine programs such that we can easily decide whether a program’s in that collection or not. And for the programs in the collection, we can decide the halting problem for those programs easily. Joel David Hamkins (03:03:03): And furthermore, almost every program is in the collection in the sense that as the number of states becomes large, the proportion of programs in the collection goes to 100%. So the asymptotic density of the programs is one. And the proof was quite fascinating because it’s one of these situations where the theorem sounds really surprising, I think, to many people when I first tell it, I mean, to computability experts. Then it’s sort of intriguing to think that you can solve almost every instance of a halting problem. But then when they hear the proof, it’s completely a letdown. Unfortunately, nobody likes the theorem after the proof. Joel David Hamkins (03:03:47): And so the proof is so simple, though. If you know how a Turing machine operates, there’s this infinite paper tape on which the machine writes zeros and ones, and the head moves back and forth according to rigid instructions. And the instructions are all of the form: if the machine is in such and such a state and it’s reading such and such a symbol on the tape, then it should write this symbol on the tape, it should change to this new state specified, and it should either move left or right as specified. So a program consists of instructions like that. If you look at a program, one of the states is the halt state, and that’s when the program halts. Joel David Hamkins (03:04:30): But you can calculate how many programs don’t have any instruction that transitions to the halt state. You can easily calculate the proportion. And in the limit, it goes to 1 over E squared, 13 and a half percent. If you calculate the limit, the proportion of programs with end states that don’t ever halt because they don’t have any instruction saying halt— —those programs obviously never halt because they can’t halt. They don’t have any instruction that says halt. Lex Fridman (03:05:04): So 13% of programs, you could say— Joel David Hamkins (03:05:06): 13%, you can say they don’t halt because you just look at them and you can understand them. Lex Fridman (03:05:10): There’s no halt state. Joel David Hamkins (03:05:11): They never change to the halt state, so they can’t halt. Lex Fridman (03:05:13): I mean, that nevertheless is beautiful to know. To show. Joel David Hamkins (03:05:17): So that’s a kind of trivial reason for non-halting. And when I first made that observation, I thought, “Okay, this is the proof strategy.” Because I wanted to say at first the goal was, “Look, that’s a stupid reason for a program not to halt. And I just want to pile up as many stupid reasons as I can think of—” —until it gets more than 50%, and then I can say most. Lex Fridman (03:05:43): That was brilliant. Joel David Hamkins (03:05:43): Yeah, that was my goal. Lex Fridman (03:05:44): I love this. Joel David Hamkins (03:05:45): Yeah, so we thought more about it, though, and we hit the jackpot because we found one gigantic stupid reason that converged to 100%, in the limit. And so, the stupid reason for a program not to halt is that, well, if you think about the behavior: the head is sitting there. It’s on the leftmost cell of the tape at the very beginning. It’s in the start state, and the head is following an instruction. And the instruction says, “When you’re in the start state,” which it is, “and you’re reading something on the tape, then you should write something and you should change to a new state, and you should either move left or right.” But half of them move left. But if you move left and you are already at the end, then the head falls off. Joel David Hamkins (03:06:32): And so the computation stops because the head fell off the tape. That’s a pretty stupid reason. Okay, but that’s half of them already, just like that. And then some of them went right and they changed to a new state. And amongst those, the new state, half of those ones are going left and half are going right from that place. And then most of those are changing to a new state. When there are a lot of states, it’s very likely that the next state that you transition to is new. And so you get this random walk behavior, if you know what that means, where half go left and half go right at each step. Joel David Hamkins (03:07:04): And there’s a theorem due to Pólya, which is called the Pólya recurrence theorem, which says when you have a random walk, a one-dimensional random walk, then it’s very likely to come back to where you started. And when that happens for us, then half of them from that place fall off on the next step. And so you can show, using this kind of analysis, that the probability one behavior of a random Turing machine is that the head falls off the tape before it repeats a state. And that is the stupid proof that shows how to solve the halting problem. Joel David Hamkins (03:07:40): Because when that happens, we can answer the halting problem saying, “No, the computation stopped because the machine crashed, not because it halted, so therefore it doesn’t count as halting on some accounts.” Or, you know, if you want to define that as halting, crashing as halting, then… But in any case, however it is that you set up your formalism, you’re going to be able to answer the question for the behavior of the machine when the head falls off. Lex Fridman (03:08:03): So statistically, in the limit, you solve the halting problem. Joel David Hamkins (03:08:08): Yes, exactly. Computably solve it. Lex Fridman (03:08:11): What do we take from that? Because you didn’t solve the halting problem. Joel David Hamkins (03:08:15): No, it’s impossible to fully solve… Lex Fridman (03:08:17): Right Joel David Hamkins (03:08:17): …the halting problem correctly in all cases. Lex Fridman (03:08:20): That’s pretty cool. That’s kind of… I mean, I don’t know. This is… Joel David Hamkins (03:08:22): It’s a probabilistic way… I mean, it’s probabilistic in the sense that we’re solving almost all instances… …Computably. There are versions of this that are maybe more interesting from the point of view of complexity theory and actually useful. I mean, there’s the whole P-NP problem and so on. And there’s this genre of NP-complete problems, which are problems that are infeasible. They would take exponential time to solve them in the ordinary way. And they’re not known to be polynomial time solvable, although in these cases it’s an open question whether there is a polynomial time algorithm, a feasible algorithm. And for most of the NP-complete problems, you can prove that there’s a polynomial time approximation that solves almost all instances… Joel David Hamkins (03:09:09): …in a feasible amount of time. So like the knapsack problem, you know, packing problems, and so on, other kinds of problems, the satisfaction problem when… Depending on how you set up the formalism, you can prove, and I’ve proven many instances of this, but also I think it’s widespread for almost all the NP-complete problems, the difficult problems, and these are important problems for industrial application when these are problems… …That we actually want to solve. We can have feasible algorithms that solve almost every instance of them. Lex Fridman (03:09:42): The amount of fields and topics you’ve worked on is truly incredible. I have to ask about P versus NP. This is one of the big open problems in complexity theory. So for people who don’t know, it’s about the relation between computation time and problem complexity. Do you think it will ever be solved? And is there any chance the weird counterintuitive thing might be true, that P equals NP? Joel David Hamkins (03:10:06): Yeah, that’s an interesting question. Sometimes people ask about whether it could be independent, which I think is- Joel David Hamkins (03:10:11): …an interesting question for logicians. And of course, well, one has to say if you’re entertaining the idea of independence, you know, over which theory? Because every statement is going to be independent over an extremely weak theory. So that’s, you know, it doesn’t make sense to say it’s independent all by itself. You’re only independent relative to a theory, right? So the way I think about P-NP is that… I mean, of course it’s a theoretical question about the asymptotic behavior of these problems. I mean, for a problem to be in P means that there is a computable decision procedure that runs in time bounded by some polynomial. But the coefficients on that polynomial could be enormous, and the degree could be incredibly high. Joel David Hamkins (03:10:59): And so for small values of inputs, then it doesn’t make sense to talk about this polynomial time feasibility with respect to, say, the range of problem inputs that we will ever give it in our lifetime or in the span of human civilization or whatever. I mean, because it’s an asymptotic property, it’s really in the limit as the size of the inputs goes to infinity, that’s the only time that polynomial or NP becomes relevant. And so maybe it’s important to keep that in mind when… Sometimes you find kind of overblown remarks made about, you know, if P equals NP, then this will be incredibly important for human civilization because it means that we’ll have feasible algorithms for solving these incredibly important… Joel David Hamkins (03:11:45): …problems in NP. You know, that it would cause immense wealth for human societies and so on because we would be able to solve these otherwise intractable problems, and that would be the basis of new technology and industry and so forth. I mean, people make these kinds of remarks, but… Lex Fridman (03:12:03): Of course. Joel David Hamkins (03:12:04): …you have to temper those remarks by the realization that P and P equal NP or P not equal NP are not about these practical things at all because of the asymptotic nature of the question itself. Okay, that’s on the one hand. But on the second hand, we already have the algorithm, so we could use it already, except it’s a terrible algorithm because it involves this incredible amount of coding and so on. Lex Fridman (03:12:30): And on the third hand, like you said, we already have approximation algorithms that… Joel David Hamkins (03:12:34): Yes. Lex Fridman (03:12:34): …that from a pragmatic perspective, solve all the actual real engineering problems of human civilization. Joel David Hamkins (03:12:42): Like the SAT solvers work amazingly well, you know, in lots and lots of cases, even though we can prove we don’t expect… If P is not equal to NP, then there won’t be a polynomial time SAT solver. But actually, the SAT solver approximations are really quite amazing. Lex Fridman (03:12:59): Sorry to ask the ridiculous question, but who is the greatest mathematician of all time? Who are the possible candidates? Euler, Gauss, Newton, Ramanujan, Hilbert. We mentioned Gödel, Turing, if you throw him into the bucket. Joel David Hamkins (03:13:14): So this is, I think, an incredibly difficult question to answer. Personally, I don’t really think this way about ranking mathematicians by greatness. Um… Lex Fridman (03:13:28): So you don’t have, like… You know, some people have a Taylor Swift poster in their dorm room. You don’t have it. Joel David Hamkins (03:13:33): I mean, if you forced me to pick someone, it would probably be Archimedes because… Lex Fridman (03:13:37): Archimedes Joel David Hamkins (03:13:37): …he had such incredible achievements in such an early era, which totally transcended the work of the other people in his era. But I also have the view that I want to learn mathematics and gain mathematical insight from whoever can provide it and wherever I can find it. And this isn’t always just coming from the greats. Sometimes the greats are doing things that are just first and not… You know, somebody else could have easily been first. So there’s a kind of luck aspect to it when you go back and look at the achievements. And because of this progress issue in mathematics that we talked about earlier, namely we really do understand things much better now than they used to. Joel David Hamkins (03:14:22): And when you look back at the achievements that had been made, then maybe you can imagine thinking, “Well, somebody else could’ve had that insight also.” And maybe they would have… It’s already a known phenomenon that disparate mathematicians end up proving essentially similar results at approximately the same time. But, okay, the person who did it first is getting the credit and so on. Lex Fridman (03:14:48): What do you make of that? Because I see that sometimes when mathematicians… This also applies in physics and science, where completely separately, discoveries are made… Joel David Hamkins (03:14:58): Right. Yeah. Lex Fridman (03:14:58): …maybe at a very similar time. What does that mean? Joel David Hamkins (03:15:01): It’s relatively common. I mean, I think it’s like certain ideas are in the air and being thought about but not fully articulated, and so this is the nature of growth in knowledge. Lex Fridman (03:15:13): Do you understand where ideas come from? Joel David Hamkins (03:15:16): Not really. Lex Fridman (03:15:17): I mean, what’s your own process when you’re thinking through a problem? Joel David Hamkins (03:15:22): Yeah, that’s another difficult question. I suppose it has to do with… My mathematical style, my style as a mathematician, is that I don’t really like difficult mathematics. What I love is simple, clear, easy-to-understand arguments that prove a surprising result. That’s my favorite situation. And actually, the question of whether it’s a new result or not is somehow less important to me. And so that has to do with this question of the greats and so on, whoever does it first. Because I think, for example, if you prove a new result with a bad argument or a complicated argument, that’s great because you proved something new. But I still want to see the beautiful, simple, because that’s what I can understand. Joel David Hamkins (03:16:16): Also, I’m kind of naturally skeptical about any complicated argument because it might be wrong. And… …If I can’t really understand it fully, like every single step all at once in my head, then I’m just worried maybe it’s wrong. And so these different styles, sometimes mathematicians get involved with these enormous research projects that involve huge numbers of working parts and… …Different technology coming together. I mean, mathematical technology, not physical technology. Lex Fridman (03:16:48): And sometimes it actually involves now more and more something like the Lean programming language where some parts are automated, so you have this gigantic… Joel David Hamkins (03:16:54): Yeah, yeah, I see. Well, that’s another issue because maybe those things are less subject to skepticism when it’s validated… Lex Fridman (03:17:02): Sure Joel David Hamkins (03:17:02): …by Lean. But I’m thinking about the case where the arguments are just extremely complicated, and so I sort of worry whether it’s right or not, whereas you know, I like the simple thing. So I tend to have often worked on things that are a little bit off the beaten path from what other people are working on from that point of view. Lex Fridman (03:17:23): Your curiosity draws you towards simplicity. Joel David Hamkins (03:17:25): Yeah. I want to work on the things that I can understand and that are simple. Luckily, I’ve found that I’ve been able to make contributions that other people seem to like, in this way, in this style. So I’ve been fortunate from that point of view. My process always, though, and I’ve recommended this always to my students, is just a kind of playful curiosity. So whenever I have… Joel David Hamkins (03:17:55): Whenever there’s an idea or a topic then I just play around with it and change little things or understand a basic case and then make it more complicated or press things a little bit on this side or apply the idea to my favorite example that’s relevant, and see what happens, or you just play around with ideas, and this often leads to insights that then lead to more methods or more, then pretty soon you’re making progress on the problem. So this is basically my method, is I just fool around with the ideas until I can see a path through towards something interesting… …And then prove that, and that’s worked extremely well for me. So I’m pretty pleased with that method. Lex Fridman (03:18:47): You do like thought experiments where you anthropomorphize like you mentioned? Joel David Hamkins (03:18:51): Yeah, yeah. So this is a basic tool. I mean, I use this all the time. You imagine a set-theoretic model, a model of ZFC, as like a place where you’re living, and you might travel to distant lands by forcing. This is a kind of metaphor for what’s going on. Of course, the actual arguments aren’t anything like that because there’s not land and you’re not traveling and you’re not… Lex Fridman (03:19:13): But you allow your mind to visualize that kind of thing- Joel David Hamkins (03:19:15): Yeah Lex Fridman (03:19:15): … in the natural real world. Joel David Hamkins (03:19:16): And it helps you to understand. Particularly when there are parts of the argument that are in tension with one another, then you can imagine that people are fighting or something. And those kinds of metaphors, or you imagine it in terms of a game theoretic, you know, two players trying to win. So that’s kind of tension. And those kinds of metaphorical ways of understanding a mathematical problem often are extremely helpful in realizing, aha, the enemy is going to pick this thing to be like that because, you know, it makes it more continuous or whatever, and then we should do this other thing in order to… So it makes you realize mathematical strategies for finding the answer and proving the theorem that you want to prove because of the ideas that come out of that anthropomorphization. Lex Fridman (03:20:01): What do you think of somebody like Andrew Wiles, who spent seven years grinding at one of the hardest problems in the history of mathematics? And maybe contrasting that a little bit with somebody who’s also brilliant, Terence Tao, who basically says if he hits a wall, he just switches to a different problem and he comes back and so on. So it’s less of a focused grind for many years without any guarantee that you’ll get there, which is what Andrew Wiles went through. Joel David Hamkins (03:20:30): Right. Lex Fridman (03:20:30): Maybe Grigori Perelman did the same. Joel David Hamkins (03:20:32): I mean, Wiles proved an amazing theorem, Fermat’s Last Theorem result is incredible. This is a totally different style than my own practice, though, of working in isolation. For me, mathematics is often a kind of social activity. I have… I counted, I mean, it’s pushing towards a hundred collaborators, co-authors on various papers and so on. And, you know, if anybody has an idea they want to talk about with me, if I’m interested in it, then I’m going to want to collaborate with them and we might solve the problem and have a joint paper or whatever. You want to have a joint paper? Let me- Lex Fridman (03:21:06): Yeah, exactly. Let’s go. Joel David Hamkins (03:21:08): So my approach to making mathematical progress tends to involve working with other people quite a lot rather than just working on my… Joel David Hamkins (03:21:17): …own, and I enjoy that aspect very much. So I, personally, I couldn’t ever do what Wiles did. Maybe I’m missing out. Maybe if I locked myself, you know, in the bedroom and just worked on whatever, then I would solve it. But I tend to think that no, actually, being on MathOverflow so much and I’ve gotten so many ideas, so many papers have grown out of the MathOverflow conversations and back and forth. Someone posts a question and I post an answer on part of it, and then someone else has an idea and it turns into a full solution, and then we have a three-way paper coming out of that. That’s happened many times. And so for me, I enjoy this kind of social aspect to it. And it’s not just the social part. Joel David Hamkins (03:22:01): Rather, that’s the nature of mathematical investigation as I see it, is putting forth mathematical ideas to other people and they respond to it in a way that helps me learn, helps them learn, and I think that’s a very productive way of undertaking mathematics. Lex Fridman (03:22:20): I think it’s when you work solo on mathematics, from my outsider perspective, it seems terrifyingly lonely. And because you’re, especially if you do stick to a single problem, especially if that problem has broken many brilliant mathematicians in the past, that you’re really putting all your chips in. And just the torment… …The rollercoaster of day to day. Because I imagine you have these moments of hopeful break, mini breakthroughs, and then you have to deal with the occasional realization that, no, it was not a breakthrough, and that disappointment. Lex Fridman (03:23:00): And then you have to go, like, a weekly, maybe daily disappointment where you hit a wall, and you have no other person to brainstorm with. You have no other avenue to pursue. And it’s, I don’t know, the mental fortitude it takes to go through that. But everybody’s different. Some people are recluse and just really find solace in that lone grind. I have to ask about Grisha Grigori Perelman. What do you think of him famously declining the Fields Medal and the Millennial Prize? So he stated, “I’m not interested in money or fame. The prize is completely irrelevant to me. If the proof is correct, then no other recognition is needed.” What do you think of him turning down the prize? Joel David Hamkins (03:23:52): I guess what I think is that mathematics is full of a lot of different kinds of people. And my attitude is that, hey, it doesn’t matter. Maybe they have a good math idea, and so I want to talk to them and interact with them. And so I think the Perelman case is maybe an instance where, you know, he’s such a brilliant mind and he solved this extremely famous and difficult problem, and that is a huge achievement. But he also had these views about, you know, prizes and somehow, I don’t really fully understand why he would turn it down. Lex Fridman (03:24:33): I do think I have a similar thing, just observing Olympic athletes that are, in many cases, don’t get paid very much, and they nevertheless dedicate their entire lives for the pursuit… … Of the gold medal. I think his case is a reminder that some of the greatest mathematicians, some of the greatest scientists and human beings do the thing they do, take on these problems for the love of it, not for the prizes or the money or any of that. Now, as you’re saying, if the money comes, you could use it for stuff. If the prizes come, and the fame, and so on, that might be useful. But the reason fundamentally the greats do it is because of the art itself. Joel David Hamkins (03:25:13): Sure, I totally agree with that. I mean, I share the view. That’s, you know, that’s why I’m a mathematician is because I find the questions so compelling and I’ve spent my whole life thinking about these problems. But, you know, but like if I won an award… Lex Fridman (03:25:32): Yeah, it’s great. It’s great. I mean, I’m pretty sure you don’t contribute to MathOverflow for the wealth and the power. That you gain. I mean, it’s, yeah, genuine curiosity. Joel David Hamkins (03:25:46): Well, you asked who the greatest mathematician is, and of course if we want to be truly objective about it, we would need a kind of an objective criteria… Lex Fridman (03:25:55): Criteria, yeah. Joel David Hamkins (03:25:55): …about how to evaluate the relative, you know, strength and the reputation of various mathematicians. And so, of course, we should use MathOverflow score… …Because… Lex Fridman (03:26:06): That you’re definitively… I mean, nobody’s objectively the greatest mathematician of all time. Joel David Hamkins (03:26:10): Yes, that’s true. I’ve also argued that tenure and promotion decisions should be based… Lex Fridman (03:26:15): Based on MathOverflow. Joel David Hamkins (03:26:16): …Yeah. So my daughter introduced me to her boyfriend. …And told me that she had a boyfriend. And I, um… Lex Fridman (03:26:25): Asked him what his MathOverflow… Joel David Hamkins (03:26:26): I wanted to know, first of all, what is his chess rating, and secondly, what is his MathOverflow score? Lex Fridman (03:26:34): Oh, man. Well, that’s the only way to judge a person, I think. That’s, I think, objectively correct. Yeah. I mean, since you bring up chess, I’ve got to ask you about infinite chess. I can’t let you go. You’ve, I mean, you’ve worked on a million things, but infinite chess is one of them. Somebody asked on MathOverflow for the mathematical definition of chess. Joel David Hamkins (03:26:54): Right. Lex Fridman (03:26:54): So can we talk about the math of chess and the math of infinite chess? What is infinite chess? Joel David Hamkins (03:26:59): Oh, yeah, absolutely. Infinite chess is fantastic. Chess ordinarily is played on this tiny, tiny board. It’s an eight by eight board, right? So when you play chess, normally it’s on the eight by eight board. But we want to play infinite chess, so on the integer board. It’s infinite in all four directions, you know, but it still has the chessboard pattern, and maybe there are pieces on this board, maybe infinitely many pieces we allow. But one difference from finite ordinary chess, in infinite chess, we don’t play from a standard starting position. Rather, you… Joel David Hamkins (03:27:36): The interesting situation is that you present a position where there’s a lot of pieces already on the board in a complicated way, and you say, “What would it be like to start from this position or from that one?” You know, and we want to produce positions that have interesting features, meaning mathematically interesting features. And so I can tell you for example… probably a lot of people are familiar with, say, the mate in two genre of chess problem. You know, you have a chess problem and it’s white to mate in two, which means that white is going to make two moves, but the second move is going to be a checkmate. Joel David Hamkins (03:28:15): Or maybe mate in three or mate in five or whatever. We can have mate in N positions for any N. In infinite chess, you can create a position which is not mate in N for any N, but white has a winning strategy that will win in infinitely many moves. In other words, Let me say it again. There are positions in infinite chess that white can definitely win. In infinitely many moves, white is going to make checkmate, but there’s no particular N for which white can guarantee to win in N moves. Lex Fridman (03:28:56): There’s no N? Joel David Hamkins (03:28:57): No N. So it’s not mate in N for any N, but it’s a white win, infinitely many. The way to think about it is white is going to win, but black controls how long it takes. Lex Fridman (03:29:09): Ah, got it. Joel David Hamkins (03:29:10): But it’s doomed. Black can say, “Well, I know you’re going to win, but this time it’s going to… you’re going to take a thousand moves at least.” And… Or maybe in a different way of playing, black can say, “Well, I know you’re going to win, but this time you’re going to have to take a million moves.” For any number, black can say that. So these are really interesting positions. There’s a position in my first infinite chess paper. So it’s black to play in this position, and if black doesn’t move that rook there, then white is going to checkmate pretty quickly. Lex Fridman (03:29:41): By the way, can we describe the rules of infinite chess? Joel David Hamkins (03:29:44): Right. So the rules of infinite chess are the… there’s just the ordinary pieces, and they move on this infinite board, which is just a chessboard, but extended in all directions. Joel David Hamkins (03:29:53): Infinitely, with no edge. So there’s no boundary. But the pieces move just like you’d expect. So the knights move just the same and the rooks move, you know, on the ranks and files, and the bishops move on the same color diagonals and… just like you would expect, except they can move as far as they want, you know, if there’s no intervening piece in the way. The one thing is that… Okay, so the white pawns always move upwards and the black pawns always move downwards, but when they’re capturing, the pawns, you know, capture on the diagonal. So I think the piece movement is pretty clear. There are a couple of differences that you have to pay attention to from ordinary chess. Joel David Hamkins (03:30:32): For example, there’s this threefold repetition rule in ordinary chess, but we just, we just get rid of this for infinite chess because, of course, threefold repetition is just a proxy for infinite play. The real rule is infinite play is a draw, not threefold repetition is a draw. That’s just a kind of convenient approximation to what I view as the actual rule, which is that infinite play is a draw. So the only way to win is to make checkmate on the board at a finite stage of play. And if you play infinitely, you haven’t done that, and so it’s a draw. Lex Fridman (03:31:05): And the pawns can’t be converted into something else? Joel David Hamkins (03:31:06): And there’s no promotion because there’s no edge. Right, exactly. And this position that we were just talking about is a position with game value omega, which means that because it has an ordinal value, white is going to win, but black can play as though counting down from omega. What is the nature of counting down from omega? If you’re black and you need to count down from omega, then you have to say a finite number. Joel David Hamkins (03:31:33): … and then after that, it’s going to be at most that many numbers afterwards to count down, right? So the nature of counting down from omega is that you take this giant step on the first count, and then after that, you subtract one each time. You can’t subtract one from omega because that’s not an ordinal. So if you count down from omega, you have to go to some finite number, and then if you just subtract one each time, then that’s how many more moves you get. So that’s the sense in which black can make it take as long as he wants because he can pick his initial number to be whatever he wants. Lex Fridman (03:32:05): By the way, I, I just noticed that you were citing a MathOverflow question, which is really cool. Joel David Hamkins (03:32:10): That’s right, yeah. My interest in infinite chess was born on MathOverflow because someone asked this question. Lex Fridman (03:32:15): Noam Elkies asked this question. That’s so cool to see a MathOverflow citation in a, in an arXiv paper. That’s cool. How do you construct the position- Joel David Hamkins (03:32:28): Right Lex Fridman (03:32:28): …that satisfies this? Is there an algorithm for construction? Joel David Hamkins (03:32:31): No. This is an act of mathematical creativity, really, to come up with… I had a co-author, my co-author, Corey Evans. He’s a U.S. national master chess player. Very strong chess player. He’s also a philosophy professor of law. Lex Fridman (03:32:49): Your collaborations are wonderful. That’s great. Joel David Hamkins (03:32:53): So I met him because he was a grad student at CUNY, where I was at the time in New York. And also he was my son’s chess coach for when my son was… …Playing chess competitively in elementary school. Corey was the coach. And so we knew him that way. That was right around the time when I was getting interested in infinite chess, and I knew I needed a chess-knowledgeable partner. Corey was invaluable for the paper because the proofs in infinite chess are extremely finicky because you create these positions, but the details of the argument have to do with chess reasoning, you know? My chess reading wasn’t quite up to it because I would create the positions… Almost all the positions are ones that I made, but this is like after many generations… Joel David Hamkins (03:33:50): …of being corrected by Corey because Corey would come and say, “Hey, you know, this pawn is hanging, and it breaks your argument, and…” “…or, or, you know, this bishop can leak out…” …of the cage,” or whatever. And so the process was I knew kind of in terms of these ordinals what we needed to create with… Joel David Hamkins (03:34:10): …the position, and I would struggle to do it and create something that sort of had the features that I wanted, and then I would show it to Corey and he would say, “Look, it doesn’t work because of this and that,” and so on. This kind of back and forth was extremely helpful to me, and eventually we, you know, converged on arguments that were correct. So, yeah, it’s quite interesting. Also, maybe another thing to say is the follow-up paper to this one was a three-way paper with Corey, myself, and my PhD student, Norman Perlmutter, in which we improved the bound. So we were aiming to produce more and more chess positions with higher and higher ordinal values. Joel David Hamkins (03:34:52): The initial position was value omega, and then we made omega-squared and omega-cubed in the first paper, and then in this three-way collaboration, we made omega to the fourth. Lex Fridman (03:35:03): The title of the paper is “The Position in Infinite Chess with Game Value Omega to the 4th.” Joel David Hamkins (03:35:09): Right. And so at the time, this was the best-known result, the state of the art, but since that time, it’s been improved now dramatically. And in fact, we know now that every countable ordinal arises as the game value of a position in infinite chess, so it’s a fantastic result. Lex Fridman (03:35:28): Before I forget, let me ask about your views on AI and LLMs that are getting better and better at mathematics. We’ve spoken about collaborators, and you have so many collaborators. Do you see AI as a potential great collaborator to you as a mathematician, and what do you think the future role of those… …Kinds of AI systems is? Joel David Hamkins (03:35:52): I guess I would draw a distinction between what we have currently and what might come in future years. I’ve played around with it and I’ve tried experimenting, but I haven’t found it helpful at all, basically zero. It’s not helpful to me. And, you know, I’ve used various systems and so on, the paid models and so on, and my typical experience interacting with AI on a mathematical question is that it gives me garbage answers that are not mathematically correct. And so I find that not helpful and also frustrating. If I was interacting with a person, the frustrating thing is when you have to argue about whether or not the argument they gave you is right, and you point out exactly the error— Joel David Hamkins (03:36:47): …in the AI saying, “Oh, it’s totally fine.” If I were having such an experience with a person, I would simply refuse to talk to that person again. But okay, one has to overlook these kind of flaws. And so I tend to be a skeptic about the current value of the current AI systems as far as mathematical reasoning is concerned. It seems not reliable. But I know for a fact that there are several prominent mathematicians who I have enormous respect for who are saying that they are using it in a way— …that’s helpful, and I’m often very surprised to hear that based on my own experience, which is quite the opposite. Maybe my process isn’t any good, although I use it for other things like programming or image generation and so on. It’s amazingly powerful and helpful. Joel David Hamkins (03:37:50): But for mathematical arguments, I haven’t found it helpful, and maybe I’m not interacting with it in the right way— …yet, or it could be. And so maybe I just need to improve my skill. But also maybe I wonder, like, these examples that are provided by other people maybe involve quite a huge amount of interaction, and so I wonder if maybe the mathematical ideas are really coming from the person, you know, these great mathematicians— Joel David Hamkins (03:38:21): …who are doing it rather than the AI. And so I tend to be skeptical. But also, I’m skeptical for another reason, and that is because of the nature of the large language model approach to AI doing mathematics. I recognize that the AI is trying to give me an argument that sounds like a proof rather than an argument that is a proof. The motivation is misplaced. And so I worry that this is a very dangerous source of error because it often happens in mathematics that… I mean, if I think back to when I was an undergrad, here at Caltech, I was a math major eventually, and at that time, LaTeX was a pretty new thing and I was learning LaTeX, and so I was typing up my homeworks in LaTeX and they looked beautiful. Actually, they looked like garbage. From my current standards— Joel David Hamkins (03:39:28): …I’m sure it was terrible. Except at the time, I didn’t know anything. I was an undergrad and LaTeX was sort of unheard of, and so I was producing these beautifully typeset, you know— …problem sets, solutions, and so on. And I would print it up and submit it and so on, and the grades would come back, terrible grades, and I realized what was happening— The copy was so beautiful, mathematically typeset in this way, it looked like the kind of mathematics you find in a book. Because basically, that’s the only time you saw that kind of mathematical typesetting was in a professional, published book. And that mathematics was almost always correct. …In a book, right? And so I had somehow lost my… Joel David Hamkins (03:40:20): …because it was so beautiful, and I’m used to only seeing that kind of typesetting when an argument was totally right. I wasn’t critical enough and was making these bonehead mistakes in the proofs. So, okay, I corrected this, of course. Lex Fridman (03:40:36): But this kind of effect is very much real with the modern LLM system. Joel David Hamkins (03:40:39): Yes. Lex Fridman (03:40:40): That’s right. Joel David Hamkins (03:40:40): And so I think that the chat programs and so on are producing these arguments that look really… That’s what they’re striving to do, that’s what they’re designed to do. They’re not designed to make a logically correct argument. They’re designed to make something that looks like a logically correct argument. And it’s easy to get fooled if you’re not skeptical. And so that’s why I worry a bit when people rely on AI for mathematical arguments. I mean, using… Tying them to Lean in the formal proof verification systems and so on, this is a totally different… Joel David Hamkins (03:41:17): …way of operating. But for the ordinary person sitting down and using chat to come up with a mathematical argument, I think it’s a dangerous source of error if you’re not especially attuned to this very issue that the AI is going to produce something that’s not grounded in mathematical understanding, but rather something that is trying to look like something that is grounded… Joel David Hamkins (03:41:41): …in mathematical understanding. And those are not the same thing at all. And furthermore, I really wonder if one can make a kind of system for producing genuine mathematical insight that isn’t based in what I would view as mathematical understanding as opposed to the text generation systems. The methods that are used, they don’t seem close enough grounded in understanding of the underlying mathematical concepts, but rather grounded in the way words appear on a page in arguments about those concepts, which are not the same. Lex Fridman (03:42:17): So there’s a couple of things to say there. One, I think there is a real skill in providing the LLM system with enough information to be a good collaborator. Because you really are dealing with a different… It’s not a human being. You really have to load in everything you possibly can from your body of work, from the way you’re thinking, and that’s a real skill. And then the other thing is, for me, if it’s at all anything like programming, because I have a lot of colleagues and friends who are programmers who feel similarly to you. And for me, I’ve gotten better and better at giving as much information as possible to the systems in a really structured way, maybe because I just like natural language as a way to express my thinking. Lex Fridman (03:43:08): And then the benefit comes from the inspiration that the system can provide by its ability to know a lot of things and make connections between disparate fields and between disparate concepts. And in that way, it provides not the answer but the inspiration, the handholding, the camaraderie that helps me get to the answer, because it does know a lot more than me, like knowledge. And if you give it a lot of information and ask the broader questions, it can make some really beautiful connections. But I do find that I have to be extremely patient, like you said. The amount of times I’ll do something dumb where I feel like, “You don’t get this at all, do you?” That’s a source of a lot of frustration for us humans. Like, “This… Lex Fridman (03:44:04): …Wait, this thing doesn’t understand at all.” If you can have the patience to look past that, there might be some brilliant little insights that it can provide. Joel David Hamkins (03:44:16): Right. Lex Fridman (03:44:16): At least for me in the realm of programming. I should say programming, there’s just so much training data. There’s so much there. At least I see the light at the end of the tunnel of promising possibilities of it being a good collaborator, versus something that gives you really true genius-level insights. Joel David Hamkins (03:44:39): Right. It’s probably true. I also find it likely that a lot of the, as far as mathematical training data is concerned, I just have to assume that MathOverflow answers are part of the training data. Lex Fridman (03:44:52): Yes, of course. Joel David Hamkins (03:44:53): It’s so… Lex Fridman (03:44:54): And you’re… Joel David Hamkins (03:44:56): So- Lex Fridman (03:44:56): I mean, you’re talking to yourself, essentially. Joel David Hamkins (03:44:57): Yeah, maybe. Lex Fridman (03:45:00): Sorry for the ridiculously big question, but what idea in mathematics is most beautiful to you? We’ve talked about so many. Joel David Hamkins (03:45:10): The most beautiful idea in mathematics is the transfinite ordinals. These were the number system invented by Georg Cantor about counting beyond infinity, just the idea of counting beyond infinity. I mean, you count through the ordinary numbers, the natural numbers, zero, one, two, three, and so on, and then you’re not done because after that comes omega and then omega plus one and omega plus two and so on. And you can always add one. And so of course after you count through all those numbers of the form omega plus N, then you get to omega plus omega, the first number after all those. And then comes omega plus omega plus one and so on. You can always add one. And so you can just keep counting through the ordinals. It never ends. Joel David Hamkins (03:45:59): Eventually, you get to omega times three, omega times four, and so on, and then the limit of those numbers, the first number that comes after all those numbers will be omega squared. And this one is the first compound limit ordinal because it’s a… A limit ordinal is one of these numbers, an ordinal, that doesn’t have an immediate predecessor like omega and omega times two, omega times three. Those are all limit ordinals. But-… by omega squared is a limit ordinal, but it’s also a limit of limit ordinals because the omega times three, omega times four, and so on, those are all limit ordinals that limit up to omega squared. And then, of course, you form omega squared plus one, and then omega squared plus two, and so on, and it never stops. Joel David Hamkins (03:46:43): And it’s just absolutely beautiful and amazing, and furthermore, forms the foundation for these transfinite recursive constructions that came later. I mean starting with the Cantor-Bendixson theorem that I mentioned. And continuing with the construction of the, of the V hierarchy and Godel’s constructible universe is built this way, and Zermelo’s proof of the well-order principle using the axiom of choice is a transfinite recursive construction. And, and so the idea of just counting past infinity is so simple and elegant, and has led to so much fascinating mathematics. Lex Fridman (03:47:27): Yeah, the infinity’s not the end. And what about philosophy? What to you is the most beautiful idea in philosophy? Joel David Hamkins (03:47:35): So I d- I have a foot in both fields, philosophy and mathematics, and in some contexts I seem to be required to choose whether I’m a mathematician or a philosopher. I mean, my training is in mathematics. My PhD, all my degrees are mathematics. But somehow I turned myself into a philosopher over the years because my mathematical work was engaging with these philosophical issues. And so when I went… In New York, I had appointments first in mathematics only, but then eventually I was also joining the philosophy faculty at the graduate center. And when I went to Oxford for the first time, my main appointment was in philosophy, and that’s also true now at Notre Dame although I’m also a concurrent professor in mathematics. Joel David Hamkins (03:48:20): And I have math PhD students still and philosophy PhD students. And so I don’t really care to decide whether I’m a mathematician or a philosopher. And my work is engaging with mathematics and with philosophical issues in mathematics and with plain philosophy, and there’s this ample region between these re- between these two subjects. So it’s not necessary to choose. I remember when I first went to Oxford and I told my daughter that I was going to become professor of philosophy in Oxford and she looked at me plaintively and said, “Uh, but, but Papa, you’re not a philosopher.” Because in her mind, you know, her father was the mathematician and her mother was the philosopher ’cause my wife, Barbara, is a philosopher. Now also at Notre Dame. We’re together there. Joel David Hamkins (03:49:13): And okay, but fortunately I don’t really have to choose be- between them. So you ask about the most beautiful idea in philosophy, and I would have to say that I think it’s the distinction between truth and proof, the one that we discussed already. It’s so profound and gets at the heart of so many philosophical issues. I mean, of course, this is a distinction that’s maybe born in mathematics or mathematical logic, but that’s already philosophical to a degree, and it’s fundamentally a philosophical distinction. The truth is about the nature of the world and the way things are. It’s about objective reality in a sense, whereas proof is about our understanding of the world and about how we come to know the things that we know about the world. Joel David Hamkins (03:50:18): And so to focus on proof is to focus on the interaction that we have with the objective reality. And okay, I’m talking about the reality of mathematics, not the physical world, because as I said, I live in the platonic realm and I interact with mathematical reality, and so proof is about the interaction and how we come to know the facts that are true in this mathematical reality, whereas truth is about what’s really the case, sort of apart from our knowledge of it. And and this is I think a… such a core way that I have of understanding the world and and the nature of logic and reasonings. Lex Fridman (03:51:03): And the gap between the two is full of fascinating mysteries, both in the platonic realm, but also in the physics realm, in I would even say in the, in the human psychology, sociology, politics, geopolitics, all of it, if you think about proof more generally, which is the process of discovery versus the truth itself. And that’s our journey whatever field we’re in. Well, I, for one, am grateful for… … For how marvelous of a philosopher, mathematician, and human being you are. It’s truly an honor to speak with you today. Joel David Hamkins (03:51:43): Well, thank you so much. It’s such a pleasure to be here, and thank you for inviting me. Lex Fridman (03:51:47): Thanks for listening to this conversation with Joel David Hamkins. To support this podcast, please check out our sponsors in the description where you can also find links to contact me, ask questions, get feedback, and so on. Thank you for listening. As always, happy New Year. I love you all.

本集資源與出處