Paper 1, Section II, G

Automata and Formal Languages | Part II, 2018

(a) Define the halting set K\mathbb{K}. Prove that K\mathbb{K} is recursively enumerable, but not recursive.

(b) Given A,B⊆NA, B \subseteq \mathbb{N}, define a many-one reduction of AA to BB. Show that if BB is recursively enumerable and A⩽mBA \leqslant_{m} B, then AA is also recursively enumerable.

(c) Show that each of the functions f(n)=2nf(n)=2 n and g(n)=2n+1g(n)=2 n+1 are both partial recursive and total, by building them up as partial recursive functions.

(d) Let X,Y⊆NX, Y \subseteq \mathbb{N}. We define the set X⊕YX \oplus Y via

X⊕Y:={2x∣x∈X}∪{2y+1∣y∈Y}X \oplus Y:=\{2 x \mid x \in X\} \cup\{2 y+1 \mid y \in Y\}

(i) Show that both X⩽mX⊕YX \leqslant_{m} X \oplus Y and Y⩽mX⊕YY \leqslant_{m} X \oplus Y.

(ii) Using the above, or otherwise, give an explicit example of a subset CC of N\mathbb{N} for which neither CC nor N\C\mathbb{N} \backslash C are recursively enumerable.

(iii) For every Z⊆NZ \subseteq \mathbb{N}, show that if X⩽mZX \leqslant_{m} Z and Y⩽mZY \leqslant_{m} Z then X⊕Y⩽mZX \oplus Y \leqslant_{m} Z.

[Note that we define N={0,1,…}\mathbb{N}=\{0,1, \ldots\}. Any use of Church's thesis in your answers should be explicitly stated.]

Typos? Please submit corrections to this page on GitHub.