A Brief History — Aristotle to Gödel

LOGIC
The form of valid inference

§ — § — §

From the syllogism to incompleteness: twenty-three centuries of trying to mechanize reasoning, and the discovery that reason itself has limits.

I. Antiquity · c. 350 B.C.

Aristotle · The Syllogism

Prior Analytics, Book I

Aristotle isolated form from content. A valid argument is valid because of its shape, not its subject matter. He catalogued the moods of the categorical syllogism — three terms, three propositions, fixed structure.

ALL M are P.
ALL S are M.
——————
∴ ALL S are P.

(Mood: BARBARA, figure I)
S M P
Containment: SMP
II. The Stoa · c. 300 B.C.

Stoic Logic · Propositional Connectives

Chrysippus and the school of the Stoa

While Aristotle reasoned about classes of things, the Stoics reasoned about propositions. They built logic from whole sentences linked by connectives — and so anticipated the propositional calculus by two millennia.

AND    pq
OR     pq
IF     pq
NOT    ¬p
Modus Ponens:
pq
p
—————
q

Chrysippus is said to have written more than 700 logical treatises. Almost all are lost; only fragments survive in Diogenes Laertius and Sextus Empiricus.

III. Schoolmen · XIV cent.

Ockham · Theory of Supposition

William of Ockham (c. 1287–1347), Summa Logicae

The medievals took Aristotle and refined him with surgical care. Their central problem: how does a term refer in a proposition? Ockham's theory of supposition distinguished the modes by which a word stands for a thing.

SUPPOSITIO PERSONALIS — the term stands for the thing.
  "Socrates is a man."

SUPPOSITIO SIMPLEX — for the concept.
  "Man is a species."

SUPPOSITIO MATERIALIS — for the word itself.
  "'Man' has three letters."

Ockham insisted that universals are signs in the mind, not entities in the world — entia non sunt multiplicanda praeter necessitatem. The razor cuts in logic too.

IV. The Modern Birth · 1879

Frege · Begriffsschrift

A formula language of pure thought

Gottlob Frege's 88-page pamphlet of 1879 is the most important event in logic since Aristotle. He invented quantifiers — the ∀ and ∃ that bind variables — and with them, predicate logic.

For the first time, statements like "every prime greater than two is odd" could be written in a calculus where validity was a matter of mechanical form.

x ( P(x) → Q(x) )

x ( P(x) ∧ R(x) )
————————
∴ ∃x ( Q(x) ∧ R(x) )

Frege's two-dimensional notation was unreadable; Peano and Russell rewrote it in the linear form we still use.

V. Logicism · 1910–1913

Russell & Whitehead · Principia Mathematica

Three volumes. 1,996 pages. The dream of reducing mathematics to logic.

If logic is the form of all valid inference, perhaps mathematics is just logic in elaborate dress. Bertrand Russell and Alfred North Whitehead set out to derive arithmetic, analysis, and set theory from a handful of logical axioms.

PM, Vol. I, Prop. *54.43
⊢ .  α, β ∈ 1 .  ⊃ .  (α ∩ β = Λ)
  ≡  (α ∪ β) ∈ 2

"From this proposition it will follow,
when arithmetical addition has been
defined, that 1 + 1 = 2."

The proof of 1 + 1 = 2 arrives on page 379 of Volume I. The project nearly broke them. And then it broke.

VI. Crisis · 1901

Russell's Paradox

In 1901 Russell sent Frege a letter that destroyed Frege's life work just as Volume II of his Grundgesetze was at the printer.

Consider R, the set of all sets that are not members of themselves. Is R a member of itself?

Let  R = { x : xx }

IF   RR  THEN  RR.
IF   RR  THEN  RR.

∴  CONTRADICTION.
universe of sets R RR?
A set that contains itself iff it does not.
VII. The Program · 1920s

Hilbert's Programme

"Wir müssen wissen — wir werden wissen." — D. Hilbert, Königsberg, 1930

David Hilbert proposed a rescue. We will rebuild mathematics on an unshakable formal base. Three demands:

COMPLETE

Every true statement
can be proved within
the system.
CONSISTENT

No statement P and
its negation ¬P
are both provable.
DECIDABLE

A mechanical procedure
determines, for any P,
whether P is provable.

If completed, mathematics would be a finite, mechanical game with no remaining mysteries. The famous Entscheidungsproblem: find the algorithm.

VIII. The Limit · 1931

Gödel · Incompleteness

Über formal unentscheidbare Sätze, 1931

Kurt Gödel, age 25, demolished the program. By coding statements as numbers, he constructed a sentence G that says, in effect:

"This sentence has no proof in the system."

If G is provable, the system is inconsistent. If G is unprovable, the system is incomplete — and G is true.

FIRST INCOMPLETENESS
Any consistent formal
system F capable of
arithmetic contains
true statements that F
cannot prove.

SECOND INCOMPLETENESS
No such F can prove
its own consistency.

Proof sketch:
  Cons(F) → G
  FG
  ∴  F ⊬ Cons(F)
IX. The Machine · 1936

Turing · The Halting Problem

"On Computable Numbers, with an Application to the Entscheidungsproblem"

Five years after Gödel, Alan Turing settled the third of Hilbert's demands. He invented an idealized machine — tape, head, finite states — and asked: is there a program that decides whether any given program will eventually halt?

Suppose HALT(P, x) decides
whether program P halts on input x.

Define D(P):
  IF HALT(P, P) THEN loop forever
  ELSE halt.

Now consider D(D).
  If D(D) halts → D(D) loops.
  If D(D) loops → D(D) halts.
∴ HALT cannot exist.

From this it follows that first-order logic has no general decision procedure. The Entscheidungsproblem has a negative answer. And, incidentally, the modern computer was born.

X. Beyond Truth · XX cent.

Modal Logic · Necessity & Possibility

C. I. Lewis (1918), Saul Kripke (1959)

Classical logic knows only that propositions are true or false. But ordinary speech distinguishes could be, must be, might have been. Modal logic adds two operators:

&Box; P  —   P is necessary
P  —   P is possible

P ≡ ¬&Box;¬P
&Box; PP  (axiom T)
&Box; P → &Box;&Box;P  (axiom 4)

Possible-worlds semantics

Kripke's masterstroke: a sentence is necessary iff true in every accessible world; possible iff true in some.

w w′ w′′ w′′′
Worlds and the accessibility relation
XI. The Living Subject

Modern Currents

Type Theory

Russell's stratified hierarchy of types — rebuilt by Per Martin-Löf — gives a foundation in which terms inhabit types. Modern proof assistants (Coq, Lean, Agda) compute in it.

Intuitionistic Logic

L. E. J. Brouwer rejected the law of the excluded middle: a proposition is true only when constructively provable. P ∨ ¬P is no longer free.

Curry–Howard

Propositions are types. Proofs are programs. To prove AB is to write a function from A to B. Logic and computation are one structure seen twice.

Curry–Howard:

  AB   ↔    function AB
  AB   ↔    pair (A, B)
  AB   ↔    sum A | B
  ∀x:A. B(x)  ↔   dependent function type
XII. Coda

References & Further Viewing

Primary & classic texts

  • Aristotle, Prior Analytics (c. 350 B.C.).
  • William of Ockham, Summa Logicae (c. 1323).
  • G. Frege, Begriffsschrift (1879).
  • Russell & Whitehead, Principia Mathematica (1910–13).
  • K. Gödel, "Über formal unentscheidbare Sätze..." (1931).
  • A. Turing, "On Computable Numbers..." (1936).
  • S. Kripke, "Semantical Considerations on Modal Logic" (1963).

Lectures online

"The propositions of logic are tautologies.
The propositions of logic therefore say nothing.
(They are the analytical propositions.)"


— Wittgenstein, Tractatus, 6.1, 6.11
§ — finis — §
01 / 13