You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where $x(x)$ denotes the output of the Turing machine described by the string $x$ on the input $x$ (with the usual convention that $x(x)=\bot$ if this computation does not halt).
308
308
@@ -334,12 +334,12 @@ We claim that [halttof](){.ref} computes the function $F^*$.
334
334
Indeed, suppose that $x(x)=1$ (and hence $F^*(x)=0$).
335
335
In this case, $HALT(x,x)=1$ and hence, under our assumption that $M(x,x)=HALT(x,x)$, the value $z$ will equal $1$, and hence [halttof](){.ref} will set $y=x(x)=1$, and output the correct value $0$.
336
336
337
-
Suppose otherwise that $x(x) \neq 0$. In this case there are two possibilities:
337
+
Suppose otherwise that $x(x) \neq 1$ (and hence $F^*(x)=1$). In this case there are two possibilities:
338
338
339
339
*__Case 1:__ The machine described by $x$ does not halt on the input $x$ (and hence $F^*(x)=1$). In this case, $HALT(x,x)=0$. Since we assume that $M$ computes $HALT$ it means that on input $x,x$, the machine $M$ must halt and output the value $0$. This means that [halttof](){.ref} will set $z=0$ and output $1$.
340
340
341
341
342
-
*__Case 2:__ The machine described by $x$ halts on the input $x$ and outputs some $y' \neq 0$ (and hence $F^*(x)=0$). In this case, since $HALT(x,x)=1$, under our assumptions, [halttof](){.ref} will set $y=y' \neq 0$ and so output $0$.
342
+
*__Case 2:__ The machine described by $x$ halts on the input $x$ and outputs some $y' \neq 1$ (and hence $F^*(x)=0$). In this case, since $HALT(x,x)=1$, under our assumptions, [halttof](){.ref} will set $y=y' \neq 1$ and so output $1$.
343
343
344
344
We see that in all cases, $M'(x)=F^*(x)$, which contradicts the fact that $F^*$ is uncomputable.
345
345
Hence we reach a contradiction to our original assumption that $M$ computes $HALT$.
0 commit comments