RECURSIVELY ENUMERABLE LANGUAGE
In mathematics, logic and computer science, a 'recursively enumerable language' is a type of formal language which is also called 'partially decidable' or 'Turing-recognizable'. It is known as a 'type-0' language in the Chomsky hierarchy of formal languages. The class of all recursively enumerable languages is called 'RE'.
There exist three equivalent major definitions for the concept of a recursively enumerable language.
# A recursively enumerable formal language is a recursively enumerable subset in the set of all possible words over the alphabet of the language.
# A recursively enumerable language is a formal language for which there exists a Turing machine (or other computable function) which will enumerate all valid strings of the language. Note that, if the language is infinite, the enumerating algorithm provided can be chosen so that it avoids repetitions, since we can test whether the string produced for number ''n'' is "already" produced for a number which is less than ''n''. If it already is produced, use the output for input ''n+1'' instead (recursively), but again, test whether it is "new".
# A recursively enumerable language is a formal language for which there exists a Turing machine (or other computable function) that will halt and accept when presented with any string in the language as input but may either halt and reject or loop forever when presented with a string not in the language. Contrast this to recursive languages, which require that the Turing machine halts in all cases.
All regular, context-free, context-sensitive and recursive languages are recursively enumerable.
'RE', together with its complement co-RE, form the basis for the arithmetical hierarchy.
Recursively enumerable languages are closed under the following operations. That is, if ''L'' and ''P'' are two recursively enumerable languages, then the following languages are recursively enumerable as well:
★ the Kleene star of ''L''
★ the concatenation of ''L'' and ''P''
★ the union
★ the intersection
Note that recursively enumerable languages are not closed under set difference or complementation. The set difference ''L''''P'' and the complement of ''L'' may or may not be recursively enumerable.
★ Recursive language
★ Complexity Zoo: RE
★ Sipser, M. (1996), ''Introduction to the Theory of Computation'', PWS Publishing Co.
★ Kozen, D.C. (1997), ''Automata and Computability'', Springer.
| Contents |
| Definitions |
| Closure properties |
| See also |
| External links |
| References |
Definitions
There exist three equivalent major definitions for the concept of a recursively enumerable language.
# A recursively enumerable formal language is a recursively enumerable subset in the set of all possible words over the alphabet of the language.
# A recursively enumerable language is a formal language for which there exists a Turing machine (or other computable function) which will enumerate all valid strings of the language. Note that, if the language is infinite, the enumerating algorithm provided can be chosen so that it avoids repetitions, since we can test whether the string produced for number ''n'' is "already" produced for a number which is less than ''n''. If it already is produced, use the output for input ''n+1'' instead (recursively), but again, test whether it is "new".
# A recursively enumerable language is a formal language for which there exists a Turing machine (or other computable function) that will halt and accept when presented with any string in the language as input but may either halt and reject or loop forever when presented with a string not in the language. Contrast this to recursive languages, which require that the Turing machine halts in all cases.
All regular, context-free, context-sensitive and recursive languages are recursively enumerable.
'RE', together with its complement co-RE, form the basis for the arithmetical hierarchy.
Closure properties
Recursively enumerable languages are closed under the following operations. That is, if ''L'' and ''P'' are two recursively enumerable languages, then the following languages are recursively enumerable as well:
★ the Kleene star of ''L''
★ the concatenation of ''L'' and ''P''
★ the union
★ the intersection
Note that recursively enumerable languages are not closed under set difference or complementation. The set difference ''L''''P'' and the complement of ''L'' may or may not be recursively enumerable.
See also
★ Recursive language
External links
★ Complexity Zoo: RE
References
★ Sipser, M. (1996), ''Introduction to the Theory of Computation'', PWS Publishing Co.
★ Kozen, D.C. (1997), ''Automata and Computability'', Springer.
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