Paper 1, Section II, F

Automata and Formal Languages | Part II, 2016

(a) Define a recursive set and a recursively enumerable (r.e.) set. Prove that ENE \subseteq \mathbb{N} is recursive if and only if both EE and N\E\mathbb{N} \backslash E are r.e.

(b) Define the halting set K\mathbb{K}. Prove that K\mathbb{K} is r.e. but not recursive.

(c) Let E1,E2,,EnE_{1}, E_{2}, \ldots, E_{n} be r.e. sets. Prove that i=1nEi\bigcup_{i=1}^{n} E_{i} and i=1nEi\bigcap_{i=1}^{n} E_{i} are r.e. Show by an example that the union of infinitely many r.e. sets need not be r.e.

(d) Let EE be a recursive set and f:NNf: \mathbb{N} \rightarrow \mathbb{N} a (total) recursive function. Prove that the set {f(n)nE}\{f(n) \mid n \in E\} is r.e. Is it necessarily recursive? Justify your answer.

[Any use of Church's thesis in your answer should be explicitly stated.]

Typos? Please submit corrections to this page on GitHub.