Dovetailing

[6/33%]
Show
LaTeX

Assume that A,B,C⊆{0,1}∗A, B, C \subseteq \left\{ 0,1\right\}^{*} are r.e. sets. Let

D=(A∩B)∪(B∩C)∪(C∩A). D=(A \cap B) \cup (B \cap C) \cup (C \cap A).
?
(a)

Construct a DTM that simulates the three DTM's accepting sets A,BA, B, and CC in parallel and accepts set DD.

(b)

Construct a DTM that simulates the three DTM's accepting sets A,BA, B, and CC by the dovetailing method and accepts DD.

(c)

Find a recursive predicate RR such that D={x∣(∃y)R(x,y)}D=\left\{ x \mid (\exists y) R(x, y)\right\}.

Design two dovetailing algorithms for set BB of Example 5.11, the first based on the intuitive algorithm given in the solution, and the second based on the last line of the proof by the projection theorem.

?

Show that the following function is partial recursive:

g(i,j,k)={k if (∃n)[ϕi(n)=ϕj(n)=k]↑ otherwise . g(i, j, k)= \begin{cases} k & \text{ if }(\exists n)\left[\phi _{i}(n)=\phi _{j}(n)=k\right] \\ \uparrow & \text{ otherwise }.\end{cases}
?

In the proof of Theorem 6.17, we used the dovetailing technique to perform the parallel simulation of MwM_{w} and McM^{c}. Can we use, instead, the product Turing machine method of Example 5.9 to perform the parallel simulation?

?

Assume that sets AA and BB are r.e. Show that sets A∪BA \cup B and A∩BA \cap B are also r.e.

?

Show that the set {y∣Wy≠∅}\left\{ y \mid W_{y} \neq \emptyset \right\} is r.e.

?

References

[DuKo01] Du D., Ko K. Problem Solving in Automata, Languages, and Complexity. John Wiley & Sons, 2001.