Proof: For a regular language there exists a DFA
s.t.
. Let us assume that
has got
states. Now if
accepts a word
with
it must have visited a state
twice:
We choose s.t. it is the first cycle, hence
. We also
know that
is non empty (otherwise there is no cycle).
Now, consider what happens if we feed a word of the form to
the automaton, i.e. s instead of
it contains an arbotrary number
of repetetions of
, including the case
, i.e.
is just left
out. The automaton has to accept all such words and hence