G7 · The Scientist Gallery · The Common Language

Whitehead and Russell

470 files here run Lean, whose kernel is a dependent type theory; “theory of types” reads zero. The rule the Principia Mathematica was built around, applied to this corpus, found the ruler counting itself — twelve times.

Part I · The Foundation, Unnamed

ch-newton found that this series borrows a title and none of its apparatus. The other Principia is worse, because the corpus does not merely borrow the name — it runs on the mathematics. Measured at HEAD, entity-aware, this page and its Book 13 companion classified out:

patternfileschapters
Lean470405
incompleteness4739
Gödel3127
paradox3027
Cantor2018
self-reference139
diagonal argument88
type theory76
dependent type33
Russell33
Whitehead · Principia Mathematica · Frege1 each1 each
theory of types00
vicious circle00
propositional calculus00
Sheffer · axiom of reducibility00
definite description · logicism00

The corpus discusses the phenomenon at length — paradox 27 chapters, self-reference 9, incompleteness 39 — and holds none of the machinery built for it. Lean's kernel is a dependent type theory; types were invented in this book, to block a paradox. Part IV is the part that made this page necessary rather than decorative.

Part II · The Stroke, and What One Symbol Suffices For

The 1925 second edition opens by giving away a piece of its own machinery. Where the first edition took not-p and p or q as indefinables, the second takes Sheffer's single one — p|q, “p is incompatible with q” — and defines the rest:

~p = p|p p ∨ q = ~p|~q p ⊃ q = p|~q p . q = ~(p|q) p q p|q ~p p⊃q p∨q p.q F F T T T F F F T T T T T F T F T F F T F T T F F T T T

Block [2] does not take the sufficiency of the stroke on authority. It enumerates every expression in p and q reachable from the stroke and collects the truth function each realises: 16 of 16, with ~p coming out as the shortest, (p|p). And block [3] takes a formula printed in the Introduction — Nicod's single primitive proposition, which replaces the five of ∗1 —

{p|(q|r)} | [ {t|(t|t)} | {(s|q)|((p|s)|(p|s))} ]

and evaluates it on all 32 rows: true on every one. A source checked against itself, which is the strongest kind of block this corpus writes. The rule of inference — given p and p|(q|r), infer r — is sound on all eight rows, with no row making both premises true and the conclusion false.

And ∗54.43, the proposition Volume I is famous for, in the only sense it claims: for unit classes α and β, α ∩ β = Λ if and only if α ∪ β ∈ 2. Checked in every finite universe from 2 to 6 elements, no mismatch. It is not a proof that one plus one is two; it is the statement of what that sentence means once classes and cardinals have been defined, which is the point of taking 360 pages to reach it.

Part III · The Diagonal, and the Authors' Own Caveat

Block [5] runs Russell's paradox in the form that survives — no map from a set onto its power set — by enumerating every map and looking for the diagonal set D = {x : x ∉ f(x)} in its image:

n maps D outside the image 1 2 2 2 16 16 3 512 512 4 65 536 65 536

Exhaustive, not sampled. But the caveat belongs to the authors, and it is the most self-aware sentence in either Principia. Of the Axiom of Reducibility they write that it has “a purely pragmatic justification” and that “clearly it is not the sort of axiom with which we can rest content”, and they record that without it “Cantor's proof that 2ⁿ > n breaks down unless n is finite”. Block [5] is entirely inside the case they say survives — finite n — and says so. An ASSUME tag, declared by the authors, in their own introduction, about their own axiom.

Part IV · The Vicious Circle, in This Corpus

Introduction ch. II states the rule the whole book is arranged around: no object may be defined in terms of a totality that includes itself. The theory of logical types enforces it, and it enforces it in a specific way — by stratifying the range of a variable. That last clause is the operative one, and it is what tools/self_reference.py was written to test: not whether a script mentions a word, but whether the set it counts over contains the script.

What it found

WP-82's twelve-row rung table counts the paper that prints it. Block [6] re-derives it:

book6/wp82-the-missing-floor.html is not in the tree at 654fb06, the commit its first column names — book6/wp81 is the last working paper in that commit. So the first column ranges over a corpus without the ruler: 0 of 12 rows contain it. At d97154e, which the second column names, the paper is in the tree and matches all 12 of its own patterns, because it prints them in its Pattern column.

Two columns, two totalities, and a spurious +1 in every row of the second.

The remedy is Russell's: stratify the range. Both columns now exclude the ruler, and at 654fb06 that changes nothing — which is how the exclusion is known to be the right one rather than a convenient one. Stratified, rung 28 goes 2 → 17 and rung 33 goes 31 → 56, and the inversion the paper reported narrows to 3.3 : 1 rather than 3.0 : 1. The finding survives and the numbers moved, which is the ordinary outcome of measuring the same thing twice.

The instrument and what it means for the rest of the repository are in Book 13 · The Range of a Variable, which is where the type theory belongs, because that is where this corpus's Lean work lives.

Sources
PM Vol IA. N. Whitehead and B. Russell, Principia Mathematica, Volume I, 2nd edition, Cambridge University Press. Introduction to the Second Edition (the stroke, Nicod's reduction, the Axiom of Reducibility and the Cantor caveat); Introduction ch. II, The Theory of Logical Types; ch. III, Incomplete Symbols; ∗12, ∗14, ∗54.
ShefferH. M. Sheffer, on a single indefinable for Boolean algebra, Trans. Amer. Math. Soc. 14, as cited in PM's second-edition Introduction.
NicodJ. Nicod, “A reduction in the number of the primitive propositions of logic”, Proc. Camb. Phil. Soc. 19, as cited there.
in-corpusch-newton · ch-types · WP-82 · tools/self_reference.py · tools/corpus_count.py
verificationbook7/ch-whitehead-russell-verify.py — eight blocks, standard library only. Every number on this page is printed by it.
Scholium — scope of this page

No type hierarchy is constructed here. The Axiom of Reducibility is quoted, not examined, and the ramified/simple distinction is not touched; the claim that Lean's dependent type theory descends from this work is a historical reading, made here and not checked. Blocks [1]–[5] are exhaustions over finite sets — evidence, not proof — and block [5] is finite in exactly the place the authors identify. Nothing here addresses Gödel, whose theorems are what most of the corpus's 39 “incompleteness” chapters concern and which postdate this volume by two decades. No priority is claimed: Principia Mathematica is 1910–1913.

← Newton Book 7 index The Range of a Variable →