Question : Are my Justifications Correct?
Pumping Lemma
$A = \{0^n1^n \mid n \geq 0\}$. Prove $A$ is not regular :
Suppose $S = 0^p1^p$ and $p = 3$.
Therefore, $S = 000111$. Breaking $S$ into $xyz$
Case 1 : $y$ is in the $0's$ part.
Therefore, $xy^iz \notin A $ for $i = 3$, because if $i = 3$, then $S_i = 0 000 111$ Therefore, there is an additional $0$, so $xy^iz \notin A $
Case 2 : $y$ is in the $1's$ part.
Therefore, $xy^iz \notin A $ for $i = 3$, because if $i = 3$, then $S_i = 000 111 1$. Therefore, there is an additional $1$, so $xy^iz \notin A $
Also, $|xy| > p$, because as $i$ increases, the amount of $1's$ is not equal to amount of $0's$ ?
Case 3 : $y$ contains $0's$ and $1's$
Therefore, $xy^iz \notin A $ for $i\geq1$ ? Because as $i$, the order of the symbols is violated.
Also, $|xy| > p$
I am confused at what value of $i$ does $xy^iz \notin A $?
Can someone please clarify?
\geq
,\mid
,\to
. – Raphael Apr 29 '17 at 19:44