|
We are creating the world's most trusted encyclopedia and knowledge base.
|
Regular Language
From Citizendium, the Citizens' Compendium
In computing theory, a regular language is one that is accepted by a finite automaton.
Equivalent Characterizations
- A is a regular language.
- A is accepted by a deterministic finite automaton(DFA).
- A is accepted by an alternating finite automaton(AFA).
- A is accepted by a non-deterministic finite automaton(NFA).
- A is accepted by a generalized non-deterministic finite automaton(GNFA).
- A can be described by a regular expression(RE).
Closure Properties
Suppose
are regular languages. Then the following languages are also regular.
-
(union)
-
(intersection)
-
(complement)
-
(concatenation)
-
(asterate)
-
(difference)
-
(reversal)
Regular languages are also closed under homomorphic images and preimages. Suppose
is a regular language and
is a string homomorphism. Then the following languages are regular.
(homomorphic
(homomorphic 
