Skip to content

Commit 0323bf6

Browse files
committed
Merge branch 'seanrsinclair-master'
2 parents ada3548 + 7d7ad85 commit 0323bf6

22 files changed

Lines changed: 71 additions & 56 deletions

computability/recursive-functions/bounded-minimization.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
\end{prop}
2222

2323
\begin{proof}
24-
Note than there can be no~$x < y$ such that $R(x, \vec{z})$ since
25-
there is no $x < y$ at all. So $m_R(x, 0) = 0$.
24+
Note than there can be no~$x < 0$ such that $R(x, \vec{z})$ since
25+
there is no $x < 0$ at all. So $m_R(x, 0) = 0$.
2626

2727
In case the bound is $y + 1$ we have three cases: (a) There is an $x <
2828
y$ such that $R(x, \vec{z})$, in which case $m_R(y+1, \vec{z}) =
29-
m_R(y, \vec{z})$. (b) There is no such~$x$ but $R(y, \vec{z})$, then
29+
m_R(y, \vec{z})$. (b) There is no such~$x$ but $R(y, \vec{z})$ holds, then
3030
$m_R(y+1, \vec{z}) = y$. (c) There is no $x < y+1$ such that $R(x,
3131
\vec{z})$, then $m_R(y+1,\vec{z}) = 0$. So,
3232
\begin{align*}

computability/recursive-functions/halting-problem.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
The \emph{halting problem} in general is the problem of deciding,
1313
given the specification~$e$ (e.g., program) of a computable function
14-
and a number~$n$, whether the computation of the function on input~$e$
14+
and a number~$n$, whether the computation of the function on input~$n$
1515
halts, i.e., produces a result. Famously, Alan Turing proved that
1616
this problem itself cannot be solved by a computable function, i.e.,
1717
the function
@@ -74,11 +74,11 @@
7474
possible cases, 0 and 1.
7575
\begin{enumerate}
7676
\item If $h(e_d, e_d) = 1$ then $\cfind{e_d}(e_d) \defined$. But
77-
$\cfind{e_d} = d$, and $d(e_d)$ is defined iff $h(e_d, e_d) = 0$.
77+
$\cfind{e_d} \simeq d$, and $d(e_d)$ is defined iff $h(e_d, e_d) = 0$.
7878
So $h(e_d, e_d) \neq 1$.
7979
\item If $h(e_d, e_d) = 0$ then either $e_d$ is not the index of a
8080
partial recursive function, or it is and $\cfind{e_d}(e_d)
81-
\undefined$. But again, $\cfind{e_d} = d$, and $d(e_d)$ is undefined
81+
\undefined$. But again, $\cfind{e_d} \simeq d$, and $d(e_d)$ is undefined
8282
iff $\cfind{e_d}(e_d) \defined$.
8383
\end{enumerate}
8484
The upshot is that $e_d$ cannot, after all, be the index of a partial

computability/recursive-functions/non-pr-functions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
essentially the function $G(x) = g_x(x)$, and one can show that this
4343
grows faster than any primitive recursive function.
4444

45-
Let use return to the issue of enumerating the primitive recursive
45+
Let us return to the issue of enumerating the primitive recursive
4646
functions. Remember that we have assigned symbolic notations to each
4747
primitive recursive function; so it suffices to enumerate
4848
notations. We can assign a natural number $\#(F)$ to each notation $F$,

computability/recursive-functions/normal-form.tex

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

1212
\begin{thm}[Kleene's Normal Form Theorem]
1313
\ollabel{thm:kleene-nf}
14-
There are a primitive recursive relation $T(e, x, s)$ and a primitive
14+
There is a primitive recursive relation $T(e, x, s)$ and a primitive
1515
recursive function $U(s)$, with the following property: if $f$ is any
1616
partial recursive function, then for some~$e$,
1717
\[

computability/recursive-functions/partial-functions.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
The way out is to allow \emph{partial} functions to come into play. We
2525
will see that it \emph{is} possible to enumerate the partial
26-
computable functions.\iftag{TMs}{in fact, we already pretty much know
26+
computable functions.\iftag{TMs}{ In fact, we already pretty much know
2727
that this is the case, since it is possible to enumerate Turing
2828
machines in a systematic way.}{} We will come back to our diagonal
2929
argument later, and explore why it does not go through when partial
@@ -48,7 +48,7 @@
4848
is defined at $x$, i.e., $x$ is in the domain of $f$; and $f(x)
4949
\undefined$ to mean the opposite, i.e., that $f$ is not defined at~$x$.
5050
We will use $f(x) \simeq g(x)$ to mean that either $f(x)$ and $g(x)$
51-
are both undefined, or they are both defined and equal. We will these
51+
are both undefined, or they are both defined and equal. We will use these
5252
notations for more complicated terms as well. We will adopt the
5353
convention that if $h$ and $g_0$, \dots,~$g_k$ all are partial functions,
5454
then

computability/recursive-functions/sequences.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
The set of primitive recursive functions is
1313
remarkably robust. But we will be able to do even more once we have
1414
developed an adequate means of handling \emph{sequences}. We will
15-
identify finite sequences of natural numbers with natural numbers, in
15+
identify finite sequences of natural numbers with natural numbers in
1616
the following way: the sequence $\langle a_0, a_1, a_2, \dots, a_k \rangle$
1717
corresponds to the number
1818
\[
@@ -67,15 +67,15 @@
6767
$(s)_0$, \dots,~$(s)_{k-1}$.
6868

6969
It will be useful for us to be able to bound the numeric code of a
70-
sequence, in terms of its length and its largest element. Suppose $s$
70+
sequence in terms of its length and its largest element. Suppose $s$
7171
is a sequence of length $k$, each element of which is less than equal
7272
to some number $x$. Then $s$ has at most $k$ prime factors, each at
7373
most $p_{k-1}$, and each raised to at most $x+1$ in the prime
7474
factorization of $s$. In other words, if we define
7575
\[
7676
\fn{sequenceBound}(x,k) = p_{k-1}^{k \cdot (x+1)},
7777
\]
78-
then the numeric code of the sequence~$s$ described above, is at
78+
then the numeric code of the sequence~$s$ described above is at
7979
most~$\fn{sequenceBound}(x,k)$.
8080

8181
Having such a bound on sequences gives us a way of defining new

incompleteness/arithmetization-syntax/coding-formulas.tex

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,20 @@
1616

1717
\begin{proof}
1818
The number $x$ is the G\"odel number of an atomic !!{formula} iff
19+
one of the following holds:
1920
\begin{enumerate}
20-
\item there are $n$, $j < x$, and $z < x$ such that for each $i < n$,
21+
\item There are $n$, $j < x$, and $z < x$ such that for each $i < n$,
2122
$\fn{Term}((z)_i)$ and
2223
\[
23-
x = \Gn{\Obj P^n_j(} \concat \fn{flatten}(z) \concat \Gn{)} \text{, or}
24+
x = \Gn{\Obj P^n_j(} \concat \fn{flatten}(z) \concat \Gn{)}.
2425
\]
25-
\item there are $z_1, z_2 < x$ such that $x = z_1 \concat \Gn{\eq}
26-
\concat \eq z_2$ and $\fn{Term}(z_1)$ and $\fn{Term}(z_2)$.
26+
\item There are $z_1, z_2 < x$ such that $\fn{Term}(z_1)$,
27+
$\fn{Term}(z_2)$, and
28+
\[
29+
x = z_1 \concat \Gn{\eq} \concat z_2.
30+
\]
31+
\tagitem{prvFalse}{$x = \Gn{\lfalse}$.}{}
32+
\tagitem{prvTrue}{$x = \Gn{\ltrue}$.}{}
2733
\end{enumerate}
2834
\end{proof}
2935

incompleteness/arithmetization-syntax/coding-symbols.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
\end{array}
4343
\]
4444
\item If $s$ is the $i$-th variable $\Obj x_i$, then $\scode s = \tuple{1, i}$.
45-
\item If $s$ is the $i$-th $n$-ary !!{constant}~$\Obj c_i^n$, then
46-
$\scode s = \tuple{2, n, i}$.
45+
\item If $s$ is the $i$-th !!{constant}~$\Obj c_i^n$, then
46+
$\scode s = \tuple{2, i}$.
4747
\item If $s$ is the $i$-th $n$-ary !!{function}~$\Obj f_i^n$, then
4848
$\scode s = \tuple{3, n, i}$.
4949
\item If $s$ is the $i$-th $n$-ary !!{predicate}~$\Obj P_i^n$, then
@@ -63,7 +63,7 @@
6363
\end{prop}
6464

6565
\begin{defn}
66-
If $\tuple{s_0, \dots, s_n}$ is a sequence of symbols, its
66+
If $s_0, \dots, s_n$ is a sequence of symbols, its
6767
\emph{G\"odel number} is $\tuple{\scode{s_0}, \dots, \scode{s_n}}$.
6868
\end{defn}
6969

incompleteness/arithmetization-syntax/coding-terms.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
\item $s_i$ is a variable~$\Obj v_j$, or
3636
\item $s_i$ is a !!{constant}~$\Obj c_j$, or
3737
\item $s_i$ is built from $n$ terms $t_1$, \dots, $t_n$ occurring
38-
prior to place~$i$ in using an $n$-place function symbol~$\Obj f^n_j$.
38+
prior to place~$i$ using an $n$-place function symbol~$\Obj f^n_j$.
3939
\end{enumerate}
4040
To show that the corresponding relation on G\"odel numbers is
4141
primitive recursive, we have to express this condition primitive

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
\Gn{\Pi''}}$ if $\Pi$ ends in an inference with two premises, $k$ is
4242
given by the following table according to which rule was used in the
4343
last inference, and $\Pi'$, $\Pi''$ are the the immediate subproof
44-
ending in the laft and right premise of the last inference,
44+
ending in the left and right premise of the last inference,
4545
respectively.
4646

4747
\begin{tabular}{lcccc}
@@ -80,7 +80,7 @@
8080
variable~$x$ and a closed term~$t$ such that $\Gamma = \Gamma'$,
8181
$\Subst{!A}{t}{x} \in \Delta'$, $\lexists[x][!A] \in \Delta$, and for
8282
every $!B \in \Delta$, either $!B = \lexists[x][!A]$ or $!B \in
83-
\Gamma'$. We just have to translate into G\"odel numbers. If $s =
83+
\Delta'$. We just have to translate into G\"odel numbers. If $s =
8484
\Gn{\Gamma \Sequent \Delta}$ then $(s)_0 = \Gn{\Gamma}$ and $(s)_1 =
8585
\Gn{\Gamma}$. So:
8686
\begin{align*}

0 commit comments

Comments
 (0)