I am trying to understand why the language {0^n1^n | n >=0}
is not regular.
I understand that FSA's do not have memory and therefore can not keep track of what the value of n is, however, if the machine is able to generate enough states for 0 why can it not generate enough states for 1.
Does it just lose the memory of n
?
I hope somebody can explain this to me.
Is 0^n
also not regular? Since there is no memory of n
?