Skip to content

Commit 02780ba

Browse files
committed
updates to incompleteness chapter
1 parent 7eb49e8 commit 02780ba

9 files changed

Lines changed: 79 additions & 84 deletions

File tree

incompleteness/arithmetization-syntax/proofs-in-lk.tex

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -130,35 +130,35 @@
130130

131131
\begin{prop}
132132
Suppose $\Gamma$ is a primitive recursive set of !!{sentence}s. Then
133-
the relation $\fn{Pr}_\Gamma(x, y)$ expressing ``$x$ is the G\"odel
134-
number of a sentence~$!A$ and $y$ is the code of !!a{derivation}~$\Pi$
135-
of $\Gamma_0 \Sequent !A$ for some finite $\Gamma_0 \subseteq
136-
\Gamma$'' is primitive recursive.
133+
the relation $\fn{Pr}_\Gamma(x, y)$ expressing ``$x$ is the code of
134+
!!a{derivation}~$\Pi$ of $\Gamma_0 \Sequent !A$ for some finite
135+
$\Gamma_0 \subseteq \Gamma$ and $x$ is the G\"odel number of~$!A$'' is
136+
primitive recursive.
137137
\end{prop}
138138

139139
\begin{proof}
140-
Suppose ``$x \in \Gamma$'' is given by the primitive recursive
141-
predicate~$R_\Gamma(x)$. We have to show that $\fn{Pr}_\Gamma(x, y)$
142-
which holds iff $x$ is the G\"odel number of a sentence~$!A$ and $y$
143-
is the code of an $\Log{LK}$-!!{derivation} with end sequent
140+
Suppose ``$y \in \Gamma$'' is given by the primitive recursive
141+
predicate~$R_\Gamma(y)$. We have to show that $\fn{Pr}_\Gamma(x, y)$
142+
which holds iff $y$ is the G\"odel number of a sentence~$!A$ and
143+
$x$~is the code of an $\Log{LK}$-!!{derivation} with end sequent
144144
$\Gamma_0 \Sequent !A$ is primitive recursive.
145145

146-
By the previous proposition, the property $\fn{Deriv}(y)$ which holds
147-
iff $y$`is the code of a correct derivation~$\Pi$ in $\Log{LK}$ is
148-
primitive recursive. If $y$ is such a code, then $(y)_1$ is the code
149-
of the end sequent of`$\Pi$, and so $((y)_1)_0$ is the code of the
150-
left side of the end sequent and $((y)_1)_1$ the right side. So we can
146+
By the previous proposition, the property $\fn{Deriv}()$ which holds
147+
iff $x$ is the code of a correct derivation~$\Pi$ in $\Log{LK}$ is
148+
primitive recursive. If $x$ is such a code, then $(x)_1$ is the code
149+
of the end sequent of~$\Pi$, and so $((x)_1)_0$ is the code of the
150+
left side of the end sequent and $((x)_1)_1$ the right side. So we can
151151
express ``the right side of the end sequent of~$\Pi$ is~$!A$'' as
152-
$\len{((y)_1)_1} = 1 \land (((y)_1)_1)_0 = x$. The left side of the
152+
$\len{((x)_1)_1} = 1 \land (((x)_1)_1)_0 = x$. The left side of the
153153
end sequent of $\Pi$ is of course automatically finite, we just have
154154
to express that every sentence in it is in~$\Gamma$. Thus we can
155155
define $\fn{Pr}_\Gamma(x, y)$ by
156156
\begin{align*}
157157
\fn{Pr}_\Gamma(x, y) \defiff {}&
158-
\fn{Sent}(x) \land \fn{Deriv}(y) \land {} \\
158+
\fn{Sent}(y) \land \fn{Deriv}(x) \land {} \\
159159
& \lforall[i <
160-
\len{((y)_1)_0}][(((y)_1)_0)_i \in \Gamma] \land {}\\
161-
& \len{((y)_1)_1} = 1 \land (((y)_1)_1)_0 = x
160+
\len{((x)_1)_0}][(((x)_1)_0)_i \in \Gamma] \land {}\\
161+
& \len{((x)_1)_1} = 1 \land (((x)_1)_1)_0 = x
162162
\end{align*}
163163
\end{proof}
164164

incompleteness/incompleteness-provability/fixed-point-lemma.tex

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
\olsection{The Fixed-Point Lemma}
1212

1313
Let $\fn{diag}(y)$ be the computable (in fact, primitive recursive)
14-
function that does the following: if $y$ is the code of a formula
15-
$!B(x)$, $\fn{diag}(y)$ returns a code of $!B(\gn{!B(x)})$. If
16-
$\Obj{diag}$ were a function symbol in $\Th{T}$ representing the
17-
function $\fn{diag}$, we could take $!A$ to be the formula
14+
function that does the following: if $y$ is the G\"odel number of a
15+
formula~$!B(x)$, $\fn{diag}(y)$ returns the G\"odel number
16+
of~$!B(\gn{!B(x)})$. ($\gn{!B(x)}$ is the standard numeral of the
17+
G\"odel number of~$!B(x)$, i.e., $\num{\Gn{!B(x)}}$). If $\Obj{diag}$
18+
were a function symbol in $\Th{T}$ representing the function
19+
$\fn{diag}$, we could take $!A$ to be the formula
1820
$!B(\Obj{diag}(\gn{!B(\Obj{diag}(x))}))$. Notice that
1921
\begin{align*}
2022
\fn{diag}(\Gn{!B(\Obj{diag}(x))}) & =

incompleteness/incompleteness-provability/introduction.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
\end{enumerate}
8282
But what happens when one takes the phrase ``yields falsehood when
8383
preceded by its quotation,'' and precedes it with a quoted version of
84-
itself? Then one has the original sentence! In short, the sentence
84+
itself? Then one has the original sentence!{} In short, the sentence
8585
asserts that it is false.
8686

8787
\end{document}

incompleteness/incompleteness-provability/provability-conditions.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
induction axioms for all formulas. In other words, one adds to $\Th{Q}$
1515
axioms of the form
1616
\[
17-
(!A(0) \land \lforall[x][(!A(x) \lif !A(x+1))]) \lif \lforall[x][!A(x)]
17+
(!A(0) \land \lforall[x][(!A(x) \lif !A(x'))]) \lif \lforall[x][!A(x)]
1818
\]
1919
for every formula $!A$. Notice that this is really a {\em schema},
2020
which is to say, infinitely many axioms (and it turns out that
@@ -53,9 +53,9 @@
5353
entails\dots) Carrying out the details would be tedious and
5454
uninteresting, so here we will ask you to take it on faith the
5555
$\Th{PA}$ has the three properties listed above. A reasonable choice
56-
of $\Prov[PA](y)$ will also satisfy
56+
of $\OProv[PA](y)$ will also satisfy
5757
\begin{enumerate}
58-
\item[4.] If $\Th{PA}$ proves $\Prov[PA](\gn{!A})$, then $\Th{PA}$ proves
58+
\item[4.] If $\Th{PA}$ proves $\OProv[PA](\gn{!A})$, then $\Th{PA}$ proves
5959
$!A$.
6060
\end{enumerate}
6161
But we will not need this fact.

incompleteness/incompleteness-provability/second-incompleteness-thm.tex

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@
4343
$!G_\Th{PA}$.
4444

4545
But: we know that if $\Th{PA}$ is consistent, it doesn't prove
46-
$!G_\Th{PA}$! So if $\Th{PA}$ is consistent, it can't prove
46+
$!G_\Th{PA}$!{} So if $\Th{PA}$ is consistent, it can't prove
4747
$\OCon[PA]$.
4848

4949
To make the argument more precise, we will let $!G_\Th{PA}$ be the
50-
G\"odel sentence and use properties 1--3 above to show that $\Th{PA}$
51-
proves $\OCon[PA] \lif !G_\Th{PA}$. This will show that $\Th{PA}$
52-
doesn't prove $\OCon[PA]$. Here is a sketch of the proof,
50+
G\"odel sentence for~$\Th{PA}$ and use properties 1--3 above to show
51+
that $\Th{PA}$ proves $\OCon[PA] \lif !G_\Th{PA}$. This will show that
52+
$\Th{PA}$ doesn't prove $\OCon[PA]$. Here is a sketch of the proof,
5353
in~$\Th{PA}$:
5454
\begin{align*}
5555
& !G_\Th{PA} \lif \lnot \OProv[PA](\gn{!G_\Th{PA}}) &\ &
@@ -81,10 +81,13 @@
8181
\ollabel{thm:second-incompleteness-gen}
8282
Let $\Th{T}$ be any theory extending $\Th{Q}$ and let
8383
$\OProv[T](y)$ be any formula satisfying 1--3 for $\Th{T}$. Then
84-
if $\Th{T}$ is consistent, then $\Th{T}$ does not prove $\lnot
85-
\OProv[T](\gn{\eq[0][1]})$.
84+
if $\Th{T}$ is consistent, then $\Th{T}$ does not prove~$\OCon[T]$.
8685
\end{thm}
8786

87+
\begin{prob}
88+
Show that $\Th{Q}$ proves $\OCon[PA] \lif !G_{\Th{Q}}$.
89+
\end{prob}
90+
8891
\begin{digress}
8992
The moral of the story is that no ``reasonable'' consistent theory for
9093
mathematics can prove its own consistency. Suppose $\Th{T}$ is a

incompleteness/incompleteness-provability/tarski-thm.tex

Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,14 @@
1010

1111
\olsection{The Undefinability of Truth}
1212

13-
Now, for the moment, we will set aside the notion of {\em proof} and
14-
consider the notion of {\em definability}. This notion depends on
15-
having a formal semantics for the language of arithmetic, and we have
16-
not covered semantic notions for this course. But the intuitions are
17-
not difficult. We have described a set of formulas and sentences in
18-
the language of arithmetic. The ``intended interpretation'' is to read
19-
such sentences as making assertions about the natural numbers, and
20-
such an assertion can be true or false. Let $\Struct{N}$ be the
21-
!!{structure} with domain $\Nat$ and the standard interpretation for
22-
the symbols in the langauge of arithmetic. The $\Sat{N}{!A}$ means
23-
``$!A$ is true in the standard interpretation.''
13+
The notion of {\em definability} depends on having a formal semantics
14+
for the language of arithmetic. We have described a set of formulas
15+
and sentences in the language of arithmetic. The ``intended
16+
interpretation'' is to read such sentences as making assertions about
17+
the natural numbers, and such an assertion can be true or false. Let
18+
$\Struct{N}$ be the !!{structure} with domain $\Nat$ and the standard
19+
interpretation for the symbols in the language of arithmetic. Then
20+
$\Sat{N}{!A}$ means ``$!A$ is true in the standard interpretation.''
2421

2522
\begin{defn}
2623
A relation $R(x_1,\dots,x_k)$ of natural numbers is {\em definable}
@@ -37,7 +34,7 @@
3734
case.)
3835

3936
\begin{lem}
40-
Every computable relation is definable in $\Struct{N}$.
37+
Every computable relation is definable in~$\Struct{N}$.
4138
\end{lem}
4239

4340
\begin{proof}
@@ -49,30 +46,24 @@
4946
``representable in $\Th{Q}$''? The answer is no. For example:
5047

5148
\begin{lem}
52-
Every c.e.\ set is definable in $\Struct{N}$.
49+
The halting relation is definable in $\Struct{N}$.
5350
\end{lem}
5451

5552
\begin{proof}
56-
Suppose $S$ is the range of $!A_e$, i.e.
53+
Let $H$ be the halting relation, i.e.,
5754
\[
58-
S = \Setabs{x}{\lexists[y][T(\num e,x,y)]}.
55+
H = \Setabs{x}{\lexists[y][T(\num e, x, y)]}.
5956
\]
6057
Let $!D_T$ define $T$ in $\Struct{N}$. Then
6158
\[
62-
S = \Setabs{x}{\Sat{N}{\lexists[y][!D_T(\num e, \num x, y)]}},
59+
H = \Setabs{x}{\Sat{N}{\lexists[y][!D_T(\num e, \num x, y)]}},
6360
\]
64-
so $\lexists[y][!D_T(\num e, x, y)]$ defines~$S$ is $\Struct{N}$.
61+
so $\lexists[y][!D_T(\num e, x, y)]$ defines~$H$ is $\Struct{N}$.
6562
\end{proof}
6663

67-
\begin{cor}
68-
$\Th{Q}$ is definable in arithmetic.
69-
\end{cor}
70-
71-
So, more sets are definable in $\Struct{N}$. For example, it is not hard
72-
to see that complements of c.e.\ sets are also definable. The sets of
73-
numbers definable in $\Struct{N}$ are called, appropriately, the
74-
``arithmetically definable sets,'' or, more simply, the ``arithmetic
75-
sets.''
64+
\begin{prob}
65+
Show that $\Th{Q}$ is definable in arithmetic.
66+
\end{prob}
7667

7768
What about $\Th{TA}$ itself? Is it definable in arithmetic? That
7869
is: is the set $\Setabs{\Gn{!A}}{\Sat{N}{!A}}$ definable in

incompleteness/representability-in-q/representing-relations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
In the other direction, suppose $R(x_0,\dots,x_k)$ is computable. By
3838
definition, this means that the function $\chi_R(x_0,\dots,x_k)$ is
39-
computable. By Theorem~\olref[int]{thm:representable-iff-comp}, $\chi_R$ is
39+
computable. By \olref[int]{thm:representable-iff-comp}, $\chi_R$ is
4040
represented by a formula, say $!A_{\chi_R}(x_0,\dots,x_k,y)$. Let
4141
$!A_R(x_0,\dots,x_k)$ be the formula $!A_{\chi_R}(x_0,\dots,x_k,\num
4242
1)$. Then for any $n_0,\dots,n_k$, if $R(n_0,\dots,n_k)$ is true, then

incompleteness/representability-in-q/undecidability.tex

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,47 +16,46 @@
1616
$\Th{Q}$ would be decidable iff there were a computational procedure
1717
which decides, given a sentence~$A$ in the language of arithmetic,
1818
whether $\Th{Q} \Proves !A$ or not. We can make this more precise by
19-
asking: Is the relation~$\fn{Prov}_{\Th{Q}}(x)$, which holds of~$x$
20-
iff $x$ is the G\"odel number of a sentence provable in~$\Th{Q}$,
19+
asking: Is the relation~$\fn{Prov}_{\Th{Q}}(y)$, which holds of~$y$
20+
iff $y$ is the G\"odel number of a sentence provable in~$\Th{Q}$,
2121
recursive? The answer is: no.
2222

2323
\begin{thm}
2424
$\Th{Q}$ is undecidable, i.e., the relation
2525
\[
26-
\fn{Prov}_{\Th{Q}}(x) \defiff \fn{Sent}(x) \land
27-
\lexists[y][\fn{Pr}_{\Th{Q}}(x, y)]
26+
\fn{Prov}_{\Th{Q}}(y) \defiff \fn{Sent}(y) \land
27+
\lexists[x][\fn{Pr}_{\Th{Q}}(x, y)]
2828
\]
2929
is not recursive.
3030
\end{thm}
3131

3232
\begin{proof}
3333
Suppose it were. Then we could solve the halting problem as follows:
3434
Given $e$ and $n$, we know that $\cfind{e}(n) \defined$ iff there is
35-
an~$s$ such that $T(e, x, s)$, where $T$ is Kleene's predicate from
36-
\olref[cmp][rec][nft]{thm:kleene-nf}. Since $\Char{T}$ is primitive
37-
recursive it is representable in~$\Th{Q}$ by a formula
38-
$!B_T(e,x,s,y)$, that is, $\Th{Q} \Proves !B_T(\num{e}, \num{x},
39-
\num{s}, \num{1})$ iff $T(e, x, s)$. If $\Th{Q} \Proves !B_T(\num{e},
40-
\num{x}, \num{s}, \num{1})$ then also $\Th{Q} \Proves \Th{Q} \Proves
41-
\lexists[y][!B_T(\num{e}, \num{x}, y, \num{1})]$. If no such $s$
42-
exists, then $\Th{Q} \Proves \lnot !B_T(\num{e}, \num{x}, \num{s},
43-
\num{1})$ for every~$s$. Since $\Th{Q}$ is $\omega$-consistent,
44-
$\Th{Q} \Proves/ \lexists[y][!B_T(\num{e}, \num{x}, y, \num{1})]$. In
45-
other words, $\Th{Q} \Proves \lexists[y][!B_T(\num{e}, \num{x}, y,
46-
\num{1})]$ iff there is an $s$ such that $T(e, n, s)$, i.e., iff
47-
$\cfind{e}(n) \defined$. From $e$ and~$n$ we can compute
48-
$\Gn{\lexists[y][!B_T(\num{e}, \num{n}, y, \num{1})]}$, let $g(e, n)$
49-
be the primitive recursive function which does that. So
35+
an~$s$ such that $T(e, n, s)$, where $T$ is Kleene's predicate from
36+
\olref[cmp][rec][nft]{thm:kleene-nf}. Since $T$ is primitive recursive
37+
it is representable in~$\Th{Q}$ by a formula $!B_T$, that is, $\Th{Q}
38+
\Proves !B_T(\num{e}, \num{n}, \num{s})$ iff $T(e, n, s)$. If $\Th{Q}
39+
\Proves !B_T(\num{e}, \num{n}, \num{s})$ then also $\Th{Q} \Proves
40+
\Th{Q} \Proves \lexists[y][!B_T(\num{e}, \num{n}, y)]$. If no such $s$
41+
exists, then $\Th{Q} \Proves \lnot !B_T(\num{e}, \num{n}, \num{s})$
42+
for every~$s$. Since $\Th{Q}$ is $\omega$-consistent, $\Th{Q} \Proves/
43+
\lexists[y][!B_T(\num{e}, \num{n}, y)]$. In other words,
44+
$\Th{Q} \Proves \lexists[y][!B_T(\num{e}, \num{n}, y)]$ iff
45+
there is an $s$ such that $T(e, n, s)$, i.e., iff $\cfind{e}(n)
46+
\defined$. From $e$ and~$n$ we can compute
47+
$\Gn{\lexists[y][!B_T(\num{e}, \num{n}, y)]}$, let $g(e, n)$
48+
be the primitive recursive function which does that. So
5049
\[
5150
h(e, n) =
5251
\begin{cases}
5352
1 & \text{if $\fn{Pr}_{\Th{Q}}(g(e, n))$}\\
5453
0 & \text{otherwise}.
5554
\end{cases}
5655
\]
57-
This would show that $h$ is recursive if $\fn{Pr}_{\Th{Q}}$ is. But $h$ is not
58-
recursive, by \olref[cmp][rec][hlt]{thm:halting-problem}, so $\fn{Pr}_{\Th{Q}}$
59-
cannot be either.
56+
This would show that $h$ is recursive if $\fn{Pr}_{\Th{Q}}$ is. But
57+
$h$ is not recursive, by \olref[cmp][rec][hlt]{thm:halting-problem},
58+
so $\fn{Pr}_{\Th{Q}}$ cannot be either.
6059
\end{proof}
6160

6261
\begin{cor}

open-logic-config.sty

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,21 +470,21 @@
470470
% - `\Prf`: the proof relation
471471

472472
\DeclareDocumentCommand \Prf { o } { \mathrm{Pr}\IfNoValueTF {#1} {} {_\Th{#1}}}
473-
\DeclareDocumentCommand \OPrf { o } { \Obj{Pr}\IfNoValueTF {#1} {} {_\Th{#1}}}
473+
\DeclareDocumentCommand \OPrf { o } { \mathsf{Pr}\IfNoValueTF {#1} {} {_\Th{#1}}}
474474

475475
% - `\Prov`: the provability relation
476476

477477
\DeclareDocumentCommand \Prov { o } { \mathrm{Prov}\IfNoValueTF {#1} {} {_\Th{#1}}}
478-
\DeclareDocumentCommand \OProv { o } { \Obj{Prov}\IfNoValueTF {#1} {} {_\Th{#1}}}
478+
\DeclareDocumentCommand \OProv { o } { \mathsf{Prov}\IfNoValueTF {#1} {} {_\Th{#1}}}
479479

480480
% - `\RProv`: the Rosser provability relation
481481

482482
\DeclareDocumentCommand \RProv { o } { \mathrm{RProv}\IfNoValueTF {#1} {} {_\Th{#1}}}
483-
\DeclareDocumentCommand \ORProv { o } { \Obj{RProv}\IfNoValueTF {#1} {} {_\Th{#1}}}
483+
\DeclareDocumentCommand \ORProv { o } { \mathsf{RProv}\IfNoValueTF {#1} {} {_\Th{#1}}}
484484

485485
% - `\OCon`: the consistency statement
486486

487-
\DeclareDocumentCommand \OCon { o } { \Obj{Con}\IfNoValueTF {#1} {} {_\Th{#1}}}
487+
\DeclareDocumentCommand \OCon { o } { \mathsf{Con}\IfNoValueTF {#1} {} {_\Th{#1}}}
488488

489489
% Typesetting commands for logical concepts
490490
% =========================================

0 commit comments

Comments
 (0)