|
16 | 16 | $\Th{Q}$ would be decidable iff there were a computational procedure |
17 | 17 | which decides, given a sentence~$A$ in the language of arithmetic, |
18 | 18 | 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}$, |
21 | 21 | recursive? The answer is: no. |
22 | 22 |
|
23 | 23 | \begin{thm} |
24 | 24 | $\Th{Q}$ is undecidable, i.e., the relation |
25 | 25 | \[ |
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)] |
28 | 28 | \] |
29 | 29 | is not recursive. |
30 | 30 | \end{thm} |
31 | 31 |
|
32 | 32 | \begin{proof} |
33 | 33 | Suppose it were. Then we could solve the halting problem as follows: |
34 | 34 | 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 |
50 | 49 | \[ |
51 | 50 | h(e, n) = |
52 | 51 | \begin{cases} |
53 | 52 | 1 & \text{if $\fn{Pr}_{\Th{Q}}(g(e, n))$}\\ |
54 | 53 | 0 & \text{otherwise}. |
55 | 54 | \end{cases} |
56 | 55 | \] |
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. |
60 | 59 | \end{proof} |
61 | 60 |
|
62 | 61 | \begin{cor} |
|
0 commit comments