दुर्गा बेरागी Durga Beragi, homeEnter the study →

Library › Logic and philosophy of science

Godel's Proof

Ernest Nagel and James R. Newman · 1958 · New York University Press

Other editions on the shelf: Gödel's Proof (Ernest Nagel and James R. Newman)

More by Ernest Nagel on this shelf · 2 books →

Why any consistent system strong enough for arithmetic is incomplete.

About the book

Ernest Nagel and James R. Newman published Godel's Proof in 1958, expanding an article they wrote for Scientific American in 1956. It is a short book, just over a hundred pages, written for readers without training in logic. It explains Kurt Godel's incompleteness theorems of 1931. The authors first set out the background: the problem of consistency, Hilbert's programme to prove the consistency of mathematics by finite methods, and the absolute proof of consistency for a simple system. They then explain Godel numbering, the arithmetisation of logic, and how Godel built a formula that says of itself that it is not provable. A later edition was revised by Douglas Hofstadter.

Key ideas

  • Hilbert hoped to prove that arithmetic is consistent using only finite, secure methods. Godel's work showed this programme could not be carried out as planned.
  • Statements about a formal system can be encoded as numbers. Godel numbering turns claims about proofs into claims of arithmetic, so a system can talk about itself.
  • In any consistent formal system strong enough for basic arithmetic, there is a true statement that the system cannot prove. The system is incomplete. Adding it as a new axiom only creates another such statement.
  • Such a system cannot prove its own consistency using only its own resources. Any proof of consistency must use stronger assumptions than the system itself contains.
  • The authors argue the theorems show that human mathematical understanding cannot be fully captured by a fixed formal system. This conclusion is contested, and is weaker than the theorems themselves.

Why it is on this shelf

Incompleteness puts a hard limit on formal systems, including the systems computers run. This is the clearest short explanation of how the proof works. Read it before Hofstadter, and before any claim that Godel proves something about minds or machines.

How to start reading it

Read it in order; each chapter builds on the last. The section on Godel numbering is the core, so work through it with a pencil.

About this book

Godel's Proof is a short book by Ernest Nagel and James R. Newman, published by New York University Press in 1958. It grew out of an article the two men wrote for Scientific American in 1956. Its purpose is narrow and ambitious at once. It sets out to explain to readers with no training in mathematical logic what Kurt Godel proved in 1931, how he proved it, and why the result matters.

Godel's paper of 1931 is one of the landmarks of twentieth-century thought. It showed that any consistent formal system rich enough to express ordinary arithmetic contains statements it can neither prove nor disprove, and that such a system cannot establish its own consistency by its own means. The paper itself is dense and technical, written for specialists in a notation few people read. In the decades after it appeared, its conclusions were widely quoted and often misunderstood, while its method stayed out of reach for most readers. Nagel and Newman wanted to close that gap.

The book is about a hundred pages long. It does not try to give a complete proof. It gives the background needed to see what problem Godel was addressing, introduces the key device he invented, and walks through the structure of his main argument closely enough that a patient reader can see why it works. It is honest about where it simplifies. Its authors say clearly that their account is an outline and that the full proof requires many careful steps they leave out.

The question the book sets out to answer is this. Mathematicians around 1900 hoped to place all of mathematics on a foundation that could be shown, by secure means, to be free of contradiction. What became of that hope, and what does its fate tell us about the power and limits of formal reasoning? The answer, in brief, is that the hope in its original form cannot be fulfilled, and that the reason is not a flaw in any particular system but a feature of every system of a certain strength.

The book was written for the kind of reader who took Scientific American in the 1950s: educated, curious, comfortable with some algebra, not a specialist. That remains its ideal audience. It has stayed in print for more than six decades, and in 2001 a revised edition appeared with a new foreword and editorial changes by Douglas Hofstadter, whose own Godel, Escher, Bach sits on this shelf.

The authors

Ernest Nagel was born in 1901 in what is now Slovakia, then part of Austria-Hungary, and came to the United States as a child. He studied at the City College of New York and at Columbia University, where he took his doctorate and spent nearly all his career. He became one of the leading American philosophers of science. With his teacher Morris R. Cohen he wrote An Introduction to Logic and Scientific Method, a widely used textbook first published in 1934. His major later work, The Structure of Science, appeared in 1961 and offered a detailed account of explanation, theory reduction and the logic of the natural and social sciences. Nagel was a naturalist and a careful empiricist, sympathetic to the logical empiricists but independent of them. He died in 1985.

James R. Newman was born in 1907 and trained as a lawyer. He practised law and worked in government, but his lasting reputation came from his work as a writer and editor on mathematics for general readers. With Edward Kasner he wrote Mathematics and the Imagination, published in 1940, a popular book remembered among other things for introducing the word googol to a wide audience. He was a member of the board of editors of Scientific American and reviewed books for it. His four-volume anthology The World of Mathematics, published in 1956, collected classic writings on mathematics from many centuries and was a best seller. He died in 1966.

The partnership suited the book. Nagel brought exact knowledge of logic and of the foundations debates; Newman brought long practice in making hard mathematics readable without falsifying it. The result has a tone that is patient, orderly and modest. The authors do not dramatise Godel or the crisis in foundations. They explain.

Godel himself is the third figure behind the book. Kurt Godel was born in 1906 in Brno, then in the Austro-Hungarian Empire, and studied at the University of Vienna, where he attended meetings of the Vienna Circle. In his doctoral work of 1929 he proved that first-order logic is complete, meaning that every logically valid formula of that logic can be proved. Two years later, aged twenty-five, he published the incompleteness theorems. He later proved that the axiom of choice and the continuum hypothesis are consistent with the standard axioms of set theory. He moved to the Institute for Advanced Study in Princeton, where he became a close friend of Albert Einstein, and lived there until his death in 1978. Nagel and Newman do not dwell on his life. Their subject is the proof.

The shape of the argument

The book moves in three broad stages. Knowing them in advance helps, because the payoff comes late and the early material can seem like a detour.

The first stage sets the problem. The authors explain what it means for a set of axioms to be consistent and why mathematicians in the late nineteenth century began to worry about consistency. They describe the discovery of non-Euclidean geometries, which showed that axioms long thought self-evident could be replaced by others without contradiction, and the paradoxes found in set theory, which showed that apparently clear principles could lead to contradiction. They then explain the difference between relative proofs of consistency, which show that one system is consistent if another is, and absolute proofs, which would show consistency without relying on any other system being sound. David Hilbert's programme, to give absolute proofs using only finite and secure methods, is introduced here.

The second stage builds the tools. The authors explain what a fully formalised system is, a system in which the signs are treated as marks without meaning, and the rules of proof are rules for manipulating marks. They distinguish carefully between statements inside the system and statements about the system, which they call meta-mathematical. They then show a case where Hilbert's method succeeds: an absolute proof of consistency for a small system of propositional logic, the part of logic dealing with and, or, not and if-then. They also explain the idea of mapping, in which the structure of one domain is represented in another, as when geometry is represented in algebra by coordinates.

The third stage is Godel's argument itself. The authors explain how Godel assigned numbers to the signs, formulas and proofs of a formal system of arithmetic, so that statements about the system become statements about numbers. They show how this lets a formula of arithmetic say, in effect, something about its own provability. They trace in outline how Godel built a formula that says of itself that it is not provable, why this formula is undecidable if the system is consistent, and why it is nonetheless true. They then explain the second theorem, about consistency, and close with reflections on what all this means for mathematics and for the mind.

The design is cumulative. Each stage depends on the one before. That is unusual for books on this shelf, many of which can be read in any order. Here, a reader who jumps to the core argument without the background on meta-mathematics and mapping will be lost.

Idea one: consistency and why it became a problem

A set of axioms is consistent if no contradiction can be derived from it, if there is no statement such that both it and its denial can be proved. Consistency is the minimum requirement for any system of reasoning. An inconsistent system is useless, because in standard logic a contradiction allows any statement whatever to be derived. A system that proves everything tells us nothing.

For most of the history of mathematics, consistency was not seen as a problem. Axioms were thought of as self-evident truths about a definite subject matter, such as space or number. True statements cannot contradict each other, so a set of true axioms cannot lead to contradiction. The axioms of Euclid were the model.

Two developments undermined this confidence. The first was non-Euclidean geometry. In the nineteenth century, mathematicians including Lobachevsky, Bolyai and Riemann showed that Euclid's parallel postulate could be replaced by alternatives without apparent contradiction. These new geometries described spaces unlike the one most people imagined. If axioms could be varied in this way, they could no longer be seen as obvious truths about a single reality. They became assumptions, and the question of whether a set of assumptions was consistent became a real question.

The second development was the paradoxes. When Georg Cantor developed the theory of infinite sets, and Gottlob Frege tried to found arithmetic on logic, they used principles about sets that seemed perfectly clear. Bertrand Russell showed in 1901 that one such principle, roughly that any property defines a set, leads to contradiction. Consider the set of all sets that are not members of themselves. Is it a member of itself? If it is, it is not; if it is not, it is. Clear-looking assumptions had produced a flat contradiction.

How then could anyone be sure the axioms of arithmetic, or analysis, or set theory, were consistent? One method was to find a model, a structure in which all the axioms are true. If the axioms are true of something, they cannot contradict each other. Non-Euclidean geometry, for instance, can be shown consistent by finding a model of it within Euclidean geometry. But this only shows that non-Euclidean geometry is consistent if Euclidean geometry is. The problem is moved, not solved. And for systems dealing with infinite collections, any model will itself be infinite, so we cannot inspect it to check that it really does satisfy the axioms.

An analogy: a bank wants to prove it is solvent. It shows that its assets are deposits held at another bank. That proves solvency only if the second bank is solvent. Eventually someone must show solvency without pointing to another institution. That is what an absolute proof of consistency would do for mathematics.

The idea is often confused with truth. Consistency is weaker. A consistent system can contain false statements, as long as it does not contain a contradiction. It is also confused with completeness, which is a separate property: a system is complete if for every statement in its language, either the statement or its denial can be proved. Godel's results concern the relation between these two properties, and keeping them distinct is the first step to understanding the book.

Idea two: Hilbert's programme and absolute proofs

David Hilbert, the leading mathematician of his generation, proposed a way out. His idea was to formalise mathematics completely, turning each branch into a system of signs manipulated by explicit rules, and then to study the system itself as a mathematical object. The study of formal systems from outside he called proof theory, or meta-mathematics. Within meta-mathematics, he hoped to prove that no sequence of permitted manipulations could ever produce a contradiction.

Crucially, Hilbert wanted these proofs to use only finitary methods. A finitary argument deals with finite, concrete objects, such as strings of signs, and uses only reasoning that a careful skeptic would accept, without appeal to completed infinite totalities. The point was to secure the doubtful parts of mathematics, those involving infinity, using only the parts no one doubted. If finite reasoning about finite strings of symbols could show that the formal system for analysis or set theory never yields a contradiction, then the infinite mathematics could be used freely, as an instrument guaranteed not to break.

An analogy: imagine a vast game played with tokens on a board, whose rules are explicitly written down. You want to know if a certain forbidden position can ever arise. You do not need to understand what the game means. You need only to study the rules and show that no legal sequence of moves leads to that position. Hilbert wanted to do this for mathematics, treating its formulas as positions and its rules of inference as moves.

The book shows that this approach can work. For the propositional calculus, the part of logic dealing with sentence connectives, there is an absolute proof of consistency. The method is to find a property that all the axioms have, show that the rules of inference preserve it, and show that some formula lacks it. Then that formula cannot be proved, and since an inconsistent system proves everything, the system must be consistent. The property used is that of being a tautology, true under every assignment of truth values. The authors walk through this argument carefully, and it is one of the best parts of the book for a newcomer, because it shows in miniature what a successful meta-mathematical proof looks like.

The mistake to avoid here is thinking that Hilbert's programme was naive. It was a precise and serious proposal, and a great deal of valuable logic came out of it. Godel's result did not show that Hilbert was foolish. It showed that the programme as stated could not be completed for arithmetic and stronger systems, and in doing so it gave the programme a definite and illuminating answer.

Idea three: the difference between mathematics and meta-mathematics

The single most important conceptual step in the book is the distinction between statements made in a formal system and statements made about it. Nagel and Newman give this distinction careful attention, and a reader who masters it has done half the work of understanding Godel.

Consider a formal system of arithmetic. Inside it there are formulas, built of signs for zero, successor, addition, equality, variables, quantifiers and so on. A formula might say, in effect, that two plus two equals four. That is a mathematical statement. Outside the system we can say things like: this string of signs is a formula; this sequence of formulas is a proof; the formula at the end of this proof is the one that says two plus two equals four; the system contains no proof of a contradiction. These are meta-mathematical statements. They are about the system, not in it.

The distinction matters because confusing the levels produces paradoxes. The liar sentence, this sentence is false, mixes them: it is a sentence about itself that uses a notion, falsity, that belongs to talk about sentences. A related puzzle, the Richard paradox, which the book uses as a guide, arises from mixing statements about numbers with statements about the descriptions of numbers. Keeping the levels apart dissolves such paradoxes.

Here is the twist. Godel found a way to make a formal system of arithmetic talk about itself without confusing the levels. He did not mix meta-mathematics into mathematics illegitimately. He found that meta-mathematical statements could be represented exactly by arithmetical ones. The system's own formulas could then, in a precise and legitimate sense, express facts about the system's own proofs. This is what the next idea explains.

An analogy: a library catalogue is a set of cards about books. It is not one of the books. But imagine the catalogue cards are themselves bound into a book and shelved in the library. Then the catalogue has an entry for itself. Nothing illegitimate has occurred, and yet the system now contains a description of part of itself. Godel did something like this for arithmetic.

Idea four: Godel numbering

The central device of the proof is what is now called Godel numbering. The idea is to give every sign of the formal system a number, then to give every formula, which is a string of signs, a number computed from the numbers of its signs, and finally to give every proof, which is a sequence of formulas, a number computed from the numbers of its formulas. The coding uses the fact that every whole number greater than one factors uniquely into primes. A string can be encoded as a product of successive primes, each raised to the power of the code of the corresponding sign. Because factorisation is unique, the original string can always be recovered from the number.

The effect is that every expression and every proof has its own number, and that from the number we can always reconstruct the expression. Syntax has been turned into arithmetic. A claim about strings of signs becomes a claim about numbers.

Now consider meta-mathematical relations. One string is a formula; one formula is the result of substituting a sign into another; one sequence of formulas is a proof of a given formula. Each of these is a relation among strings that can be checked mechanically, by following explicit rules. Godel showed that each such relation corresponds to an arithmetical relation among the Godel numbers, one that can be defined using only addition, multiplication and the ordinary resources of arithmetic. For example, there is an arithmetical relation that holds between two numbers exactly when the first is the Godel number of a proof of the formula whose Godel number is the second.

Nagel and Newman describe this as a mapping of meta-mathematics onto arithmetic, and they prepare the reader for it by explaining earlier how mappings work in mathematics generally. Descartes mapped geometry onto algebra by giving each point coordinates, so that geometric facts became algebraic equations. Godel mapped the theory of formal proofs onto arithmetic by giving each expression a number, so that facts about proofs became facts about numbers.

A modern reader may find this easier than readers of the 1950s did, because we live with digital computers, in which everything, from text to images to programs, is stored as numbers and manipulated by arithmetic operations. A program checking whether a file is a valid document is doing arithmetic on numbers that encode the file. Godel numbering is the same idea, invented before computers, and in some ways it is one of their intellectual ancestors.

This idea is easy to misunderstand as a mere trick of labelling. It is more than that. The essential point is that the meta-mathematical relations become arithmetical relations expressible inside the system. The system can therefore state facts about its own provability using its own formulas. Without this, the self-reference in the next step would be impossible.

Work through this part of the book slowly. The authors give a small table of sign numbers and show how a short formula is coded. Make your own examples, code a few formulas, and decode a few numbers. The mechanical character of the process is what makes everything else trustworthy.

Idea five: a formula that speaks about itself

With Godel numbering in place, the next step is to build a formula that, read through the numbering, says of itself that it is not provable. This is the step most people have heard of, and the step most often described loosely. The book's contribution is to show how it can be done without any circularity or trickery.

The difficulty is obvious. A formula cannot literally contain its own Godel number, because that number is computed from the formula, and is much larger than any number written inside it. So the formula cannot simply name itself. Godel's solution uses substitution. He defines an arithmetical function that takes the number of a formula and returns the number of the formula obtained by substituting a numeral into one of its variables. Then he builds a formula with a free variable that says, in effect: the formula obtained by substituting this variable's own value into the formula numbered by that value is not provable. Finally, he substitutes into this formula the numeral for its own Godel number. The result is a closed formula, usually called G, which says that the formula with a certain number is not provable. And by construction, the formula with that number is G itself.

No step involves anything mysterious. Each is a definite construction with explicit arithmetic. The self-reference is achieved indirectly, through the coding and the substitution function, rather than by any formula pointing at itself by name. This technique, of producing self-reference by applying something to a description of itself, is now called diagonalisation, after a related argument of Cantor's. It appears throughout logic and computer science.

An everyday version may help. Consider the instruction: write out the following phrase twice, the second time in quotation marks. Apply this to the phrase write out the following phrase twice, the second time in quotation marks. The result is a sentence that describes itself, built without any part of it naming itself directly. Logicians have produced many such constructions, and programmers know the related puzzle of writing a program whose output is its own source code. Godel's formula G is built on the same principle, but inside arithmetic, and about provability rather than about printing.

The Richard paradox, which the authors use as an introduction, shows why such constructions are risky. It mixes the notion of a description of a number with the notion of a number, and produces a contradiction. Godel's construction looks superficially similar, but it is careful never to confuse the levels. It uses only arithmetical relations that genuinely mirror meta-mathematical ones. That is why it yields a theorem rather than a paradox. The authors make the comparison so that the reader can see both the resemblance and the crucial difference.

A common confusion is to think that G says I am false, like the liar paradox. It does not. It says I am not provable. That difference is everything. A sentence claiming its own falsity cannot consistently be true or false. A sentence claiming its own unprovability can be true without contradiction, provided it is indeed unprovable. Truth and provability have come apart.

Idea six: incompleteness

Now the argument closes. Suppose G could be proved in the system. Then, since G says that G is not provable, the system would prove something false about its own proofs. More precisely, if G were provable, there would be a proof of it with some Godel number, and the system, being able to check proofs arithmetically, would also be able to prove that G is provable. So it would prove both G and, in effect, the denial of G. The system would be inconsistent. Therefore, if the system is consistent, G is not provable.

Could the denial of G be proved instead? Godel showed that this too is impossible under a slightly stronger assumption about the system, which he called omega-consistency. Roughly, a system is omega-consistent if it does not both prove that some number has a property and prove, for each particular number, that it lacks the property. A few years later J. Barkley Rosser modified the construction so that ordinary consistency suffices. Nagel and Newman, writing for a general audience, simplify this part, and readers who want the precise conditions should look to more technical sources.

So G is undecidable in the system: neither it nor its denial can be proved. And yet, reasoning from outside, we can see that G is true. G says it is not provable; we have just shown that, if the system is consistent, it is not provable; so, if the system is consistent, G is true. There is a true arithmetical statement that the system cannot prove. The system is incomplete.

The natural response is to add G as a new axiom. The result is a stronger system, which can now prove G. But Godel's construction applies to the new system just as well, yielding a new undecidable formula. However many axioms we add, as long as the set of axioms can be listed by a definite procedure and the system stays consistent, there is always a true statement left unprovable. Incompleteness is not a defect of a particular set of axioms that more care could fix. It belongs to every such system.

Several conditions are needed, and they are often forgotten. The system must be consistent. It must be strong enough to express basic arithmetic of whole numbers with addition and multiplication. And its axioms and rules must be effectively specified, so that whether something is an axiom or a valid proof can be checked mechanically. Systems lacking these features can be complete. Arithmetic with addition alone, without multiplication, has a complete and consistent axiomatisation, and so does the elementary theory of the real numbers as an ordered field, a result due to Tarski. Godel's theorem is about a specific and important class of systems, not about all reasoning everywhere.

An analogy, imperfect but suggestive: imagine a perfectly honest witness who can only answer questions with yes or no, and who will never say anything false. You ask: will you answer no to this question? If the witness says yes, the answer is false. If the witness says no, the answer is again false. An honest witness must stay silent. And yet there is a fact of the matter, for the witness will not answer no. A consistent system facing G is like this witness. Its honesty forces silence on a question whose answer an outsider can see.

This result is often confused with Godel's own earlier completeness theorem, which says that first-order logic proves every formula true in all interpretations. The two are compatible. Completeness concerns what follows from axioms in every possible structure. Incompleteness concerns whether a set of axioms decides every statement about one intended structure, the natural numbers. Because there are non-standard structures that satisfy the axioms of arithmetic but differ from the natural numbers, there are statements true of the natural numbers that do not follow from the axioms. Nagel and Newman do not develop this point, but a reader who goes further will meet it.

Idea seven: a system cannot certify itself

The second incompleteness theorem follows from the first, and it is the one that answered Hilbert most directly. The meta-mathematical claim that the system is consistent can itself be expressed as a formula of arithmetic, using Godel numbering. Call it the consistency formula. It says, in effect, that there is no number that codes a proof of a contradiction.

Now, the argument for the first theorem showed: if the system is consistent, then G is not provable, and so G is true. Godel saw that this argument can be carried out inside the system itself. That is, the system can prove that if the consistency formula holds, then G holds. If the system could also prove the consistency formula, it could combine the two and prove G. But G is not provable if the system is consistent. So, if the system is consistent, it cannot prove its own consistency formula.

This is fatal to Hilbert's original programme. Hilbert wanted to prove the consistency of arithmetic using finitary methods, which were supposed to be weaker than, and contained in, ordinary arithmetic. But if arithmetic cannot prove its own consistency at all, then a fortiori it cannot do so using a restricted part of itself. Any consistency proof must use methods that go beyond the system whose consistency is in question.

The authors are careful to say what this does not mean. It does not mean arithmetic is inconsistent, or that its consistency can never be proved. It means that a proof must rely on principles not available within the system. Indeed, in 1936 Gerhard Gentzen proved the consistency of arithmetic using a form of reasoning called transfinite induction, which extends ordinary induction past the natural numbers to certain infinite ordinals. Gentzen's proof is mathematically valuable. But it uses a principle that arithmetic itself cannot prove, so it does not provide the absolute security Hilbert sought. Whether we trust it depends on whether we trust the extra principle.

An analogy: an auditor cannot certify a company's books using only the company's own records and internal procedures, however careful. If the records were wrong in some systematic way, the same procedures would fail to detect it. An outside auditor, with independent standards, is required. And that auditor's reliability must in turn be judged by standards outside the auditor. At some point we accept a standard on grounds other than proof.

This theorem is sometimes stated as proving that mathematics is uncertain or that we cannot know arithmetic is consistent. Neither follows. Mathematicians have overwhelming reasons, including Gentzen's proof and the long experience of using arithmetic without contradiction, to believe it consistent. What follows is narrower: that belief cannot be grounded in a proof that uses nothing stronger than arithmetic itself.

Idea eight: what the theorems do and do not show

Nagel and Newman end with reflections on the wider meaning of the theorems. They argue that Godel's results show the axiomatic method has inherent limits: no fixed set of axioms captures all arithmetical truth. They suggest that mathematical truth outruns any formal system, and that the human capacity to recognise mathematical truth cannot be fully captured by the rules of any calculating machine. They do not claim to have proved that minds are not machines, and they are moderate in tone, but they lean toward that view.

This conclusion is the most contested part of the book. The theorems apply to formal systems that are consistent. To argue that a human mathematician outperforms every machine, one must claim that the human can see the truth of the Godel sentence for any system, including a system that models the human's own reasoning. That requires knowing that the system modelling one's own mind is consistent, which is just what the second theorem says cannot be established from within. The philosopher J. R. Lucas argued in 1961 that Godel's theorem refutes the claim that minds are machines, and the physicist Roger Penrose developed a related argument in The Emperor's New Mind and later books. Most logicians and philosophers have not been persuaded. The objection, in short, is that humans also cannot know their own consistency, and are far from consistent in any case.

A fair reading is that Godel's theorems set limits on what any single fixed formal system can do, and that these limits apply equally to computers running a fixed program. Whether human minds escape them is a separate question that the theorems alone do not settle. Godel himself held views on this that were cautious and complex; he suggested that either the mind exceeds any machine or there are absolutely undecidable mathematical problems, without claiming to have proved which.

Other popular claims deserve resistance too. The theorems do not show that truth is relative, or that every system of thought is incomplete in the same way, or that logic is unreliable, or that God exists or does not, or that the universe is unknowable. They concern formal systems of a specific kind. They have analogues and relatives elsewhere, especially in the theory of computation, but stretching them to cover society, law, theology or ordinary language usually loses the precise conditions that make them true.

The healthiest attitude, and one the book on the whole encourages, is respect for exactly what was proved. It is one of the deepest results in mathematics. It does not need inflating.

Idea nine: incompleteness and computation

The book was written before the theory of computation became familiar, but Godel's work is closely connected to it, and a modern reader should see the link. In 1936, Alan Turing defined an abstract model of a computing machine and showed that there is no general procedure to decide whether an arbitrary machine will eventually halt. Alonzo Church reached a parallel result by a different route. These results are close cousins of incompleteness. Indeed, the first incompleteness theorem can be derived from the unsolvability of the halting problem: if there were a complete and consistent effectively specified system for arithmetic, one could use it to decide halting, which is impossible.

The requirement that a formal system be effectively specified, that its proofs can be checked mechanically, is exactly the requirement that a computer could check them. This is why the theorems bear on what computers can do. Any program that lists theorems of arithmetic, if it never lists a falsehood, must miss some truths. Any automated proof checker, however powerful, works within some formal system and is subject to its limits.

This does not make computers or formal methods less useful. Modern proof assistants, used to verify mathematical theorems and software, work within formal systems of great strength, and incompleteness rarely obstructs them in practice. Most statements anyone wants to prove are provable. Incompleteness tells us that the space of truths is not exhausted by any one system, not that the systems we use are weak. Later work found natural mathematical statements, not built by self-reference, that are true but unprovable in standard arithmetic, such as a theorem about the eventual behaviour of certain number sequences studied by Goodstein, and a strengthened form of Ramsey's theorem shown independent by Paris and Harrington. These results showed that incompleteness is not confined to artificial sentences.

For a reader interested in technology, this connection is the most practical lesson of the book. Formal verification, type systems, compilers and automated reasoning all rest on the same foundations Godel examined. Knowing their limits is part of using them well.

Idea ten: formalisation and what it buys

Behind the whole book lies an idea that is easy to pass over because it seems merely preparatory: the idea of a fully formalised system. Nagel and Newman spend time on it for good reason. Godel's theorems are about formal systems, and they cannot be understood without a clear sense of what formalisation is and why mathematicians wanted it.

To formalise a branch of mathematics is to state, completely and explicitly, three things. First, the list of signs that may be used. Second, the rules that say which strings of signs count as well-formed formulas. Third, the axioms and the rules of inference, which say which formulas may be written down at the start of a proof and how new formulas may be derived from old ones. Once this is done, a proof is just a finite sequence of formulas, each of which is an axiom or follows from earlier ones by a rule. Whether a given sequence is a proof can be checked by inspecting the signs, without knowing what they mean.

Why go to this trouble? Ordinary mathematical proofs, as written in books and papers, leave many steps to the reader and rely on shared understanding. That is efficient, but it makes it hard to be sure no hidden assumption has slipped in. The paradoxes of set theory showed that hidden assumptions could be dangerous. Formalisation makes every assumption visible. It also turns the system into a definite object that can itself be studied, which is what Hilbert's programme required.

An analogy from daily life is the difference between a recipe written for an experienced cook and a program written for a machine. The recipe says season to taste and trusts judgement. The program must say exactly what to do at every step, and nothing can be left to judgement. Formalisation turns mathematics from the first kind of text into the second. The price is length and tedium; the gain is that correctness can be checked mechanically.

The book stresses that, in a formal system, the signs are treated as meaningless marks. This is a methodological stance, not a claim that mathematics is meaningless. The point is to separate two questions: what the formulas mean, and what can be derived from what. Keeping them apart lets us ask precise questions about derivability, and it is exactly the gap between derivability and meaning, between proof and truth, that Godel exposed.

Formalisation is often confused with formalism as a philosophy of mathematics, the view that mathematics is nothing but a game with symbols. Hilbert was sometimes described as a formalist in that sense, but his programme used formalisation as a tool, and he did not deny that ordinary finite arithmetic has content. A reader can accept the value of formalisation while holding any view at all about what mathematics is ultimately about.

Where this leads is directly to Godel. Once a formal system is a definite object whose proofs can be checked mechanically, the relation of being a proof becomes a precise relation among strings of signs. A precise relation among strings can be coded as a precise relation among numbers. And a formal system strong enough for arithmetic can express precise relations among numbers. Formalisation, introduced to make mathematics secure, is exactly what made it possible for a system to describe itself, and so to discover its own limits. The tool built for Hilbert's programme turned out to be the instrument of its refutation. That irony is one of the reasons the story is worth knowing in detail, and the book is careful to let the reader see it unfold step by step rather than announcing it.

Idea eleven: truth outruns proof

The deepest philosophical lesson of the theorems, and the one the book returns to most often, is that mathematical truth and formal provability are different things. Before Godel, many mathematicians assumed that for any well-formed question about whole numbers, a proof of the answer could in principle be found from suitable axioms. After Godel, this is known to be false for any fixed set of axioms that can be listed mechanically.

This raises a question the book only touches: what, then, is mathematical truth, if not provability? One answer, often called Platonism or realism, says that the natural numbers form a definite structure that exists independently of us, and that arithmetical statements are true or false according to whether they hold in that structure. On this view, incompleteness is no surprise: our axioms are an incomplete description of something that exists in its own right. Godel himself held a view of this kind and regarded his theorems as supporting it.

Other answers are possible. A formalist might say that truth in arithmetic just means provability in some accepted system, and that the Godel sentence is true only relative to a stronger system in which it can be proved. An intuitionist, following Brouwer, might say that mathematical truth consists in what can be constructed by the mind, and might regard talk of truths beyond all proof with suspicion. Each view has to give its own account of the theorems, and each can.

Tarski's theorem on the undefinability of truth, proved shortly after Godel's work, sharpens the point. It shows that no sufficiently strong formal language can define its own truth predicate. Truth for a language can be defined only in a richer language. So there is a hierarchy: each system's truths are described from a level above. This mirrors the second incompleteness theorem, in which each system's consistency is established from a level above.

A reader need not settle these philosophical questions to understand the book. But it helps to see that the theorems do not by themselves choose among them. What they establish is a precise gap. How to interpret the gap is philosophy, and the debate continues.

An analogy: a map is always simpler than the territory it represents. However detailed the map, there are features of the ground it leaves out. Adding detail produces a better map, never a complete one. On a realist reading, formal systems are maps of the numbers, and Godel showed that every map of the right kind leaves something out. On other readings the analogy needs changing, but the existence of a gap that no fixed map can close remains.

The tradition around it

Godel's theorems answer a question that the whole history of this shelf's logic section leads up to. Aristotle's Organon set out the first systematic account of valid inference, but it treated logic as a tool for reasoning about a world, not as an object of study in its own right. Descartes, in the Discourse on Method, held up mathematics as the model of certain knowledge, built from clear and distinct starting points by evident steps. The Port-Royal Logic of Arnauld and Nicole carried this ideal into a practical art of thinking. All of them assumed that sound starting points and careful steps would deliver all the truths of a subject. Godel showed that, for arithmetic, this assumption is false whenever the starting points are fixed in advance.

Boole's Investigation of the Laws of Thought showed that logic could be treated algebraically, as a calculus of symbols. Frege's Foundations of Arithmetic and his later formal work tried to derive arithmetic from pure logic, and Russell's discovery of the paradox in Frege's system was one of the crises that made consistency a pressing concern. Whitehead and Russell's Principia Mathematica rebuilt the logicist programme on safer ground, with the theory of types. Godel's paper was explicitly about Principia Mathematica and related systems; its title says so. Russell's Introduction to Mathematical Philosophy, also here, gives a readable account of the programme Godel's result struck.

Poincare, in Science and Hypothesis, defended the view that mathematical induction expresses a power of the mind that cannot be reduced to logic, and he was sceptical of the logicist and formalist programmes. Some readers have seen Godel as vindicating parts of Poincare's view, since induction and the intuition of number seem to outrun any formal system. The parallel is suggestive but should not be pressed too hard; Poincare's arguments were of a different kind.

Hilbert's programme, described at length in Nagel and Newman, is the immediate target. Hilbert had announced in his famous 1900 list of problems that the consistency of arithmetic should be proved, and he believed every well-posed mathematical problem could be solved. Godel's work refuted that hope in its strong form. Hilbert's own response was muted, but the field of proof theory that he founded continued and flourished, partly by finding out exactly how much extra strength is needed to prove the consistency of various systems.

Hofstadter's Godel, Escher, Bach, on this shelf, takes Godel's self-reference as the central theme of a long meditation on minds, music, art and machines. It is best read after Nagel and Newman, who supply the precise core that Hofstadter's playful treatment expands. Hofstadter himself edited the revised edition of Nagel and Newman, which shows how he regarded the book.

Quine's From a Logical Point of View, also here, offers a different response to the foundations crisis. Quine treats logic and set theory as designed systems, revisable in principle. His essay on New Foundations proposes yet another set theory to avoid the paradoxes. Godel's theorems apply to Quine's systems as to all others of their strength. Lakatos's Proofs and Refutations argues that mathematics advances not by deduction from fixed axioms but by a dialogue of conjectures, counterexamples and revised definitions. Godel's result fits Lakatos's picture in one respect: if no fixed axiom system captures all mathematical truth, mathematics must remain open, its foundations extended over time.

Matilal's The Character of Logic in India offers a contrast. Indian logicians developed sophisticated accounts of inference, of self-reference, and of the conditions under which an argument is defeated. Some Buddhist and Nyaya debates concern statements that refute themselves, a theme close to Godel's construction in spirit. But Indian logic did not develop the formalisation of arithmetic that Godel's theorems require, and the comparison is best treated as one of family resemblance, not identity.

After Godel, the ideas spread in several directions. Tarski proved that truth for a formal language cannot be defined within that same language, a sibling result. Turing and Church connected incompleteness to computation. Godel and later Paul Cohen showed that the continuum hypothesis, a central question of set theory, can neither be proved nor disproved from the standard axioms. Later work showed that a famous problem of Hilbert's list about solving whole-number equations has no general algorithmic solution, building on the same family of ideas. Popular and philosophical discussion continued too. Torkel Franzen's book on the uses and abuses of Godel's theorem, published in 2005, is a careful corrective to loose claims and pairs well with Nagel and Newman.

Questions and criticisms

The main criticism of the book is that it simplifies, and that some of its simplifications can mislead. The authors are open about leaving out detail, but a reader can come away thinking the proof is easier than it is, or that some steps which are hard in fact are routine. In particular, showing that the relation of being a proof can be expressed by an arithmetical formula, and that the system can prove enough about that formula, requires extensive and careful work that the book compresses into a few pages. The technical notions of recursive functions and representability, which do this work in modern presentations, are barely mentioned.

A related criticism concerns precision. Some formulations in the original edition were loose about the exact conditions of the theorems, such as the role of omega-consistency and the requirement that the axioms be effectively listable. The revised edition prepared by Hofstadter addressed some of these points, but readers who want exact statements should go to a textbook of mathematical logic.

The second main criticism concerns the concluding reflections. The authors' suggestion that the theorems show human reasoning cannot be captured by machines has been widely questioned, for the reasons given above. Many logicians regard this as the weakest part of the book. A reader should treat it as a philosophical opinion, not a consequence of the mathematics.

A third point is historical. The book presents Godel's result chiefly as a refutation of Hilbert. That is fair, but it can leave the impression that proof theory ended in 1931. In fact it flourished. Modern proof theory measures precisely the strength of systems, classifies which theorems need which axioms, and has practical applications in computer science. Incompleteness was not the end of the foundations programme but the beginning of a more modest and more exact version of it.

What has aged is mainly the absence of the computational perspective. Written before computers were common, the book does not present the theorems in terms of algorithms and programs, which is now the most natural way to understand them for many readers. The notation, based on Principia Mathematica, is also older than what most current textbooks use.

What has held up is the core explanation. The account of consistency, of absolute and relative proofs, of meta-mathematics, of Godel numbering and of the self-referential construction remains clear and accurate. For a reader without formal training, there is still no shorter route to a real understanding of how the proof works. That is why the book is still in print and still recommended by logicians to beginners.

Why it is on this shelf

The shelf note puts it briefly: any consistent system strong enough for arithmetic is incomplete. That single fact affects how we should think about every formal system, from axiomatic mathematics to the software that runs on every computer. A reader of science and technology should know it precisely, not as a slogan.

For the reader of economics, the book is a lesson in what formal models can and cannot do. A fully specified model has fixed axioms and rules. Some questions about its own behaviour it cannot answer from inside. The habit the book teaches, of distinguishing statements in a system from statements about it, is useful whenever one reasons about models, rules or institutions.

For the reader of Vedanta and Indian philosophy, the book offers an exact case of a theme that recurs there in other forms: that a system of knowledge cannot fully contain or ground itself, and that something stands outside any finite statement of rules. We keep the parallel at arm's length, because the theorems are precise and the philosophical traditions speak in a different register. But the book helps a reader see what a rigorous statement of such a limit looks like, and so to judge looser versions more carefully. The same applies to Jyotish, a system that combines exact calculation with interpretive rules: knowing the difference between what a calculation establishes and what is claimed about it is the habit Nagel and Newman train.

We keep it here, above all, because it does something few books do. It takes one of the hardest results of modern thought and makes it genuinely understandable, without falsifying it, in a hundred pages.

How to read it

Read the book in order. Unlike many books on this shelf, it cannot be dipped into. Each section depends on the one before, and the core argument will make little sense without the background.

Take the first half, on consistency, Hilbert's programme and absolute proofs, at a steady pace over two or three sittings. Pay special attention to the worked example of an absolute consistency proof for propositional logic. Make sure you can explain to yourself why a property shared by all axioms and preserved by the rules shows that the system is consistent. If that is clear, you understand the method Hilbert hoped to extend.

Slow down sharply for the section on Godel numbering and the main argument. Have a pencil and paper. Copy the table that assigns numbers to signs. Code a short formula into its Godel number using prime powers, then decode it again. Then follow the definition of the self-referential formula step by step, writing down at each step what the formula says when read through the coding. Expect to read this section two or three times. It is short but dense.

Read the concluding reflections last, and critically. Ask, at each claim about mind and machine, whether it follows from the theorems or adds an assumption. The answer is usually the second.

The whole book can be read in a week of evenings, with the core argument taking most of the time. A second reading a month later, straight through, is very rewarding. Things that were obscure fall into place.

Next from this shelf, read Hofstadter's Godel, Escher, Bach for a long and playful exploration of the same ideas. Read Russell's Introduction to Mathematical Philosophy for the logicist background, and Frege's Foundations of Arithmetic for its origin. Read Lakatos's Proofs and Refutations for a picture of mathematics as an open, developing practice. Readers who want the full technical proof should go on to a textbook of mathematical logic that covers recursion theory and the incompleteness theorems in detail.

Questions to carry

  • What exactly is the difference between a system being consistent and a system being complete?
  • Why is a relative proof of consistency not enough to answer the worry about foundations?
  • What made Hilbert think finitary methods would be secure, and was he right to think so?
  • How does the absolute consistency proof for propositional logic work, and why does it not extend to arithmetic?
  • Why must the coding of formulas into numbers be reversible?
  • How does the Godel sentence refer to itself without containing its own number?
  • Why is a sentence that says I am not provable different from one that says I am false?
  • In what sense do we know the Godel sentence is true, and what assumption does that knowledge rest on?
  • If adding the Godel sentence as an axiom does not cure incompleteness, what does that say about the axiomatic method?
  • Does Gentzen's consistency proof give us knowledge that arithmetic is consistent? On what does that knowledge rest?
  • Do the theorems tell us anything about whether minds are machines?
  • Which systems escape incompleteness, and why?
  • How is incompleteness related to the impossibility of deciding whether a program halts?
  • Where in your own work do you rely on a system that cannot check its own reliability?

Words to know

  • Axiom: a statement taken as a starting point in a formal system, assumed rather than proved.
  • Formal system: a set of signs, rules for forming formulas, axioms and rules of inference, treated mechanically without regard to meaning.
  • Consistency: the property of a system in which no statement and its denial can both be proved.
  • Completeness: the property of a system in which every statement in its language, or its denial, can be proved.
  • Omega-consistency: a stronger form of consistency used in Godel's original proof, later shown by Rosser to be unnecessary for the first theorem.
  • Relative consistency proof: a proof that one system is consistent if another is.
  • Absolute consistency proof: a proof of consistency that does not rely on the consistency of another system.
  • Hilbert's programme: the plan to formalise mathematics and prove its consistency by finitary methods.
  • Finitary methods: reasoning about finite, concrete objects such as strings of signs, without appeal to completed infinities.
  • Meta-mathematics: the study of formal systems from outside, making statements about formulas and proofs rather than within the system.
  • Propositional calculus: the logic of sentence connectives such as and, or, not and if-then.
  • Tautology: a formula of propositional logic that is true under every assignment of truth values.
  • Mapping: a correspondence that represents the structure of one domain in another, as coordinates represent geometry in algebra.
  • Godel numbering: the coding of signs, formulas and proofs as numbers, so that statements about syntax become statements of arithmetic.
  • Prime factorisation: the unique way of writing a whole number as a product of primes, which makes Godel codes reversible.
  • Diagonalisation: a technique that produces self-reference by applying a construction to a description of itself.
  • Richard paradox: a paradox about numbers defined by descriptions, used in the book as a guide to Godel's construction.
  • Undecidable sentence: a sentence that a given system can neither prove nor refute.
  • First incompleteness theorem: any consistent, effectively specified system strong enough for basic arithmetic has true statements it cannot prove.
  • Second incompleteness theorem: such a system cannot prove its own consistency.
  • Transfinite induction: an extension of mathematical induction to infinite ordinals, used in Gentzen's consistency proof.
  • Halting problem: the question whether a given program will ever stop, shown by Turing to have no general algorithmic solution.

A note on this edition

This is a study edition written for this shelf in our own words. It explains and comments on Nagel and Newman's Godel's Proof but does not reproduce it. The book itself is in copyright and is worth getting from a library or a bookshop. Its core chapters, read with a pencil, are the clearest short path most readers will find into one of the great results of modern logic.

Terms from this book with their own page: Axiom, Formal system, Halting problem, Completeness, Consistency

More from “Logic and philosophy of science”

The whole section →