A pumping lemma is used to prove that a language is not regular. But how can the language be found to be regular? In particular,
Let L be a language. Define half(L) to be { x | for some y such that |x| = |y|, xy is in L}. Prove for each regular L that half(L) is regular.
Is there any trick or general procedure to address such issues?
regular-language
Happy mittal
source share