Regular Language: Difference between revisions
Jump to navigation
Jump to search
imported>Howard C. Berkowitz (Linked compllement to disambiguation) |
mNo edit summary |
||
Line 27: | Line 27: | ||
* <math>h(A) = \{h(x) ~|~ x \in A\} \subseteq \Gamma^*</math> (homomorphic [[image]]) | * <math>h(A) = \{h(x) ~|~ x \in A\} \subseteq \Gamma^*</math> (homomorphic [[image]]) | ||
* <math>h^{-1}(C) = \{x ~|~ h(x) \in C\} \subseteq \Sigma^*</math> (homomorphic [[preimage]]) | * <math>h^{-1}(C) = \{x ~|~ h(x) \in C\} \subseteq \Sigma^*</math> (homomorphic [[preimage]])[[Category:Suggestion Bot Tag]] |
Latest revision as of 16:01, 10 October 2024
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 (computer language))
- (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.