In mathematical logic and computer science, recursive language is a type of formal language , also called soluble or Turing - soluble . The class of all recursive languages is often denoted by R , although the same notation is used for the class RP .
This type of language is not defined in the Chomsky hierarchy ( Chomsky 1959 ).
Content
Definitions
Two equivalent definitions of the recursive language are used:
- A formal recursive language is a recursive subset of the set of all possible words in the alphabet of a formal language .
- A recursive language is a formal language for which there is a Turing machine that stops at any input chain and allows it if and only if it belongs to the language. It is said that such a machine is a solver and resolves this recursive language.
All recursive languages are also recursively enumerable . All regular , context-free and context-dependent languages are recursive.
Closed Properties
Recursive languages are closed by the operations listed below. Thus, if L and P are recursive languages, then the following languages are also recursive:
- wedge closure ;
- form where Is a homomorphism such that where - empty chain;
- concatenation ;
- Union ;
- intersection ;
- addition ;
- difference .
References
- Michael Sipser . Decidability // Introduction to the Theory of Computation. - PWS Publishing, 1997. - P. 151-170. - ISBN 0-534-94728-X .
- Chomsky, Noam. On certain formal properties of grammars (Eng.) // Information and Control : journal. - 1959. - Vol. 2 , no. 2 - P. 137-167 . - DOI : 10.1016 / S0019-9958 (59) 90362-6 .
See also
- Recursively enumerable language