Regular Language: Difference between revisions
Jump to navigation
Jump to search
imported>Gaurav Banga |
imported>Gaurav Banga |
||
Line 6: | Line 6: | ||
* <math>A</math> is a regular language. | * <math>A</math> is a regular language. | ||
* <math>A</math> is accepted by a [[deterministic finite automaton]]. | * <math>A</math> is accepted by a [[deterministic finite automaton]](DFA). | ||
* <math>A</math> is accepted by a [[non-deterministic finite automaton]]. | * <math>A</math> is accepted by an [[alternating finite automaton]](AFA). | ||
* <math>A</math> can be described by a [[regular expression]]. | * <math>A</math> is accepted by a [[non-deterministic finite automaton]](NFA). | ||
* <math>A</math> is accepted by a [[generalized non-deterministic finite automaton]](GNFA). | |||
* <math>A</math> can be described by a [[regular expression]](RE). | |||
== Closure Properties == | == Closure Properties == |
Revision as of 20:10, 14 July 2008
In computing theory, a regular language is one that is accepted by a finite automaton.
Equivalent Characterizations
- is a regular language.
- is accepted by a deterministic finite automaton(DFA).
- is accepted by an alternating finite automaton(AFA).
- is accepted by a non-deterministic finite automaton(NFA).
- is accepted by a generalized non-deterministic finite automaton(GNFA).
- 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.