GATE / CS ARCHIVE

GATE CSE 2016 SET 1 / QUESTION 44

GATE CSE 2016 Set 1 Q44

Theory of Computation · Decidability & Computability · Full GATE CSE 2016 Set 1 paper

GATE 2016 Set 1, Q44 2 marks · MCQ
Report issue

Decidability & Computability

Question 44, GATE 2016: X is recursive; Y is recursively enumerable but not recursive. There are computable many-one reductions complement(Y)≤m W and Z≤m complement(X). Which conclusion is correct? A:W can be recursively enumerable and Z is recursive. B:W can be recursive and Z is recursively enumerable. C:W is not recursively enumerable and Z is recursive. D:W is not recursively enumerable and Z is not recursive. The complement bars are part of the printed source, although plain PDF extraction omits them.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

The source has complement bars: complement(Y) reduces to W, and Z reduces to complement(X). Since Y is RE but not recursive, complement(Y) cannot be RE, otherwise dovetailing the two recognizers would decide Y. RE languages are closed under computable many-one preimages, so W cannot be RE. X recursive implies complement(X) recursive, and its computable preimage Z is recursive. Hence C.

The direction of the reduction is crucial. To recognize complement(Y) from a recognizer for W, compute the reduction image and run that recognizer. Thus if W were RE, complement(Y) would be RE, contradicting the fact that an RE language with an RE complement is decidable. For Z, compute its reduction image and run the decider for complement(X), which halts on all inputs. This closure argument proves Z recursive without assuming anything about its syntax or structure.

Original paper, page 17 · Answer key