RECURSIVE LANGUAGE
A 'recursive language' in mathematics, logic and computer science, is a type of formal language which is also called 'recursive', 'decidable' or 'Turing-decidable'. The class of all recursive languages is often called 'R', although this name is also used for the class RP.
This type of language was not defined in the Chomsky hierarchy of .
There are two equivalent major definitions for the concept of a recursive language:
# A recursive formal language is a recursive subset in the set of all possible words over the alphabet of the language.
# A recursive language is a formal language for which there exists a Turing machine which will, when presented with any input string, halt and accept if the string is in the language, and halt and reject otherwise. The Turing machine always halts; it is known as a decider and is said to ''decide'' the recursive language.
All recursive languages are also recursively enumerable. All regular, context-free and context-sensitive languages are recursive.
Recursive languages are closed under the following operations. That is, if ''L'' and ''P'' are two recursive languages, then the following languages are recursive as well:
★ the Kleene star of ''L''
★ the non-erasing homomorphism φ(L) of ''L''
★ the concatenation of ''L'' and ''P''
★ the union
★ the intersection
★ the complement of ''L''
★ the set difference
The last property follows from the fact that the set difference can be expressed in terms of intersection and complement.
★ Introduction to the Theory of Computation, Michael Sipser, , , PWS Publishing, 1997, ISBN 0-534-94728-X
★ On certain formal properties of grammars, , Noam, Chomsky, Information and Control, 1959
★ Recursively enumerable language
★ Recursion
★ Recursive acronym
This type of language was not defined in the Chomsky hierarchy of .
| Contents |
| Definitions |
| Closure Properties |
| References |
| See also |
| External links |
Definitions
There are two equivalent major definitions for the concept of a recursive language:
# A recursive formal language is a recursive subset in the set of all possible words over the alphabet of the language.
# A recursive language is a formal language for which there exists a Turing machine which will, when presented with any input string, halt and accept if the string is in the language, and halt and reject otherwise. The Turing machine always halts; it is known as a decider and is said to ''decide'' the recursive language.
All recursive languages are also recursively enumerable. All regular, context-free and context-sensitive languages are recursive.
Closure Properties
Recursive languages are closed under the following operations. That is, if ''L'' and ''P'' are two recursive languages, then the following languages are recursive as well:
★ the Kleene star of ''L''
★ the non-erasing homomorphism φ(L) of ''L''
★ the concatenation of ''L'' and ''P''
★ the union
★ the intersection
★ the complement of ''L''
★ the set difference
The last property follows from the fact that the set difference can be expressed in terms of intersection and complement.
References
★ Introduction to the Theory of Computation, Michael Sipser, , , PWS Publishing, 1997, ISBN 0-534-94728-X
★ On certain formal properties of grammars, , Noam, Chomsky, Information and Control, 1959
See also
★ Recursively enumerable language
★ Recursion
★ Recursive acronym
External links
This article provided by Wikipedia. To edit the contents of this article, click here for original source.
psst.. try this: add to faves

العربية
中国
Français
Deutsch
Ελληνική
हिन्दी
Italiano
日本語
Português
Русский
Español