Chapter 6

Advanced Topics in Computability Theory

[28/100%]
Show
LaTeX
Problem 6.1

Give an example in the spirit of the recursion theorem of a program in a real programming language (or a reasonable approximation thereof) that prints itself out.

?
Problem 6.2

Show that any infinite subset of MIN⁡TM\operatorname {MIN}_{\mathrm{TM}} is not Turing-recognizable.

?
Problem 6.3

ᴬ Show that if A≤TBA \leq_{\mathrm{T}} B and B≤TCB \leq_{\mathrm{T}} C, then A≤TCA \leq_{\mathrm{T}} C.

?
Problem 6.4

Let ATM ′={⟨M,w⟩∣M is an oracle TM and MATM accepts w}A_{\text{TM }}{ }^{\prime }=\left\{ \langle M, w\rangle \mid M \text{ is an oracle TM and } M^{A T \mathrm{M}} \text{ accepts } w\right\}. Show that ATM ′A_{\text{TM }}{ }^{\prime } is undecidable relative to ATM A_{\text{TM }}.

?
Problem 6.5

ᴬ Is the statement ∃x∀y[x+y=y]\exists x \forall y[x+y=y] a member of Th⁡(N,+)\operatorname {Th}(\mathcal{N},+)? Why or why not? What about the statement ∃x∀y[x+y=x]\exists x \forall y[x+y=x]?

?
Problem 6.6

Describe two different Turing machines, MM and NN, where MM outputs ⟨N⟩\langle N\rangle and NN outputs ⟨M⟩\langle M\rangle, when started on any input.

?
Problem 6.7

In the fixed-point version of the recursion theorem (Theorem 6.8), let the transformation tt be a function that interchanges the states qaccept q_{\text{accept }} and qreject q_{\text{reject }} in Turing machine descriptions. Give an example of a fixed point for tt.

?
Problem 6.8
  • Show that EQ⁡TM≤mEQ⁡TM‾\operatorname {EQ}_{\mathrm{TM}} \leq_{\mathrm{m}} \overline{\operatorname {EQ}_{\mathrm{TM}}}.
?
Problem 6.9

ᴬ Use the recursion theorem to give an alternative proof of Rice's theorem in Problem 5.28.

?
Problem 6.10

ᴬ Give a model of the sentence

ϕeq=∀x[R1(x,x)]∧∀x,y[R1(x,y)↔R1(y,x)]∧∀x,y,z[(R1(x,y)∧R1(y,z))→R1(x,z)]. \begin{aligned} \phi _{\mathrm{eq}}= & \forall x\left[R_{1}(x, x)\right] \\ & \wedge \forall x, y\left[R_{1}(x, y) \leftrightarrow R_{1}(y, x)\right] \\ & \wedge \forall x, y, z\left[\left(R_{1}(x, y) \wedge R_{1}(y, z)\right) \rightarrow R_{1}(x, z)\right]. \end{aligned}
?
Problem 6.11
  • Let ϕeq\phi_{\mathrm{eq}} be defined as in Problem 6.10. Give a model of the sentence

Problem 6.10:

ϕeq=∀x[R1(x,x)]∧∀x,y[R1(x,y)↔R1(y,x)]∧∀x,y,z[(R1(x,y)∧R1(y,z))→R1(x,z)]. \begin{aligned} \phi _{\mathrm{eq}}= & \forall x\left[R_{1}(x, x)\right] \\ & \wedge \forall x, y\left[R_{1}(x, y) \leftrightarrow R_{1}(y, x)\right] \\ & \wedge \forall x, y, z\left[\left(R_{1}(x, y) \wedge R_{1}(y, z)\right) \rightarrow R_{1}(x, z)\right]. \end{aligned} ϕlt=ϕeq∧∀x,y[R1(x,y)→¬R2(x,y)]∧∀x,y[¬R1(x,y)→(R2(x,y)⊕R2(y,x))]∧∀x,y,z[(R2(x,y)∧R2(y,z))→R2(x,z)]∧∀x∃y[R2(x,y)]. \begin{aligned} \phi _{\mathrm{lt}}= & \phi _{\mathrm{eq}} \\ & \wedge \forall x, y\left[R_{1}(x, y) \rightarrow \neg R_{2}(x, y)\right] \\ & \wedge \forall x, y\left[\neg R_{1}(x, y) \rightarrow \left(R_{2}(x, y) \oplus R_{2}(y, x)\right)\right] \\ & \wedge \forall x, y, z\left[\left(R_{2}(x, y) \wedge R_{2}(y, z)\right) \rightarrow R_{2}(x, z)\right] \\ & \wedge \forall x \exists y\left[R_{2}(x, y)\right]. \end{aligned}
?
Problem 6.12

ᴬ Let (N,<)(\mathcal{N},<) be the model with universe N\mathcal{N} and the "less than" relation. Show that Th⁡(N,<)\operatorname {Th}(\mathcal{N},<) is decidable.

?
Problem 6.13

For each m>1m>1 let Zm={0,1,2,…,m−1}\mathcal{Z}_{m}=\left\{ 0,1,2, \ldots , m-1\right\}, and let Fm=(Zm,+,×)\mathcal{F}_{m}=\left(\mathcal{Z}_{m},+, \times \right) be the model whose universe is Zm\mathcal{Z}_{m} and that has relations corresponding to the + and × relations computed modulo mm. Show that for each mm, the theory Th⁡(Fm)\operatorname {Th}\left(\mathcal{F}_{m}\right) is decidable.

?
Problem 6.14

Show that for any two languages AA and BB, a language JJ exists, where A≤TJA \leq_{\mathrm{T}} J and B≤TJB \leq_{\mathrm{T}} J.

?
Problem 6.15

Show that for any language AA, a language BB exists, where A≤TBA \leq_{\mathrm{T}} B and B≰TAB \nleq_{\mathrm{T}} A.

?
Problem 6.16
  • Prove that there exist two languages AA and BB that are Turing-incomparable-that is, where A≰TBA \nleq_{\mathrm{T}} B and B≰TAB \nleq_{\mathrm{T}} A.
?
Problem 6.17
  • Let AA and BB be two disjoint languages. Say that language CC separates AA and BB if A⊆CA \subseteq C and B⊆CˉB \subseteq \bar{C}. Describe two disjoint Turing-recognizable languages that aren't separable by any decidable language.
?
Problem 6.18

Show that EQ⁡TM‾\overline{\operatorname {EQ}_{\mathrm{TM}}} is recognizable by a Turing machine with an oracle for ATMA_{\mathrm{TM}}.

?
Problem 6.19

In Corollary 4.18, we showed that the set of all languages is uncountable. Use this result to prove that languages exist that are not recognizable by an oracle Turing machine with an oracle for ATM A_{\text{TM }}.

?
Problem 6.20

Recall the Post Correspondence Problem that we defined in Section 5.2 and its associated language PCP⁡\operatorname {PCP}. Show that PCP⁡\operatorname {PCP} is decidable relative to ATM A_{\text{TM }}.

?
Problem 6.21

Show how to compute the descriptive complexity of strings K(x)\mathrm{K}(x) with an oracle for ATM A_{\text{TM }}.

?
Problem 6.22

Use the result of Problem 6.21 to give a function ff that is computable with an oracle for ATM A_{\text{TM }}, where for each n,f(n)n, f(n) is an incompressible string of length nn.

?
Problem 6.23

Show that the function K(x)\mathrm{K}(x) is not a computable function.

?
Problem 6.24

Show that the set of incompressible strings is undecidable.

?
Problem 6.25

Show that the set of incompressible strings contains no infinite subset that is Turing-recognizable.

?
Problem 6.26
  • Show that for any cc, some strings xx and yy exist, where K(xy)>K(x)+K(y)+c\mathrm{K}(x y)>\mathrm{K}(x)+\mathrm{K}(y)+c.
?
Problem 6.27

Let S={⟨M⟩∣M is a TM and L(M)={⟨M⟩}}S=\left\{ \langle M\rangle \mid M\text{ is a TM and }L(M)=\left\{ \langle M\rangle \right\} \right\}. Show that neither SS nor Sˉ\bar{S} is Turing-recognizable.

?
Problem 6.28

Let R⊆NkR \subseteq \mathcal{N}^{k} be a kk-ary relation. Say that RR is definable in Th⁡(N,+)\operatorname {Th}(\mathcal{N},+) if we can give a formula ϕ\phi with kk free variables x1,…,xkx_{1}, \ldots , x_{k} such that for all a1,…,ak∈Na_{1}, \ldots , a_{k} \in \mathcal{N}, ϕ(a1,…,ak)\phi \left(a_{1}, \ldots , a_{k}\right) is true exactly when a1,…,ak∈Ra_{1}, \ldots , a_{k} \in R. Show that each of the following relations is definable in Th⁡(N,+)\operatorname {Th}(\mathcal{N},+).

?
(a)

ᴬ R0={0}R_{0}=\left\{ 0\right\}

(b)

R1={1}R_{1}=\left\{ 1\right\}

(c)

R=={(a,a)∣a∈N}R_{=}=\left\{ (a, a) \mid a \in \mathcal{N}\right\}

(d)

R<={(a,b)∣a,b∈N and a<b}R_{<}=\left\{ (a, b) \mid a, b \in \mathcal{N}\text{ and }a<b\right\}