Paper 4, Section I, 4G

Automata and Formal Languages
Part II, 2018

(a) State the smns-m-n theorem, the recursion theorem, and Rice's theorem.

(b) Show that if g:N2Ng: \mathbb{N}^{2} \rightarrow \mathbb{N} is partial recursive, then there is some eNe \in \mathbb{N} such that

fe,1(y)=g(e,y)yNf_{e, 1}(y)=g(e, y) \quad \forall y \in \mathbb{N}

(c) By considering the partial function g:N2Ng: \mathbb{N}^{2} \rightarrow \mathbb{N} given by

g(x,y)={0 if y<x otherwise g(x, y)= \begin{cases}0 & \text { if } y<x \\ \uparrow & \text { otherwise }\end{cases}

show there exists some mNm \in \mathbb{N} such that WmW_{m} has exactly mm elements.

(d) Given nNn \in \mathbb{N}, is it possible to compute whether or not WnW_{n} has exactly 9 elements? Justify your answer.

[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.]