HiveBrain v1.2.0
Get Started
← Back to all entries
patternModerate

Without using pumping lemma, can we determine if $A =\{ww \mid w \in \{0,1\}^* \}$ is non regular?

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
withoutcanmidnonregularpumpingusinglemmadetermine

Problem

Without using pumping lemma, can we prove $A =\{ww \mid w \in \{0,1\}^* \}$ is non regular?

Is $L= \{w \mid w \in \{0,1\}^* \}$ non regular? I'm thinking of using concatenation to prove the former isn't regular. If L is non regular then so is LL

Solution

Your idea (while interesting) is unlikely to work for two reasons:

  • How would you express $A$ as a concatenation of a language with itself?



  • If $L$ is non-regular, it may still be the case that $LL$ is regular. See this post:


Is $A$ regular if $A^{2}$ is regular?

You could prove it using the Myhill-Nerode theorem - show that there are infinitely many equivalence classes. Or you could simply use a pumping argument without the lemma. That is, follow the proof of the lemma for this particular language.

Context

StackExchange Computer Science Q#11759, answer score: 12

Revisions (0)

No revisions yet.