Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Regular language
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Closure properties == The regular languages are [[closure (mathematics)|closed]] under various operations, that is, if the languages ''K'' and ''L'' are regular, so is the result of the following operations: * the [[set-theoretic operations|set-theoretic Boolean operations]]: [[Union (set theory)|union]] {{math|''K'' βͺ ''L''}}, [[intersection (set theory)|intersection]] {{math|''K'' β© ''L''}}, and [[complement (set theory)|complement]] {{overline|''L''}}, hence also [[relative complement]] {{math|''K'' − ''L''}}.<ref name=Sal28>Salomaa (1981) p.28</ref> * the regular operations: {{math|''K'' βͺ ''L''}}, [[concatenation]] {{tmath|K \circ L}}, and [[Kleene star]] {{math|''L''<sup>*</sup>}}.<ref name=Sal27>Salomaa (1981) p.27</ref> * the [[abstract family of languages|trio]] operations: [[string homomorphism]], inverse string homomorphism, and intersection with regular languages. As a consequence they are closed under arbitrary [[finite state transducer|finite state transductions]], like [[right quotient|quotient]] ''K'' / ''L'' with a regular language. Even more, regular languages are closed under quotients with ''arbitrary'' languages: If ''L'' is regular then ''L'' / ''K'' is regular for any ''K''.<ref>{{cite conference | last1 = Fellows | first1 = Michael R. | author1-link = Michael Fellows | last2 = Langston | first2 = Michael A. | author2-link = Michael Langston | editor1-last = Myers | editor1-first = J. Paul Jr. | editor2-last = O'Donnell | editor2-first = Michael J. | contribution = Constructivity issues in graph algorithms | pages = 150β158 | publisher = Springer | series = Lecture Notes in Computer Science | title = Constructivity in Computer Science, Summer Symposium, San Antonio, Texas, USA, June 19-22, Proceedings | volume = 613 | year = 1991 | doi = 10.1007/BFB0021088 | isbn = 978-3-540-55631-2 }}</ref> * the reverse (or mirror image) ''L''<sup>R</sup>.<ref>Hopcroft, Ullman (1979), Chapter 3, Exercise 3.4g, p. 72</ref> Given a nondeterministic finite automaton to recognize ''L'', an automaton for ''L''<sup>R</sup> can be obtained by reversing all transitions and interchanging starting and finishing states. This may result in multiple starting states; Ξ΅-transitions can be used to join them.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)