Math Foundations · math·3 · step 3 of the spine · layer II
Self-reference and the fixed point
est 20h · logged 0h · started — · touched —
The one trick behind Cantor, Russell, Gödel, and Turing — self-reference — turned from a weapon of destruction into a constructive engine: Kleene's recursion theorem (every computable program transformation has a fixed point — which is what lets a program be constructed that uses its own source), quines, the Y-combinator as anonymous recursion, Curry-Howard (proofs are programs), Rice's theorem (no total decider exists for any non-trivial semantic property of arbitrary programs), and Hofstadter's strange loop.
Context
Cantor flipped a diagonal to break the countability of the reals; Russell aimed a set at itself; Gödel encoded "this statement is unprovable"; Turing ran a machine on its own description. One trick, four costumes. Kleene (1938) then showed the same trick is also a constructive engine: his recursion theorem guarantees every computable program transformation has a fixed point — the machinery from which programs that use their own source are built — which is why quines exist, why the Y-combinator gives anonymous functions recursion, and, via von Neumann, why self-replication was understood logically before DNA's structure was found. Rice (1953) generalized the halting problem into a blanket verdict — no algorithm can decide any non-trivial semantic property for all programs (analyzers survive by answering soundly for particular programs, or saying "unknown") — and Curry-Howard (1969) closed the circle: proofs are programs, propositions are types, proof-checking is type-checking. Self-reference is the engine of both computational power and computational limits.
How to read it
Anchor. Raymond Smullyan, To Mock a Mockingbird. Combinatory logic as a birdsong puzzle book — the gentlest serious road to fixed points and the Y-combinator, by the century's great logician-puzzlist.
Companion. Sipser, Introduction to the Theory of Computation, chapter 6 — the recursion theorem with full rigor, one chapter.
Companion. Philip Wadler, "Propositions as Types" (paper and recorded talk, free) — the clearest Curry-Howard exposition in existence.
Companion. Hofstadter, Gödel, Escher, Bach — this unit is where GEB's strange loops stop being background reading and become the text. If you've been circling it since the foundations crisis, land here.
Optional. Hofstadter, I Am a Strange Loop — the same thesis aimed directly at selfhood; a bridge to the Mind path.
Do the exercises that matter: actually write a quine, in any language, without file I/O. It's the Feynman test for this whole unit.
next action
done when you can
resources
- ○To Mock a Mockingbird— Raymond Smullyananchor · book
- ○Introduction to the Theory of Computation— Michael Sipsercompanion · book
- ○Propositions as Types— Philip Wadlercompanion · paper
- ●Gödel, Escher, Bach— Douglas Hofstadtercompanion · book
- ○I Am a Strange Loop— Douglas Hofstadteroptional · book
sessions
unlocks Unit 4 (reductions are self-application with a resource budget). Unit 5 of the Philosophy of Mind page (Penrose and Hofstadter both lean on this material).