languages

Definition

Regular Language

A language is called regular if there exists a finite automaton that accepts it.

Equivalently: A language is called regular if all words in the language are formed by and closed under unity, concatenation or star exponent.

Operations

Unity

Concatenation

Exponents

Star

Plus

Limitation

Regularity has limitations. Take the following language:

The language above demands that we have the number of ones is equal to the preceding number of zeros, i.e. the machine has to remember the number of zeros. Given that is not bounded, the machine has to be able to remember an unbounded number of possibilities, which is impossible with a finite number of states (in a finite automaton).