Example of nonregular language
Consider the following language over the alphabet :
Suppose that a finite automaton tries to recongise words in this language. Then must store the entire sequence of ‘s before the first shows up. Otherwise will not be able to compare the length of the coming word of s with the length of the prefix of s.
As each automaton is capable for a fixed finite amount of storage with the help of its states, no automaton exists such that .
There is a precise mathematical proof justifying this informal argument: this language is indeed not regular.