‹

12 · Types and Proofs

12 · Types and Proofs

12 · ​ชนิด​กับ​บทพิสูจน์

Fourth hearing of Part II. The last three chapters asked what computation can do, how long it takes, and what it moves; this one asks what happens to the oldest philosophical prize — certainty — once proof itself becomes a checkable artifact.

​บท​นี้​ถาม​ว่า​เกิด​อะไร​ขึ้นกับ​รางวัล​เชิง​ปรัชญา​ที่​เก่าแก่​ที่สุด — ​ความแน่นอน — ​เมื่อ​บทพิสูจน์​เอง​กลายเป็น​สิ่งประดิษฐ์​ที่​ตรวจสอบ​ได้ ​นี่​คือ​การไต่​สวน​ครั้ง​ที่สี่​ของ​ภาค II ​สาม​บท​ก่อนหน้า​ถาม​ว่าการ​คำนวณ​ทำ​อะไร​ได้ ​ใช้เวลานาน​แค่​ไหน ​และ​เคลื่อน​อะไร

What happens to certainty when proof becomes an artifact?

​ความแน่นอน​จะ​เหลือ​อะไร ​เมื่อ​บทพิสูจน์​กลายเป็น​สิ่งประดิษฐ์

In 1976 Kenneth Appel and Wolfgang Haken proved the four-color theorem with the help of a computer program that checked close to fifteen hundred map configurations no human being would ever survey by hand — chapter 03 already sat with the shock that verdict caused: a proof too long for any mathematician to read start to finish. Nearly thirty years later Georges Gonthier closed a different case about the same theorem. His formalization, completed in the Coq proof assistant and published as "Formal Proof — The Four-Color Theorem" (Notices of the American Mathematical Society 55, 2008: 1382–1393), did not merely rerun Appel and Haken's argument; it re-derived the whole proof, combinatorics and case-checking alike, as a sequence of steps validated by a small trusted kernel that a single person can, in principle, audit line by line. The theorem that once symbolized proof outrunning human comprehension became, in Gonthier's hands, the theorem that showed comprehension could be replaced by something more exacting than any human reader: a machine that does not skim.

​ปี 1976 ​ทฤษฎีบท​สี่​สี (four-color theorem) ​ถูก​พิสูจน์​ด้วย​โปรแกรมคอมพิวเตอร์​ที่​ไล่​ตรวจการ​จัดวาง​แผนที่​เกือบ​หนึ่ง​พัน​ห้า​ร้อย​แบบ ​จำนวน​ที่​ไม่​มีม​นุษย์​คน​ไหน​ไล่​ด้วยมือ​ไหว ​คน​พิสูจน์​คือ Kenneth Appel ​และ Wolfgang Haken ​บท​ที่ 03 ​นั่ง​อยู่​กับ​แรง​สั่นสะเทือน​ของ​คำตัดสิน​นั้น​มา​แล้ว: ​บทพิสูจน์​ที่​ยาว​เกิน​กว่า​นัก​คณิตศาสตร์​คนใด​จะ​อ่าน​จบ​ตั้งแต่​ต้น​จน​จบ ​เกือบ​สามสิบ​ปี​ต่อมา Georges Gonthier ​ปิด​อีก​คดี​หนึ่ง​ของ​ทฤษฎีบท​เดียวกัน ​การทำให้​เป็น​รูป​นัย (formalization) ​ของ​เขา ​เสร็จ​ใน proof assistant ​ชื่อ Coq ​และ​ตีพิมพ์​เป็น "Formal Proof — The Four-Color Theorem" (Notices of the American Mathematical Society 55, 2008: 1382–1393) ​ไม่​ได้​รัน​ข้อโต้แย้ง​ของ Appel ​กับ Haken ​ซ้ำ​เฉยๆ ​มัน​สร้าง​บทพิสูจน์​ทั้ง​ชิ้น​ขึ้น​ใหม่ ​ทั้ง combinatorics ​และ​การไล่​ตรวจ​กรณี ​ให้​เป็นลำดับ​ขั้นตอน​ที่ kernel (​แกน​ตรวจสอบ) ​เล็กๆ ​ที่​ไว้ใจได้​รับรอง​ความถูกต้อง ​และ​คน​คนเดียว​ตรวจ​ได้​ทีละ​บรรทัด​ใน​หลักการ ​ทฤษฎีบท​ที่​เคย​เป็น​สัญลักษณ์​ของ​บทพิสูจน์​ที่​วิ่ง​พ้น​ความเข้าใจ​ของ​มนุษย์ ​กลาย​มา​เป็น​ทฤษฎีบท ​ใน​มือ​ของ Gonthier ​ที่​แสดงว่า​ความเข้าใจ​ถูก​แทนที่​ได้​ด้วย​บางอย่าง​ที่​เข้มงวด​กว่า​ผู้อ่าน​มนุษย์​คนใด: ​เครื่องจักร​ที่​ไม่​อ่านผ่านๆ

What makes Gonthier's kernel trustworthy is a correspondence discovered, not designed, twice over. Haskell Curry noticed in 1934 that the types assigned to combinators in combinatory logic could be read as axiom schemes of intuitionistic implicational logic, and in 1958 that a fragment of Hilbert-style proof systems coincided with a fragment of typed combinatory logic. William Howard made the analogy exact three decades later without knowing Curry's full history, circulating a manuscript in 1969 that was finally published as "The Formulae-as-Types Notion of Construction" in a 1980 festschrift for Curry edited by Jonathan Seldin and J. Roger Hindley. Howard showed that a proof, written in the natural-deduction style Gerhard Gentzen had introduced in 1935, and a program, written in the simply typed lambda calculus, are the same object viewed from two directions: a proposition is a type, a proof of it is a program of that type, and simplifying a proof — removing a detour — is executing the program. N. G. de Bruijn arrived at a version of the same idea independently at almost the same time, building it into his Automath system before either he or Howard knew of the other's work. Three researchers, working from logic, from combinators, and from an automated proof-checker, kept finding the identical seam — the strongest kind of evidence this book has for its own claim that philosophy and computing are one project rediscovered rather than two projects borrowed from each other.

​สิ่ง​ที่​ทำให้ kernel ​ของ Gonthier ​ไว้ใจได้​คือ​ความสอดคล้อง (correspondence) ​ที่​ถูก​ค้นพบ ​ไม่​ใช่​ถูก​ออกแบบ ​และ​ค้นพบ​ซ้ำ​ถึง​สอง​รอบ Haskell Curry ​สังเกต​ใน​ปี 1934 ​ว่า​ชนิด (type) ​ที่​กำกับ combinator ​ใน​ตรรกะ​เชิง​การจัด (combinatory logic) ​อ่าน​ได้​ใน​ฐานะ axiom scheme ​ของ​ตรรกะ​เชิง​เงื่อนไข​แบบสัญ​ชาน​นิยม (intuitionistic) ​และ​ใน​ปี 1958 ​ว่า​ส่วนหนึ่ง​ของ​ระบบ​พิสูจน์​แบบ Hilbert ​ตรง​กับ​ส่วนหนึ่ง​ของ​ตรรกะ​เชิง​การจัด​ที่​มี​ชนิด​กำกับ ​สาม​ทศวรรษ​ถัดมา William Howard ​ทำการ​เทียบเคียง​นั้น​ให้​แม่นยำ ​โดย​ไม่​รู้​ประวัติ​ทั้งหมด​ของ Curry ​เขา​ส่ง​ต้นฉบับ​เวียน​อ่าน​ใน​ปี 1969 ​และ​มัน​ได้​ตีพิมพ์​ในที่สุด​เป็น "The Formulae-as-Types Notion of Construction" ​ใน festschrift ​ปี 1980 ​ที่​ทำ​ขึ้น​ให้ Curry ​โดย​มี Jonathan Seldin ​และ J. Roger Hindley ​เป็น​บรรณาธิการ Howard ​แสดงว่า​บทพิสูจน์​ที่​เขียน​ใน​สไตล์​การนิรนัย​ธรรมชาติ (natural deduction) ​ที่ Gerhard Gentzen ​เสนอ​ไว้​ใน​ปี 1935 ​กับ​โปรแกรม​ที่​เขียน​ใน​แคลคูลัส​แลมบ์ดา​ที่​มี​ชนิด​อย่าง​ง่าย (simply typed lambda calculus) ​คือ​วัตถุ​ชิ้น​เดียวกัน​ที่​มอง​จาก​คนละ​ด้าน: ​ประพจน์​คือ​ชนิด ​บทพิสูจน์​ของ​ประพจน์​คือ​โปรแกรม​ของ​ชนิด​นั้น ​และ​การลดรูป​บทพิสูจน์ — ​ตัดทาง​อ้อม​ทิ้ง — ​คือ​การรัน​โปรแกรม N. G. de Bruijn ​คิด​ไอเดีย​รุ่น​เดียวกัน​นี้​ขึ้น​เอง​ใน​เวลา​ไล่เลี่ยกัน​แทบ​พอดี ​และ​วาง​มัน​ลง​ใน​ระบบ Automath ​ของ​เขา ​ก่อนที่​เขา​กับ Howard ​จะ​รู้​ว่า​อีก​ฝ่าย​ทำ​เรื่อง​เดียวกัน​อยู่ ​นักวิจัย​สาม​คน ​คน​หนึ่ง​มาจาก​ตรรกศาสตร์ ​คน​หนึ่ง​มาจาก combinator ​คน​หนึ่ง​มาจาก​ตัว​ตรวจสอบ​บทพิสูจน์​อัตโนมัติ ​ต่าง​เจอ​รอยต่อ​เดียวกัน​ครั้งแล้วครั้งเล่า — ​หลักฐาน​ที่​หนัก​ที่สุด​ที่​หนังสือ​เล่ม​นี้​มี ​สำหรับ​ข้อกล่าวอ้าง​ของ​มัน​เอง​ว่า​ปรัชญา​กับ​การคำนวณ​คือ​โครงการ​เดียว​ที่​ถูก​ค้นพบ​ซ้ำ ​ไม่​ใช่​สอง​โครงการ​ที่​ยืม​ของ​กัน

The correspondence gave a century-old heresy its revenge. L. E. J. Brouwer's 1908 paper "The Unreliability of the Logical Principles" rejected the law of excluded middle — the claim that every statement is either true or false — for mathematics whose objects are mental constructions rather than mind-independent facts, building on the intuitionistic program he had opened in his 1907 dissertation. For most of the twentieth century this looked like a minority taste, a scruple most working mathematicians could safely ignore. Curry–Howard explains why it stopped being optional inside a proof assistant: a constructive proof that something exists must, under the correspondence, be a program that builds the thing, while a classical proof by contradiction — assume no such object exists, derive a contradiction, conclude one does — corresponds to no program at all, because it never says how to build anything. Coq, Agda, and Lean are, at their foundations, implementations of intuitionistic type theory not out of philosophical loyalty to Brouwer but because only the constructive fragment hands back code you can run. Intuitionism became load-bearing engineering exactly at the point where it stopped being asked to defend itself philosophically.

​ความสอดคล้อง​นี้​คือ​การแก้แค้น​ของ​ความนอกรีต​ที่​มีอายุ​นับ​ศตวรรษ ​บทความ​ปี 1908 ​ของ L. E. J. Brouwer ​เรื่อง "The Unreliability of the Logical Principles" ​ปฏิเสธ​กฎ​แห่ง​ไตร​วินิจฉัย (law of excluded middle) — ​ข้อกล่าวอ้าง​ที่ว่า​ทุก​ประพจน์​เป็นจริง​หรือ​เท็จ​อย่างใดอย่างหนึ่ง​เสมอ — ​สำหรับ​คณิตศาสตร์​ที่​วัตถุ​ของ​มัน​เป็น​สิ่ง​สร้าง​ทางจิต ​ไม่​ใช่​ข้อเท็จจริง​ที่​เป็นอิสระจาก​จิต ​ต่อยอด​จาก​โครงการสัญ​ชาน​นิยม (intuitionism) ​ที่​เขา​เปิด​ไว้​ใน​วิทยานิพนธ์​ปี 1907 ​ตลอด​ศตวรรษ​ที่ 20 ​เกือบ​ทั้ง​ศตวรรษ ​ข้อ​ปฏิเสธ​นี้​ดูเหมือน​รสนิยม​ของ​คนกลุ่มน้อย ​เป็นความ​ลังเล​ใจ​ที่​นัก​คณิตศาสตร์​ผู้ทำงาน​จริง​มองข้าม​ได้​อย่าง​ปลอดภัย Curry–Howard ​อธิบาย​ว่า​ทำไม​มัน​เลิก​เป็น​ทางเลือก​ใน​โลก​ของ proof assistant: ​บทพิสูจน์​เชิง​สร้าง (constructive proof) ​ที่ว่า​บางสิ่ง​มี​อยู่ ​ภายใต้​ความสอดคล้อง​นี้ ​ต้อง​เป็น​โปรแกรม​ที่​สร้าง​สิ่ง​นั้น​ออกมา ​ส่วน​บทพิสูจน์​เชิง​คลาสสิก (classical proof) ​แบบ​พิสูจน์​โดย​ข้อขัดแย้ง — ​สมมติ​ว่า​ไม่​มี​วัตถุ​นั้น​อยู่ ​อนุมาน​ความขัดแย้ง ​สรุป​ว่า​มัน​มี​อยู่ — ​ไม่​ตรง​กับ​โปรแกรม​ใด​เลย ​เพราะ​มัน​ไม่​บอก​วิธี​สร้าง​อะไร​สัก​อย่าง Coq, Agda ​และ Lean ​ที่​รากฐาน​คือ​การสร้าง (implementation) ​ของ​ทฤษฎี​ชนิดสัญ​ชาน​นิยม (intuitionistic type theory) ​ไม่​ใช่​เพราะ​ภักดี​ทาง​ปรัชญา​ต่อ Brouwer ​แต่​เพราะ​มี​แต่​ส่วน​เชิง​สร้าง​เท่านั้น​ที่​คืน​โค้ด​ที่​รัน​ได้​กลับมา​ให้ สัญ​ชาน​นิยม​กลายเป็น​วิศวกรรม​ที่​แบก​น้ำหนัก​จริง ​พอดี​ตรงจุด​ที่​มัน​เลิก​ถูก​ขอให้​ปกป้อง​ตัวเอง​เชิง​ปรัชญา

Once that machinery existed, mathematics started handing it its hardest, longest proofs. Thomas Hales completed a proof of the Kepler conjecture — that no packing of equal spheres is denser than the familiar grocer's stack — in 1998, but the 250-page argument, part conventional and part computer-assisted, took twelve referees four years and left them only 99 percent confident it was correct. Hales responded in 2003 by launching the Flyspeck project to re-derive every step inside HOL Light and Isabelle; the formalization was completed in 2014, checked and independently rechecked that year, and published as "A Formal Proof of the Kepler Conjecture" (Forum of Mathematics, Pi, 2017). Flyspeck's tens of thousands of lemmas rest on a kernel small enough for a handful of people to inspect completely, in place of twelve referees who could only sample a proof too long to read whole. Lean's mathlib, a continuously growing, community-verified library built on the same foundations, now formalizes results across the whole of mathematics as they are proved, turning "has this been checked" into a question with a machine-checkable answer rather than a matter of reputation.

​พอกล​ไก​นั้น​มี​อยู่ ​คณิตศาสตร์​ก็​ยื่น​บทพิสูจน์​ที่​ยาก​ที่สุด​และ​ยาว​ที่สุด​ของ​ตัวเอง​ให้​มัน​ตรวจ Thomas Hales ​พิสูจน์​ข้อ​คาดการณ์​ของ Kepler (Kepler conjecture) ​สำเร็จ​ใน​ปี 1998 ​ว่า​ไม่​มี​วิธี​อัด​ทรงกลม​ขนาด​เท่ากัน​แบบ​ใด​แน่น​ไป​กว่า​กอง​ผลไม้​ที่​พ่อค้า​เรียง​ไว้ ​แต่​ข้อโต้แย้ง 250 ​หน้า​นั้น​เป็น​แบบ​ดั้งเดิม​ครึ่งหนึ่ง ​ใช้​คอมพิวเตอร์​ช่วย​อีก​ครึ่งหนึ่ง ​กินเวลา​ผู้ตรวจ​ทาน​สิบสอง​คน​ไป​สี่​ปี ​และ​จบ​ลง​ที่​ความมั่นใจ​เพียง 99 ​เปอร์เซ็นต์​ว่า​ถูกต้อง Hales ​ตอบ​ด้วย​การเปิด​โครงการ Flyspeck ​ใน​ปี 2003 ​เพื่อ​สร้าง​ทุก​ขั้นตอน​ขึ้น​ใหม่​ภายใน HOL Light ​และ Isabelle ​งาน​รูป​นัย​เสร็จ​ใน​ปี 2014 ​ตรวจสอบ​และ​ตรวจ​ซ้ำ​โดยอิสระ​ใน​ปี​เดียวกัน ​ตีพิมพ์​เป็น "A Formal Proof of the Kepler Conjecture" (Forum of Mathematics, Pi, 2017) ​บท​ตั้ง (lemma) ​หลาย​หมื่น​ข้อ​ของ Flyspeck ​วาง​อยู่​บน kernel ​ที่​เล็ก​พอให้​คน​หยิบมือเดียว​ตรวจ​ได้​ครบ​ทุก​บรรทัด ​แทน​ผู้ตรวจ​ทาน​สิบสอง​คน​ที่​สุ่ม​อ่าน​ได้​เพียง​บางส่วน​ของ​บทพิสูจน์​ที่​ยาว​เกิน​กว่า​จะ​อ่าน​จบ mathlib ​ของ Lean ​คลัง​ที่​โต​ขึ้น​ทุกวัน​และ​ชุมชน​ช่วยกัน​ตรวจ ​ยืน​บน​รากฐาน​เดียวกัน ​วันนี้​มัน​ทำ​ผลลัพธ์​ทั่ว​ทั้ง​คณิตศาสตร์​ให้​เป็น​รูป​นัย​ไป​พร้อมกับ​ที่​ผลลัพธ์​เหล่านั้น​ถูก​พิสูจน์ "​เรื่อง​นี้​ถูก​ตรวจสอบ​แล้ว​หรือยัง" ​จึง​เลิก​เป็นเรื่อง​ของ​ชื่อเสียง ​และ​กลายเป็น​คำถาม​ที่​เครื่องจักร​ตอบ​ได้

Vladimir Voevodsky pushed the foundations themselves one step further. Homotopy Type Theory: Univalent Foundations of Mathematics — the collective volume written by the Institute for Advanced Study program he led, published in 2013 — proposed reading types not as bare sets but as spaces, and proofs of equality between elements as paths between points — under Voevodsky's univalence axiom, structures that are isomorphic can be treated as identical, which gives mathematics's oldest and most abused word, "equal," a precise, checkable meaning it had never quite had before.

Vladimir Voevodsky ​ดัน​ตัว​รากฐาน​เอง​ไป​อีก​ขั้น Homotopy Type Theory: Univalent Foundations of Mathematics ​เล่ม​รวม​ที่​เขียน​โดย​โปรแกรม​ของ Institute for Advanced Study ​ที่​เขา​เป็น​ผู้นำ ​ตีพิมพ์​ปี 2013 ​เสนอ​ให้​อ่าน​ชนิด (type) ​ไม่​ใช่​เซต​เปล่าๆ ​แต่​เป็น​ปริภูมิ (space) ​และ​อ่าน​บทพิสูจน์​ความเท่ากัน​ระหว่าง​สมาชิก​เป็น​เส้นทาง​ระหว่าง​จุด ​ภายใต้​สัจพจน์​เอก​ค่า (univalence axiom) ​ของ Voevodsky ​โครงสร้าง​ที่ isomorphic ​กัน​ถือเป็น​สิ่ง​เดียวกัน​ได้ ​คำ​ว่า "​เท่ากัน" ​คำ​ที่​เก่าแก่​ที่สุด​และ​ถูก​ใช้​ผิด​หนัก​ที่สุด​ใน​คณิตศาสตร์ ​จึง​ได้ความ​หมาย​ที่​แม่นยำ​และ​ตรวจสอบ​ได้ ​ความหมาย​ที่​มัน​ไม่​เคย​มี​จริงๆ ​มา​ก่อน

None of this delivers the certainty Hilbert wanted in 1930. A proof assistant's guarantee is only as strong as its kernel, and the kernel rests on a compiler, which rests on hardware, which can fail — the same regress Wittgenstein pressed against any rule that claims to interpret itself, and the same one chapter 03 raised as a Gettier problem for sensors and pipelines. What Curry–Howard delivers instead is certainty re-engineered as a budget: instead of trusting a 250-page argument and twelve tired referees, trust a kernel of a few thousand lines, state exactly what would have to fail for the proof to be wrong, and let that be the whole of the remaining doubt. Philosophy wanted proof to end an argument once and for all; computation's counteroffer is a proof that tells you precisely how small the argument left over actually is.

​ไม่​มี​อะไร​ใน​นี้​ส่งมอบ​ความแน่นอน​แบบ​ที่ Hilbert ​ต้องการ​ใน​ปี 1930 ​การรับประกัน​ของ proof assistant ​แข็งแรง​เท่า kernel ​ของ​มัน​เท่านั้น kernel ​วาง​อยู่​บน​คอมไพเลอร์ ​คอมไพเลอร์​วาง​อยู่​บน​ฮาร์ดแวร์ ​และ​ฮาร์ดแวร์​พัง​ได้ — ​การถอย​กลับ​ไม่​รู้​จบ (regress) ​อัน​เดียว​กับ​ที่ Wittgenstein ​กดดัน​กฎ​ใดๆ ​ที่​อ้างว่า​ตีความ​ตัวเอง​ได้ ​และ​อัน​เดียว​กับ​ที่​บท​ที่ 03 ​ยกขึ้น​มา​เป็นปัญหาเก็ต​ติ​เยร์ (Gettier problem) ​ของ​เซนเซอร์​และ​ไปป์​ไลน์ ​สิ่ง​ที่ Curry–Howard ​ส่งมอบ​ให้​แทน​คือ​ความแน่นอน​ที่​ถูก​ออกแบบ​ใหม่​เป็น​งบประมาณ: ​แทนที่จะ​ไว้ใจ​ข้อโต้แย้ง 250 ​หน้า​กับ​ผู้ตรวจ​ทาน​ที่​เหนื่อยล้า​สิบสอง​คน ​ให้​ไว้ใจ kernel ​ไม่​กี่​พัน​บรรทัด ​ระบุ​ให้​ชัด​ว่า​อะไร​ต้อง​พัง​บทพิสูจน์​จึง​จะ​ผิด ​แล้ว​ให้​เท่านั้น​เป็นความ​สงสัย​ที่​เหลืออยู่​ทั้งหมด ​ปรัชญา​อยาก​ให้​บทพิสูจน์​ปิด​ข้อโต้แย้ง​เด็ดขาด​ครั้ง​เดียว​จบ ​ข้อเสนอ​โต้กลับ​ของ​การคำนวณ​คือ​บทพิสูจน์​ที่​บอก​ได้​แม่นยำ​ว่า​ข้อโต้แย้ง​ที่​เหลือ​นั้น​เล็ก​แค่​ไหน

Connections

​เชื่อมโยง

Chapter 01 introduces Curry–Howard as the logic chapter's treaty between the two disciplines; this chapter completes it. Chapter 03 is where the four-color theorem first caused its epistemological shock — this chapter is its answer. Chapter 09 supplies the incompleteness results that proof assistants must live inside rather than escape. Chapter 11's Kolmogorov complexity measures the length of a proof the way this chapter measures its trustworthiness.

​บท​ที่ 01 ​แนะนำ​ความสอดคล้อง Curry–Howard (Curry–Howard correspondence) ​ใน​ฐานะ​สนธิสัญญา​ระหว่าง​สอง​สาขาวิชา​ของ​บท​ตรรกศาสตร์ ​บท​นี้​ทำให้​มัน​ครบ ​บท​ที่ 03 ​คือ​จุด​ที่​ทฤษฎีบท​สี่​สี​ก่อ​แรง​สั่นสะเทือน​เชิง​ญาณวิทยา​ครั้งแรก ​บท​นี้​คือ​คำตอบ ​บท​ที่ 09 ​ให้ผล​ลัพธ์​เรื่อง​ความไม่​สมบูรณ์​ที่ proof assistant ​ต้อง​อยู่​ข้างใน ​ไม่​ใช่​หนี​พ้น Kolmogorov complexity ​ใน​บท​ที่ 11 ​วัด​ความยาว​ของ​บทพิสูจน์ ​แบบ​เดียว​กับ​ที่​บท​นี้​วัด​ความน่าเชื่อถือ​ของ​มัน

Open questions

​คำถาม​ที่​ยัง​เปิด​อยู่

If a kernel can be made small enough for one person to audit, has the regress of trusting the verifier actually been stopped, or only shortened to a link short enough to overlook? Does univalence settle what "the same structure" means in mathematics generally, or only inside type theory's own house? And now that Lean's mathlib checks new results as they are proved, does mathematical knowledge still need the human community of referees at all, or only the community that decides which theorems are worth proving in the first place?

​ถ้า kernel ​เล็ก​พอให้​คน​คนเดียว​ตรวจ​ได้ ​การถอย​กลับ​ไม่​รู้​จบ​ของ​การไว้ใจ​ตัว​ตรวจสอบ​หยุด​ลง​จริง​หรือ ​หรือ​แค่​ถูก​ย่อ​จน​เหลือ​จุด​เชื่อม​ที่​สั้น​พอ​จะ​มองข้าม ​สัจพจน์​เอก​ค่า (univalence) ​ยุติ​ความหมาย​ของ "​โครงสร้าง​เดียวกัน" ​ให้​คณิตศาสตร์​ทั้ง​วงการ ​หรือ​ยุติ​ได้​แค่​ใน​บ้าน​ของ​ทฤษฎี​ชนิด​เอง ​และ​ตอนนี้​ที่ mathlib ​ของ Lean ​ตรวจ​ผลลัพธ์​ใหม่​ไป​พร้อมกับ​ที่​มัน​ถูก​พิสูจน์ ​ความรู้​ทาง​คณิตศาสตร์​ยัง​ต้องการ​ชุมชน​มนุษย์​ของ​ผู้ตรวจ​ทาน​อยู่​หรือไม่ ​หรือ​ต้องการ​แค่​ชุมชน​ที่​ตัดสิน​ว่า​ทฤษฎีบท​ไหน​คุ้มค่า​แก่​การพิสูจน์​ตั้งแต่แรก

Go deeper

​อ่าน​ต่อ

  • Jean-Yves Girard, Yves Lafont, and Paul Taylor, Proofs and Types, Cambridge Tracts in Theoretical Computer Science 7 (Cambridge: Cambridge University Press, 1989) — free edition at paultaylor.eu/stable/prot.pdf.
  • William Howard, "The Formulae-as-Types Notion of Construction," in To H. B. Curry: Essays on Combinatory Logic, Lambda Calculus, and Formalism, ed. J. P. Seldin and J. R. Hindley (New York: Academic Press, 1980), 479–490; Georges Gonthier, "Formal Proof — The Four-Color Theorem," Notices of the American Mathematical Society 55 (2008): 1382–1393 — ams.org/notices/200811/tx081101382p.pdf.
  • Stanford Encyclopedia of Philosophy, "Intuitionism in the Philosophy of Mathematics" — plato.stanford.edu/entries/intuitionism.
  • Jean-Yves Girard, Yves Lafont, and Paul Taylor, Proofs and Types, Cambridge Tracts in Theoretical Computer Science 7 (Cambridge: Cambridge University Press, 1989) — free edition at paultaylor.eu/stable/prot.pdf.
  • William Howard, "The Formulae-as-Types Notion of Construction," in To H. B. Curry: Essays on Combinatory Logic, Lambda Calculus, and Formalism, ed. J. P. Seldin and J. R. Hindley (New York: Academic Press, 1980), 479–490; Georges Gonthier, "Formal Proof — The Four-Color Theorem," Notices of the American Mathematical Society 55 (2008): 1382–1393 — ams.org/notices/200811/tx081101382p.pdf.
  • Stanford Encyclopedia of Philosophy, "Intuitionism in the Philosophy of Mathematics" — plato.stanford.edu/entries/intuitionism.
บทถัดไป · 14 / 1713 · Learning Machines
Size
Page
Font

The Examined Machine — Philosophy and Computing, Each Read Through the Other

❦
100 · The Map00 · แผนที่201 · Logic01 · ตรรกศาสตร์302 · Metaphysics02 · อภิปรัชญา403 · Epistemology03 · ญาณวิทยา504 · Philosophy of Mind04 · ปรัชญาแห่งจิต605 · Philosophy of Language05 · ปรัชญาภาษา706 · Ethics06 · จริยศาสตร์807 · Political Philosophy07 · ปรัชญาการเมือง908 · Aesthetics & Phenomenology08 · สุนทรียศาสตร์และปรากฏการณ์วิทยา1009 · Computability09 · การคำนวณได้1110 · Complexity10 · ความซับซ้อน1211 · Information11 · สารสนเทศ1312 · Types and Proofs12 · ชนิดกับบทพิสูจน์1413 · Learning Machines13 · เครื่องเรียนรู้1514 · Distributed Trust14 · ความไว้วางใจแบบกระจาย1615 · The Computational Universe15 · เอกภพเชิงคำนวณ1799 · Closing99 · ปิดเล่ม