$$\mathscr L = \{x \in \{0,1\}^* \mid \text{there is a } y \in \{0,1\}^* \text{ such that } x = yy\}$$
How can I prove that this is not a Regular language? I tried using proof by contradiction but cannot manage to find a solution.
$$\mathscr L = \{x \in \{0,1\}^* \mid \text{there is a } y \in \{0,1\}^* \text{ such that } x = yy\}$$
How can I prove that this is not a Regular language? I tried using proof by contradiction but cannot manage to find a solution.
Copyright © 2021 JogjaFile Inc.
Hint- is $L^{\prime} = \{ 0^{n}1^{n} : n \in \mathbb{N} \cup \{0\} \}$ regular? What happens when you take $w \in L^{\prime}$? Is $ww \in \mathcal{L}$?