‹

01 · Logic

01 · Logic

01 · ​ตรรกศาสตร์

This is Part I's first hearing, the discipline standing closest to the courtroom itself — logic is where philosophy and computing were still, for a while, one undivided family.

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

What happened when the laws of thought became a machine?

​กฎ​แห่ง​ความคิด​กลายเป็น​เครื่องจักร ​แล้ว​เกิด​อะไร​ขึ้น

On 10 August 1937, a twenty-one-year-old graduate student named Claude Shannon submitted a master's thesis to MIT's electrical engineering department. Its claim was almost embarrassingly simple to state: the algebra George Boole had invented in 1854 to describe human reasoning — an algebra of true and false, of "and," "or," and "not" — was also the algebra of switches wired in series and parallel. A closed switch is 1; an open switch is 0. Two switches in series compute AND; two in parallel compute OR. Shannon showed that any relay circuit could be simplified the way a logician simplifies a formula, and that any Boolean formula could, in turn, be built out of relays. The published version, "A Symbolic Analysis of Relay and Switching Circuits" (Transactions of the American Institute of Electrical Engineers 57, 1938: 713–723), led the psychologist Howard Gardner, in 1985, to call it "possibly the most important, and also the most famous, master's thesis of the century" (History of Information). Logic had been a description of thought for two thousand years. After Shannon, it was also a wiring diagram.

​วันที่ 10 ​สิงหาคม 1937 ​นักศึกษา​ปริญญาโท​วัย​ยี่สิบ​เอ็ด​ปี​ชื่อ​โคลด ​แชน​นอน ​ยื่น​วิทยานิพนธ์​ต่อ​ภาควิชา​วิศวกรรมไฟฟ้า​ของ MIT ​ข้อเสนอ​เรียบง่าย​จน​แทบ​น่าอาย: ​พีชคณิตบูล (Boolean algebra) ​ที่​จอร์จ บูล​คิด​ขึ้น​ใน​ปี 1854 ​เพื่อ​อธิบาย​การให้เหตุผล​ของ​มนุษย์ — ​พีชคณิต​ของจริง​กับ​เท็จ ​ของ "​และ" "​หรือ" ​และ "​ไม่" — ​ก็​คือ​พีชคณิต​ของ​สวิตช์​ที่​ต่อ​อนุกรม​และ​ขนาน ​สวิตช์​ปิด​คือ 1 ​สวิตช์​เปิด​คือ 0 ​สวิตช์​สอง​ตัวต่อ​อนุกรม​คำนวณ AND ​ต่อ​ขนาน​คำนวณ OR ​แชน​นอน​แสดงว่า​วงจร​รีเลย์​ใดๆ ​ลดรูป​ได้​แบบ​เดียว​กับ​ที่​นัก​ตรรกวิทยา​ลดรูป​สูตร ​และ​สูตรบูล​ใดๆ ​ก็​ประกอบ​ขึ้น​จาก​รีเลย์​ได้ ​ฉบับ​ตีพิมพ์ "A Symbolic Analysis of Relay and Switching Circuits" (Transactions of the American Institute of Electrical Engineers 57, 1938: 713–723) ​ทำให้​นักจิตวิทยา​ฮาว​เวิร์ด ​การ์ด​เนอร์ ​เรียก​มัน​ใน​ปี 1985 ​ว่า "​อาจ​เป็น​วิทยานิพนธ์​ปริญญาโท​ที่​สำคัญ​ที่สุด ​และ​มีชื่อเสียง​ที่สุด ​ของ​ศตวรรษ" ("possibly the most important, and also the most famous, master's thesis of the century") (History of Information) ​สอง​พันปี​ที่ผ่านมา ​ตรรกศาสตร์​เป็น​คำอธิบาย​ความคิด ​หลัง​แชน​นอน ​มัน​เป็น​แผนผัง​การเดินสาย​ไฟ​ด้วย

That collision was not a straight line, and the straight line usually told is wrong. Aristotle's Prior Analytics had fixed logic's shape for two millennia: the syllogism, a machine of exactly three lines — "All Greeks are mortal; Socrates is a Greek; therefore Socrates is mortal" — valid by form alone, regardless of what the words meant. It was rigorous, and it was also nearly frozen; logicians spent centuries cataloguing which syllogistic figures were valid rather than extending the method. Boole's An Investigation of the Laws of Thought (1854) broke the freeze by algebraizing it: propositions became equations over 0 and 1, "and" became multiplication, "or" became addition, and inference became solving. This looks, in hindsight, like a rediscovery of Leibniz's seventeenth-century dream of a calculus ratiocinator — a calculus for settling arguments — and it is tempting to tell the story as an unbroken inheritance. It was not. Boole did not know of Leibniz's anticipations of his algebra when Laws of Thought appeared; he learned of them afterward, from Robert Leslie Ellis, and was reportedly delighted rather than deflated to find Leibniz had glimpsed the same terrain two centuries earlier (SEP, Leibniz's Influence on 19th-Century Logic). Gottlob Frege, by contrast, did claim Leibniz's mantle deliberately when he built the next floor. The seam between the two disciplines was rediscovered at least as often as it was handed down — evidence, again, that both keep arriving at the same idea because they are excavating the same ground independently, not passing a single torch hand to hand.

​การปะทะ​กัน​นั้น​ไม่​ใช่​เส้นตรง ​และ​เส้นตรง​ที่​เล่า​กัน​มา​ก็​ผิด Prior Analytics ​ของ​อริสโตเติล​ตรึง​รูปร่าง​ของ​ตรรกศาสตร์​ไว้​สอง​พันปี: ​ซิล​โล​จิ​ซึม (syllogism) ​เครื่องจักร​สาม​บรรทัด​เป๊ะๆ — "​ชาว​กรีก​ทุกคน​ตาย ​โสกราตีส​เป็น​ชาว​กรีก ​ฉะนั้น​โสกราตีส​ตาย" — ​สมเหตุสมผล​ด้วย​รูปแบบ​ล้วนๆ ​ไม่​ว่า​ถ้อยคำ​จะ​หมายถึง​อะไร ​มัน​รัดกุม ​และ​มัน​ก็​เกือบ​แข็งตัว ​นัก​ตรรกวิทยา​ใช้เวลา​หลาย​ศตวรรษ​ไล่​จัด​หมวด​ว่า​รูปแบบ​ซิล​โล​จิ​ซึม​แบบ​ไหน​สมเหตุสมผล ​แทนที่จะ​ขยาย​วิธีการ An Investigation of the Laws of Thought (1854) ​ของบูล​ทุบ​ความแข็ง​ตัว​นั้น​ด้วย​พีชคณิต: ​ประพจน์​กลายเป็น​สมการ​เหนือ 0 ​กับ 1 "​และ" ​คือ​การคูณ "​หรือ" ​คือ​การบวก ​อนุมาน​คือ​การแก้​สมการ ​มอง​ย้อนกลับ​ไป ​นี่​ดูเหมือน​การค้นพบ​ซ้ำ​ความฝัน​ของ​ไลบ์​นิซ​ใน​ศตวรรษ​ที่​สิบ​เจ็ด​เรื่อง calculus ratiocinator — ​แคลคูลัส​สำหรับ​ยุติ​ข้อโต้แย้ง — ​และ​ชวน​ให้​เล่า​เป็น​มรดก​ที่​สืบทอด​กัน​มา​ไม่ขาดสาย ​แต่​ไม่​ใช่ ​ตอนที่ Laws of Thought ​ตีพิมพ์ บูล​ไม่​รู้​ว่า​ไลบ์​นิซ​คาดการณ์​พีชคณิต​ของ​เขา​ไว้​ล่วงหน้า ​เขา​รู้ที​หลังจาก​โรเบิร์ต เลส​ลี ​เอล​ลิส ​และ​มี​รายงาน​ว่า​เขา​ยินดี ​ไม่​ใช่​ห่อเหี่ยว ​ที่​พบ​ว่า​ไลบ์​นิซ​เคย​เห็น​แวบ​หนึ่ง​ของ​ดินแดน​เดียวกัน​ก่อนหน้า​สอง​ศตวรรษ (​สารานุกรม​ปรัชญา​สแตนฟอร์ด (SEP), Leibniz's Influence on 19th-Century Logic) ​กอทท์ล็อบ เฟร​เก​กลับกัน ​เขา​อ้าง​เสื้อคลุม​ของ​ไลบ์​นิ​ซอ​ย่าง​จงใจ​ตอน​สร้าง​ชั้น​ถัดไป ​ตะเข็บ​ระหว่าง​สอง​สาขาวิชา​ถูก​ค้นพบ​ใหม่​บ่อย​พอๆ ​กับ​ที่​ถูก​ส่งต่อ — ​หลักฐาน​อีกครั้ง​ว่า​ทั้งคู่​มาถึง​ความคิด​เดียวกัน ​เพราะ​ต่าง​ขุด​พื้นดิน​ผืน​เดียวกัน​โดยอิสระ​จากกัน ​ไม่​ใช่​ส่ง​คบเพลิง​เล่ม​เดียว​จาก​มือ​สู่​มือ

Frege's Begriffsschrift (1879) is the second principle this chapter needs: quantification. Boole's algebra could say "some men are wise" only clumsily, as a fact about classes; it had no clean way to express "for every x, if x is a man, x is mortal" as a single manipulable structure with a variable running through it. Frege built exactly that — a notation, admittedly nothing like the ∀ and ∃ symbols used today, but expressively equivalent to them, in which generality and existence become operators binding a variable inside a formula. This is the single move that let logic swallow the reasoning used throughout ordinary mathematics, not just its syllogistic fragment — and it is also, not incidentally, the ancestor of the variable in every programming language: a slot that a quantifier, or a for loop, ranges over.

Begriffsschrift (1879) ​ของเฟร​เก​ให้​หลักการ​ที่สอง​ที่​บท​นี้​ต้องการ: ​การบ่ง​ปริมาณ (quantification) ​พีชคณิต​ของบูล​พูดว่า "​มนุษย์​บางคน​ฉลาด" ​ได้​อย่าง​เงอะงะ ​ใน​ฐานะ​ข้อเท็จจริง​เรื่อง​คลาส​เท่านั้น ​มัน​ไม่​มีทาง​สะอาด​ที่จะ​แสดง "​สำหรับ​ทุก x ​ถ้า x ​เป็น​มนุษย์ x ​ตาย" ​เป็น​โครงสร้าง​เดียว​ที่​หยิบ​มา​จัดการ​ได้ ​โดย​มี​ตัวแปร​วิ่ง​ผ่าน เฟร​เกส​ร้าง​สิ่ง​นั้น​พอดี — ​สัญกรณ์​ที่​ต้อง​ยอมรับ​ว่า​ไม่​เหมือน​สัญลักษณ์ ∀ ​กับ ∃ ​ที่​ใช้​กัน​ทุกวันนี้​เลย ​แต่​แสดงออก​ได้​เทียบเท่า​กัน ​ใน​นั้น​ความเป็นสากล​กับ​การมี​อยู่​กลายเป็น​ตัวดำเนินการ​ที่​ผูก​ตัวแปร​ไว้​ใน​สูตร ​การเคลื่อนไหว​เดียว​นี้​เอง​ที่​ทำให้​ตรรกศาสตร์​กลืน​การให้เหตุผล​ทั้งหมด​ที่​คณิตศาสตร์​ทั่วไป​ใช้ ​ไม่​ใช่​แค่​เศษ​เสี้ยว​ซิล​โล​จิ​ซึม — ​และ​มัน​เป็น​บรรพบุรุษ​ของ​ตัวแปร​ใน​ทุก​ภาษา​โปรแกรม​ด้วย ​ไม่​ใช่​เรื่อง​บังเอิญ: ​ช่องว่าง​ที่​ตัว​บ่ง​ปริมาณ (quantifier) ​หรือ​ลูป for ​วิ่งไล่​ผ่าน

The third principle is the split Shannon's circuits do not resolve: proof is not truth. In 1929, in his doctoral dissertation under Hans Hahn, Kurt Gödel proved first-order logic complete — answering a question Hilbert and Ackermann had posed the year before, he showed that every logically valid formula of first-order logic has a formal proof, and (the companion property, soundness) that every provable formula is valid. Two years later, the same man showed the coin's other face: any consistent formal system rich enough to contain elementary arithmetic must be incomplete — it contains true arithmetical statements it cannot prove. First-order logic itself is complete; arithmetic built on top of it is not. The two results are not in tension, because they answer different questions about different systems, but together they mean something exact and permanent: mechanizing inference (soundness and completeness for logic) is not the same project as mechanizing all of mathematical truth (which Gödel showed cannot be finished). A circuit can decide whether an argument's form is valid. It cannot decide whether every true statement about numbers has a proof, because some do not.

​หลักการ​ที่สาม​คือ​รอยแยก​ที่​วงจร​ของ​แชน​นอน​ไม่​ได้​แก้: ​การพิสูจน์​ไม่​ใช่​ความจริง ​ปี 1929 ​ใน​วิทยานิพนธ์​ปริญญาเอก​ภายใต้​ฮันส์ ​ฮาห์น ​เคิร์ท ​เก​อเดิล​พิสูจน์​ว่า​ตรรกศาสตร์​อันดับ​หนึ่ง​สมบูรณ์ (completeness) — ​ตอบคำถาม​ที่​ฮิ​ลแบร์ท​กับ​อัคเคอร์มันน์​ตั้ง​ไว้​เมื่อปีก่อน​หน้า ​เขา​แสดงว่า​ทุก​สูตร​ที่​สมเหตุสมผล​เชิง​ตรรกะ​ใน​ตรรกศาสตร์​อันดับ​หนึ่ง​มี​บทพิสูจน์​ใน​ระบบ​รูป​นัย (formal system) ​และ (​คุณสมบัติ​คู่​กัน​คือ​ความสมเหตุสมผล​เชิง​ตรรกะ (soundness)) ​ทุก​สูตร​ที่​พิสูจน์​ได้​ก็​สมเหตุสมผล ​สอง​ปี​ต่อมา ​ชาย​คนเดียว​กัน​พลิก​อีก​ด้าน​ของ​เหรียญ​ให้​ดู: ​ระบบ​รูป​นัย​ที่​สมนัย​กันเอง​ใดๆ ​ที่​อุดม​พอ​จะ​บรรจุ​เลขคณิต​พื้นฐาน ​ต้อง​ไม่​สมบูรณ์ — ​มัน​บรรจุ​ข้อความ​เลขคณิต​ที่​เป็นจริง​แต่​พิสูจน์​ไม่​ได้ ​ตัว​ตรรกศาสตร์​อันดับ​หนึ่ง​เอง​สมบูรณ์ ​เลขคณิต​ที่​สร้าง​ทับ​บน​มัน​ไม่​สมบูรณ์ ​ผลลัพธ์​สอง​อันนี้​ไม่​ขัดกัน ​เพราะ​ตอบ​คนละ​คำถาม​เกี่ยวกับ​คนละ​ระบบ ​แต่​รวมกัน​แล้ว​มัน​หมายถึง​บางอย่าง​ที่​แน่นอน​และ​ถาวร: ​การทำให้​การอนุมาน​เป็น​กลไก (​ความสมเหตุสมผล​เชิง​ตรรกะ​และ​ความสมบูรณ์​ของ​ตรรกศาสตร์) ​ไม่​ใช่​โครงการ​เดียว​กับ​การทำให้​ความจริง​ทาง​คณิตศาสตร์​ทั้งหมด​เป็น​กลไก (​ซึ่ง​เก​อเดิล​แสดง​แล้ว​ว่า​ทำให้​เสร็จ​ไม่​ได้) ​วงจร​ตัดสิน​ได้​ว่า​รูปแบบ​ของ​ข้อโต้แย้ง​สมเหตุสมผล​ไหม ​มัน​ตัดสิน​ไม่​ได้​ว่า​ทุก​ข้อความ​จริง​เกี่ยวกับ​ตัวเลข​มี​บทพิสูจน์​ไหม ​เพราะ​บาง​ข้อความ​ไม่​มี

The fourth principle turns logic from a way of checking arguments into a way of writing programs. Robert Kowalski's 1979 slogan "Algorithm = Logic + Control" (Communications of the ACM 22, no. 7: 424–436) proposed splitting any procedure into a logic component — what is true, stated declaratively — and a control component — how a machine searches for it. Alain Colmerauer and Philippe Roussel had already built the proof of concept in Marseille in the summer of 1972, working out the top-down search strategy with Kowalski himself during his visits from Edinburgh: Prolog, a language in which a program is literally a set of logical clauses, and running the program means asking the machine to prove a theorem from them by resolution (Kowalski, "The Early Years of Logic Programming"). For the first time, writing a specification and writing an executable were, formally, the same act.

​หลักการ​ที่สี่​เปลี่ยน​ตรรกศาสตร์​จาก​วิธี​ตรวจ​ข้อโต้แย้ง ​เป็น​วิธี​เขียน​โปรแกรม ​สโลแกน​ปี 1979 ​ของ​โรเบิร์ต ​โค​วาล​สกี "Algorithm = Logic + Control" (Communications of the ACM 22, no. 7: 424–436) ​เสนอ​ให้​ผ่า​กระบวน​วิธี​ใดๆ ​ออก​เป็น​สอง​ส่วน: ​ส่วน​ตรรกะ — ​สิ่ง​ที่​เป็นจริง ​ระบุ​แบบ​ประกาศ (declarative) — ​กับ​ส่วนควบคุม — ​เครื่องจักร​ค้นหา​มัน​อย่างไร ​อาแล็ง ​กอล​เม​โร​กับ​ฟี​ลิป ​รู​แซล​สร้าง​การพิสูจน์​แนวคิด​ไว้​ก่อน​แล้ว​ที่มาร์​แซ​ย์ ​ฤดูร้อน​ปี 1972 ​คิด​กลยุทธ์​การค้นหา​แบบ​บน​ลง​ล่าง​ร่วมกับ​โค​วาล​สกี​เอง​ระหว่าง​ที่​เขา​ไป​เยือน​จาก​เอดินบะระ: Prolog ​ภาษา​ที่​โปรแกรม​หนึ่ง​คือ​ชุด​อนุประโยค​เชิง​ตรรกะ​โดยแท้ ​และ​การรัน​โปรแกรม​คือ​การขอให้​เครื่องพิสูจน์​ทฤษฎีบท​จาก​อนุประโยค​เหล่านั้น​ด้วย resolution (Kowalski, "The Early Years of Logic Programming") ​การเขียน​ข้อกำหนด​กับ​การเขียน​โปรแกรม​ที่​รัน​ได้ ​เป็นการ​กระทำ​เดียวกัน​ใน​ทาง​รูป​นัย​เป็นครั้งแรก

The fifth principle is the deepest handshake between the two courts in this entire book: the Curry–Howard correspondence. In 1934, Haskell Curry noticed that the types assignable to the combinators of combinatory logic matched, term for term, the axioms of intuitionistic implicational logic ("Functionality in Combinatory Logic," PNAS 20). William Howard extended the observation to full natural deduction and the lambda calculus in 1969, though the paper that made it famous, "The Formulae-as-Types Notion of Construction," was not published until 1980, in a festschrift for Curry. The correspondence says something stronger than analogy: a proposition is a type, a proof of that proposition is a program of that type, and simplifying a proof — removing a detour — is running the program one step. Logic and computation are not two things that resemble each other; under Curry–Howard, for a wide and growing class of systems, they are the same thing described twice. Modern proof assistants (Coq, Agda, Lean) are, quite literally, programming languages in which a well-typed program is a certificate that a theorem is true.

​หลักการ​ที่​ห้า​คือ​การจับมือ​ที่​ลึก​ที่สุด​ระหว่าง​สอง​ศาล​ตลอดทั้ง​เล่ม: ​ความสอดคล้อง Curry–Howard ​ปี 1934 ​แฮ​สเคลล์ ​เคอร์​รี​สังเกตว่า​ชนิด (type) ​ที่​กำหนดให้​ตัว​รวม​ของ​ตรรกะ​เชิง​การจัด (combinatory logic) ​ตรงกัน​ทีละ​พจน์​กับ​สัจพจน์​ของ​ตรรกะสัญ​ชาน​นิยม (intuitionistic logic) ​เชิง​เงื่อนไข ("Functionality in Combinatory Logic," PNAS 20) ​วิลเลียม ​ฮาว​เวิร์ด​ขยาย​ข้อสังเกต​นี้​ไป​ถึง​การนิรนัย​ธรรมชาติ (natural deduction) ​เต็ม​รูปแบบ​และ​แคลคูลัส​แลมบ์ดา (lambda calculus) ​ใน​ปี 1969 ​แม้​บทความ​ที่​ทำให้​มัน​มีชื่อเสียง "The Formulae-as-Types Notion of Construction" ​จะ​รอ​ถึง​ปี 1980 ​จึง​ได้​ตีพิมพ์ ​ใน​หนังสือ​รวม​บทความ​เชิดชู​เกียรติ​เคอร์​รี ​ความสอดคล้อง​นี้​พูด​แรง​กว่า​การเปรียบ​เทียบ: ​ประพจน์​หนึ่ง​คือ​ชนิด​หนึ่ง ​บทพิสูจน์​ของ​ประพจน์​นั้น​คือ​โปรแกรม​ของ​ชนิด​นั้น ​และ​การลดรูป​บทพิสูจน์ — ​ตัดทาง​อ้อม​ทิ้ง — ​คือ​การรัน​โปรแกรม​ไป​หนึ่ง​ขั้น ​ตรรกศาสตร์​กับ​การคำนวณ​ไม่​ใช่​สอง​สิ่ง​ที่​คล้าย​กัน ​ภายใต้ Curry–Howard ​สำหรับ​กลุ่ม​ระบบ​ที่​กว้าง​และ​กำลัง​ขยายตัว ​มัน​คือ​สิ่ง​เดียวกัน​ที่​ถูก​อธิบาย​สอง​ครั้ง proof assistant (​ตัว​ช่วย​พิสูจน์) ​สมัยใหม่ (Coq, Agda, Lean) ​เป็น​ภาษา​โปรแกรม​โดยแท้จริง ​ที่​โปรแกรม​ที่​พิมพ์​ถูกต้อง (well-typed) ​คือ​ใบรับรอง​ว่า​ทฤษฎีบท​หนึ่ง​เป็นจริง

The people, briefly. Boole was self-taught, working as a schoolmaster in Lincoln before a professorship at Cork; Frege spent most of his career unread, his logic noticed chiefly because Bertrand Russell wrote to him in 1902 to point out a contradiction in it. Kurt Gödel worked in near isolation in Vienna and later Princeton, distrustful to the point of starving himself in his final year. Haskell Curry and William Howard are barely names outside logic departments — fitting, for a correspondence whose own publication was delayed eleven years, as if the ideas in this chapter have a habit of arriving before anyone is ready to print them.

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

Connections

​เชื่อมโยง

Chapter 00 is this chapter's parent: the Frege–Russell–Hilbert–Gödel–Turing pipeline is narrated there in full; this chapter stays inside logic's own family quarrel. Chapter 09 returns to 1936 to ask what the Church–Turing thesis actually claims. Chapter 11 owns Shannon's later severing of information from meaning in 1948; this chapter's Shannon stops at 1937, where circuits meet Boole and nothing yet has been said about meaning. Chapter 12 takes Curry–Howard to its full depth, through Brouwer's intuitionism and mechanized mathematics.

​บท​ที่ 00 ​คือ​บท​แม่​ของ​บท​นี้: ​สายพานเฟร​เก–​รัสเซลล์–​ฮิ​ลแบร์ท–​เก​อเดิล–ทัว​ริง​เล่า​ไว้​ครบถ้วน​ที่นั่น ​บท​นี้​อยู่​แค่​ใน​เรื่อง​ทะเลาะ​กันเอง​ใน​ครอบครัว​ตรรกศาสตร์ ​บท​ที่ 09 ​ย้อนกลับ​ไป​ปี 1936 ​เพื่อ​ถาม​ว่า​ข้อ​ตั้ง Church–Turing ​อ้าง​อะไร​กัน​แน่ ​บท​ที่ 11 ​เป็นเจ้าของ​เรื่อง​ที่​แชน​นอน​ตัด​ความหมาย​ออกจาก​สารสนเทศ​ใน​ภายหลัง ​ปี 1948 ​แชน​นอน​ของ​บท​นี้​หยุด​ที่​ปี 1937 ​ตรง​ที่​วงจร​มา​บรรจบ​กับบูล ​และ​ยัง​ไม่​มี​ใคร​พูดถึง​ความหมาย​เลย ​บท​ที่ 12 ​พา​ความสอดคล้อง Curry–Howard ​ลง​ไป​จน​สุด​ความลึก ​ผ่าน​ตรรกะสัญ​ชาน​นิยม​ของ​บราว​เวอร์​และ​คณิตศาสตร์​เชิงกล​ไก

Open questions

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

If Boole and Leibniz, and later Frege, kept independently finding the same seam, is a mathematized logic something humanity was always going to discover once algebra and doubt about the syllogism coincided — or was the coincidence itself contingent? And if proof and program are truly the same object under Curry–Howard, which discipline should be said to have discovered the other: did computing find out it was secretly doing logic, or did logic find out it was secretly executable?

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

Go deeper

​อ่าน​ต่อ

  • Ernest Nagel and James R. Newman, Gödel's Proof, New York University Press, 1958 — still the clearest short account of what completeness and incompleteness do and do not say.
  • Claude Shannon, "A Symbolic Analysis of Relay and Switching Circuits," Transactions of the American Institute of Electrical Engineers 57 (1938): 713–723; William Howard, "The Formulae-as-Types Notion of Construction," in To H.B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalism, eds. J.P. Seldin and J.R. Hindley, Academic Press, 1980 (written 1969).
  • Gödel's Incompleteness Theorems, Stanford Encyclopedia of Philosophy.
  • Ernest Nagel and James R. Newman, Gödel's Proof, New York University Press, 1958 — ​ยังคง​เป็น​คำอธิบาย​สั้น​ที่​ชัดเจน​ที่สุด ​ว่าความ​สมบูรณ์​กับ​ความไม่​สมบูรณ์​บอก​อะไร​และ​ไม่​บอก​อะไร
  • Claude Shannon, "A Symbolic Analysis of Relay and Switching Circuits," Transactions of the American Institute of Electrical Engineers 57 (1938): 713–723; William Howard, "The Formulae-as-Types Notion of Construction," in To H.B. Curry: Essays on Combinatory Logic, Lambda Calculus and Formalism, eds. J.P. Seldin and J.R. Hindley, Academic Press, 1980 (​เขียน​ขึ้น​ปี 1969)
  • Gödel's Incompleteness Theorems, SEP
บทถัดไป · 3 / 1702 · Metaphysics
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 · ปิดเล่ม