Question: Every infinite recognizable language has an infinite decidable subset. ( Hint: Use the equivalences between recognizers and enumerators, and deciders and ordered enumerators ) .

Every infinite recognizable language has an infinite decidable subset. (Hint: Use the equivalences between recognizers and enumerators, and deciders and ordered enumerators).
Solution:
Idea: Let L be any infinite recognizable language. Let E be an enumerator for it. We will modify E to only enumerate strings in lexicographic order. This modification will generate an infinite decidable subset of L.
Modification: Add two extra tapes T1 and T2 to E. On T1 it will work similar to its main tape, and on T2 it will record the latest accepted string. Whenever it reaches accept state of the original enumerator, it compares T1 with T2 to check if T1 has a string x greater than the string y on T2. If no, then it keeps enumerating on T1 as usual. If yes, then it writes x on T2 and on the main tape, goes to accept state to accept x, and then continues enumerating on T1 as usual.
Proof: Modified E's language satisfies following three properties because:
(a) Subset of L(E)(0.5 points):
(b) Decidable (1 point):
(c) Infinite (0.5 points):
Every infinite recognizable language has an

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!