Reading preferences
Optional display controls need JavaScript. All reading content and navigation work without it.
Source file content/incompleteness/theories-computability/theories-computability.tex
Editorial
This chapter depends on material in the chapter on computability theory, but can be left out if that hasn't been covered. It's currently a basic conversion of Jeremy Avigad's notes, has not been revised, and is missing exercises.
Source file content/incompleteness/theories-computability/introduction.tex
Introduction
Editorial
This section should be rewritten.
We have the following:
A definition of what it means for a function to be representable in source (the definition of representability of a function in Q)
a definition of what it means for a relation to be representable in source (the definition of representability of a relation in Q)
a theorem asserting that the representable functions of source are exactly the computable ones (the theorem that a function is representable in Q exactly when it is computable)
a theorem asserting that the representable relations of source are exactly the computable ones the theorem characterizing computable relations by representability in Q)
A em theory is a set of sentences that is deductively closed, that is, with the property that whenever source proves source then source is in source. It is probably best to think of a theory as being a collection of sentences, together with all the things that these sentences imply. From now on, we will use source to refer to the em theory consisting of the set of sentences derivable from the eight axioms in the introduction to representability in Q and its eight axioms. Remember that we can code formula of source as numbers; if source is such a formula, let source denote the number coding source. Modulo this coding, we can now ask whether various sets of formulas are computable or not.
Source file content/incompleteness/theories-computability/q-is-ce.tex
source is c.e.-Complete
Q is computably enumerable complete
source is c.e. but not decidable. In fact, it is a complete c.e. set.
Proof
It is not hard to see that source is c.e., since it is the set of (codes for) sentences source such that there is a proof source of source in source:
But we know that source is computable (in fact, primitive recursive), and any set that can be written in the above form is c.e.
Saying that it is a complete c.e.\ set is equivalent to saying that source, where source. So let us show that source is reducible to source. Since Kleene's predicate source is primitive recursive, it is representable in source, say, by source. Then for every source, we have
Conversely, if source, then, in fact, for some natural number source the formula source must be true. Now, if source were false, source would prove source, since source represents source. But then source proves a false formula, which is a contradiction. So source must be true, which implies source.
In short, we have that for every source, source is in source if and only if source proves source. So the function source which takes source to (a code for) the sentence source is a reduction of source to source.
Source file content/incompleteness/theories-computability/oconsis-ext-of-q-undec.tex
source-Consistent Extensions of source are Undecidable
Explain
The proof that source is c.e.-complete relied on the fact that any sentence provable in source is “true” of the natural numbers. The next definition and theorem strengthen this theorem, by pinpointing just those aspects of “truth” that were needed in the proof above. Don't dwell on this theorem too long, though, because we will soon strengthen it even further. We include it mainly for historical purposes: Gödel's original paper used the notion of source-consistency, but his result was strengthened by replacing source-consistency with ordinary consistency soon after.
Definition of omega consistency
A theory source is source-consistent if the following holds: if source is any sentence and source proves source, source, source, dots then source does not prove source.
Omega consistent extensions of Q are undecidable
Let source be any source-consistent theory that includes source. Then source is not decidable.
Proof
If source includes source, then source represents the computable functions and relations. We need only modify the previous proof. As above, if source, then source proves source. Conversely, suppose source proves source. Then source must be in source: otherwise, there is no halting computation of machine source on input source; since source represents Kleene's source relation, source proves source, source, dots, making source source-inconsistent.
Source file content/incompleteness/theories-computability/extensions-of-q-not-decidable.tex
Consistent Extensions of source are Undecidable
Explain
Remember that a theory is consistent if it does not prove both source and source for any formula source. Since anything follows from a contradiction, an inconsistent theory is trivial: every sentence is provable. Clearly, if a theory if source-consistent, then it is consistent. But being consistent is a weaker requirement (i.e., there are theories that are consistent but not source-consistent.). We can weaken the assumption in the preceding definition of omega consistency to simple consistency to obtain a stronger theorem.
There is no universal computable binary relation
There is no “universal computable relation.” That is, there is no binary computable relation source, with the following property: whenever source is a unary computable relation, there is some source such that for every source, source is true if and only if source is true.
Proof
Suppose source is a universal computable relation. Let source be the relation source. Since source is computable, for some source, source is equivalent to source. But then we have that source is equivalent to both source and source, which is a contradiction.
Consistent extensions of Q are undecidable
Let source be any consistent theory that includes source. Then source is not decidable.
Proof
Suppose source is a consistent, decidable extension of source. We will obtain a contradiction by using source to define a universal computable relation.
Let source hold if and only if
Since we are assuming that source is decidable, source is computable. Let us show that source is universal. If source is any computable relation, then it is representable in source (and hence source) by a formula source. Then for every source, we have
and
That is, for every source, source is true if and only if source is. So source is universal, and we have the contradiction we were looking for.
Let “true arithmetic” be the theory source, that is, the set of sentences in the language of arithmetic that are true in the standard interpretation.
True arithmetic is undecidable
True arithmetic is not decidable.
Source file content/incompleteness/theories-computability/computably-axiomatizable.tex
axiomatizable Theories
A theory source is said to be axiomatizable if it has a computable set of axioms source. (Saying that source is a set of axioms for source means source.) Any “reasonable” axiomatization of the natural numbers will have this property. In particular, any theory with a finite set of axioms is axiomatizable.
Computably axiomatizable theories are computably enumerable
Suppose source is axiomatizable. Then source is computably enumerable.
Proof
Suppose source is a computable set of axioms for source. To determine if source, just search for a derivation of source from the axioms.
Put slightly differently, source is in source if and only if there is a finite list of axioms source, dots, source in source and a derivation of source in first-order logic. But we already know that any set with a definition of the form “there exists dots such that dots” is c.e., provided the second “dots” is computable.
Source file content/incompleteness/theories-computability/complete-decidable.tex
axiomatizable Complete Theories are Decidable
A theory is said to be em complete if for every sentence source, either source or source is provable.
Complete computably axiomatizable theories are decidable
Suppose a theory source is complete and axiomatizable. Then source is decidable.
Proof
Suppose source is complete and source is a computable set of axioms. If source is inconsistent, it is clearly computable. (Algorithm: “just say yes.”) So we can assume that source is also consistent.
To decide whether or not a sentence source is in source, simultaneously search for a derivation of source from source and a derivation of source. Since source is complete, you are bound to find one or the other; and since source is consistent, if you find a derivation of source, there is no derivation of source.
Put in different terms, we already know that source is c.e.; so by a theorem we proved before, it suffices to show that the complement of source is c.e. also. But a formula source is in source if and only if source is in source; so source.
Source file content/incompleteness/theories-computability/first-incompleteness.tex
source has no Complete, Consistent, Axiomatizable Extensions
First incompleteness theorem from undecidability
There is no complete, consistent, axiomatizable extension of source.
Proof
We already know that there is no consistent, decidable extension of source. But if source is complete and axiomatized, then it is decidable.
Explain
This theorems is not that far from Gödel's original 1931 formulation of the First Incompleteness Theorem. Aside from the more modern terminology, the key differences are this: Gödel has “source-consistent” instead of “consistent”; and he could not say “axiomatizable” in full generality, since the formal notion of computability was not in place yet. (The formal models of computability were developed over the following decade, including by Gödel, and in large part to be able to characterize the kinds of theories that are susceptible to the Gödel phenomenon.)
The theorem says you can't have it all, namely, completeness, consistency, and axiomatizability. If you give up any one of these, though, you can have the other two: source is consistent and computably axiomatized, but not complete; the inconsistent theory is complete, and computably axiomatized (say, by source), but not consistent; and the set of true sentence of arithmetic is complete and consistent, but it is not computably axiomatized.
Source file content/incompleteness/theories-computability/inseparability.tex
Sentences Provable and Refutable in source are Computably Inseparable
Let source be the set of sentences whose em negations are provable in source, i.e., source. Remember that disjoint sets source and source are said to be computably inseparable if there is no computable set source such that source and source.
Provable and refutable sentences of Q are computably inseparable
Proof
Suppose source is a computable set such that source and source. Let source be the relation
We will show that source is a universal computable relation, yielding a contradiction.
Suppose source is computable, represented by source in source. Then
and
Source file content/incompleteness/theories-computability/consis-with-q.tex
Theories Consistent with source are Undecidable
The following theorem says that not only is source undecidable, but, in fact, any theory that does not disagree with source is undecidable.
Theories consistent with Q are undecidable
Let source be any theory in the language of arithmetic that is consistent with source (i.e., source is consistent). Then source is undecidable.
Proof
Remember that source has a finite set of axioms, source, dots, source. We can even replace these by a single axiom, source.
Suppose source is a decidable theory consistent with source. Let
We show that source would be a computable separation of source and source, a contradiction. First, if source is in source, then source is provable from the axioms of source; by the deduction theorem, there is a derivation of source in first-order logic. So source is in source.
On the other hand, if source is in source, then there is a proof of source in first-order logic. If source also proves source, then source proves source, in which case source is inconsistent. But we are assuming source is consistent, so source does not prove source, and so source is not in source.
We've shown that if source is in source, then it is in source, and if source is in source, then it is in source. So source is a computable separation, which is the contradiction we were looking for.
This theorem is very powerful. For example, it implies:
Undecidability of first order logic in the arithmetic language
First-order logic for the language of arithmetic (that is, the set source) is undecidable.
Proof
First-order logic is the set of consequences of source, which is consistent with source.
Source file content/incompleteness/theories-computability/interpretability.tex
Theories in which source is Interpretable are Undecidable
We can strengthen these results even more. Informally, an interpretation of a language source in another language source involves defining the universe, relation symbols, and function symbols of source with formulas in source. Though we won't take the time to do this, one can make this definition precise.
Undecidability through interpretation of arithmetic
Suppose source is a theory in a language in which one can interpret the language of arithmetic, in such a way that source is consistent with the interpretation of source. Then source is undecidable. If source proves the interpretation of the axioms of source, then no consistent extension of source is decidable.
The proof is just a small modification of the proof of the last theorem; one could use a counterexample to get a separation of source and source. One can take source, Zermelo--Fraenkel set theory with the axiom of choice, to be an axiomatic foundation that is powerful enough to carry out a good deal of ordinary mathematics. In source one can define the natural numbers, and via this interpretation, the axioms of source are true. So we have
Source corollary concerning extensions of Z F C
There is no decidable extension of source.
Incompleteness for computably axiomatizable extensions of Z F C
There is no complete, consistent, computably axiomatizable extension of source.
The language of source has only a single binary relation, source. (In fact, you don't even need equality.) So we have
Undecidability with a binary relation symbol
First-order logic for any language with a binary relation symbol is undecidable.
This result extends to any language with two unary function symbols, since one can use these to simulate a binary relation symbol. The results just cited are tight: it turns out that first-order logic for a language with only unary relation symbols and at most one unary function symbol is decidable.
One more bit of trivia. We know that the set of sentences in the language source, source, source, source, source true in the standard model is undecidable. In fact, one can define source in terms of the other symbols, and then one can define source in terms of source and source. So the set of true sentences in the language source, source, source is undecidable. On the other hand, Presburger has shown that the set of sentences in the language source, source, source true in the language of arithmetic is decidable. The procedure is computationally infeasible, however.
Source disclosures
- TR037-SAR-001: Source notation note. The final summary writes T where the preceding argument used A subscript T, the arithmetic formula representing Kleene's external computable relation. The original notation is retained; this switch does not introduce a new function symbol into Q. source
- TR037-SAR-002: Source notation note. The displays apply the external computable relation S to a numeral. The intended input in that external relation is the number n; its representing formula D subscript S takes the numeral for n. The source notation is retained, and the distinction between number and numeral is not erased in the reading. source
- TR037-SAR-003: Source notation note. The argument defined R using the code of the open formula D subscript S of u. Its concluding expression instead codes D subscript S of the numeral for u. The open formula code is the one required by the preceding definition. These displays also apply the external relation S to a numeral rather than to its numerical value. Both notation slips remain visible in the source. source
- TR037-SAR-004: Source caveat. This corollary needs the qualifier consistent: the preceding theorem rules out decidable consistent extensions. An inconsistent extension proves every sentence and is decidable, as the chapter itself noted earlier. The unqualified source claim is retained with this caveat. source