Prove that every infinite regular language has an undecidable infinite subset

2.9k Views Asked by At

I am having trouble writing a formal proof for this. I understand that we have an infinite regular language. This means that we have uncountable many subsets of the infinite regular language and due to this we have a subset which is undecidable. However, I don't know if this reasoning completes the proof or not. What's a recommended way to answer this kind of question in exam?

1

There are 1 best solutions below

2
On BEST ANSWER

Yes, that sounds convincing.

Note that your argument proves something stronger than what you were asked for, though -- namely that every infinite language (regular or not) has an undecidable subset.

With the particular focus on regular languages, the intended solution might have been something like using the pumping lemma to find $x,y,z$ such that $xy^nz$ is in your language for every $n$, and then consider the subset $\{xy^nz\mid n\in A\}$, where $A$ is your favorite undecidable set of natural numbers.