JOVANA
Explore Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
Back to the library
數學 1879

概念文字(Begriffsschrift):一種模仿算術而構造、用於純粹思維的公式語言

戈特洛布·弗雷格

給邏輯配上量詞的那套記號——「所有」與「有的」從此可以計算。

Choose your version
In depth · the introduction

1879 年之前,邏輯沒法在同一句話裡把「所有」和「有的」都說清楚。一本小書解決了這件事——也悄悄奠定了現代邏輯。

給邏輯一套說「所有」與「有的」的語法

兩千年來,形式邏輯就是亞里斯多德的三段論——對付「所有人都會死」綽綽有餘,可面對「每個數都有更大的數」這種把一個「每個」套進一個「有的」裡的句子,就無能為力了。弗雷格把邏輯從根上重建。他不再把句子讀成「主詞加謂詞」,而是讀成「函數填入自變量」,再為「普遍性」加上一個精確的符號。有了它,「所有」「有的」以及事物之間的「關係」,終於能被精確地寫下來,並按規則推理。

耶拿的一位沉默教授

戈特洛布·弗雷格在耶拿大學教數學。1879 年,他出版了一本僅 88 頁、標題古怪的小書——《概念文字》(Begriffsschrift,意為「概念的書寫」)——通篇用他自創的、鋪張的二維記號印成。他追的是萊布尼茲的一個古老夢想:一種精確到「推理幾乎可以機械進行」的書面語言。幾乎沒人看得懂。最有分量的那篇書評,把它貶為布林早已做過之事的劣化版本。此後數十年,弗雷格的天才大體無人識得,直到伯特蘭·羅素等人看出了他究竟建起了什麼。

它為何重要

弗雷格的概念文字,是一切現代邏輯的根基,並經由邏輯成為電腦科學的根基。「你可以把命題寫得毫不含糊,再按固定規則逐步核驗論證」——正是這一點,讓電腦能夠核驗一個證明、執行一次資料庫查詢、跟住一段程式的邏輯。他還把邏輯裡的「如果……那麼……」釘死了:除非「如果」成立而「那麼」不成立,否則它為真——這正是一條電路或一行程式碼所遵循的規則。

從句子到藍圖

想想「用流暢的散文描述一台機器」和「把它畫成藍圖」的差別。散文豐富卻含混;藍圖把每個零件、每處連接都定死,誰都能照著造,不必猜。弗雷格把邏輯那鬆散的散文,變成了藍圖。他的量詞,是藍圖裡「這對每個零件都成立」的說法;他的條件式,則是一根精確的導線:除非輸入為開而輸出為關,否則就有信號送出。

一個可互動面板,五個對象各有標著 F 與 G 的兩個開關。隨著切換,工具顯示「所有 F 都是 G」與「有的 F 是 G」是否為真,並在「所有」那句失敗時用紅圈標出那唯一的例外。

它在知識譜系中的位置

弗雷格立於布林與二十世紀諸般基礎之間。布林在 1854 年把邏輯變成了一種代數;弗雷格的謂詞邏輯,則成了希爾伯特提出他 1900 年問題所用的語言,成了哥德爾證明(1931)「任何這樣的系統都無法證明關於算術的全部真理」所用的語言,也成了圖靈(1936)定義「何為計算」所用的語言。那些里程碑——本館也都收錄——無一不是用弗雷格發明的語法寫成的。

The original document
Original source text
Gottlob Frege · Begriffsschrift, eine der arithmetischen nachgebildete Formelsprache des reinen Denkens · Halle a/S.: Louis Nebert · 1879
A note on this presentation: the booklet's two-dimensional notation cannot be reproduced in running text, and its German prose is summarised below rather than quoted. The full original is at the source link.
Preface
Frege explains that, while testing how far arithmetic could be carried by inference alone, he found ordinary language too pliable to keep a chain of reasoning free of unnoticed gaps; so he devised a written notation for 'pure thought' in which every assumption is made explicit. He invokes Leibniz's old dream of a universal characteristic — a calculus of reasoning — while disclaiming that he had achieved anything so vast. He likens his concept-script to a microscope and everyday language to the eye: the eye is versatile but limited in resolving power, the microscope useless for daily life yet unmatched for the single scientific purpose it is built for.
[ … ]
Part I — Definition of the symbols
Frege sets out his primitive signs: the judgment stroke, which asserts a content; the conditional, joining two contents and denied only when the first holds while the second does not; negation; the identity of content; and, decisively, the sign for generality — a concavity carrying a variable letter — which binds a variable and lets a statement speak of every object at once. Replacing the old subject–predicate split with a function–argument analysis, he can now express relations and nested generality that earlier logic could not.
[ … ]
Part II — Representation and derivation of some judgments of pure thought
From a small set of basic laws (axioms) and essentially a single rule of inference — detaching the consequent of an asserted conditional whose antecedent is also asserted — Frege derives a sequence of logical theorems, each step formally justified. It is the first worked demonstration of proof carried out inside a fully specified formal system.
[ … ]
Part III — Some elements of a general theory of sequences
Frege defines, in purely logical terms, what it means for one object to follow another in a series: he frames the notion of a property inherited along a relation, and from it the 'ancestral' of that relation. With no appeal to intuition or counting, this captures 'following in a sequence' — the logical seed of mathematical induction and of his later attempt to ground arithmetic in logic alone.
Jena · 1879