In mathematics, logic and computer science, a recursive (or decidable) language is a recursive subset of the Kleene closure of an alphabet. Equivalently, a formal language is recursive if there exists a Turing machine that decides the formal language.[1] In theoretical computer science, such always-halting Turing machines are called total Turing machines or algorithms.[2]
The concept of decidability may be extended to other models of computation. For example, one may speak of languages decidable on a non-deterministic Turing machine. Therefore, whenever an ambiguity is possible, the synonym used for "recursive language" is Turing-decidable language, rather than simply 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.[3] All recursive languages are also recursively enumerable. All regular, context-free and context-sensitive languages are recursive.
© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search