You get a bonus - 1 coin for daily activity. Now you have 1 coin

Recursive Language

Lecture



In mathematical logic and computer science, a recursive language — a type of formal language, also called decidable, or Turing-decidable. The class of all recursive languages is often denoted by R, although the same notation is also used for the class RP.

This type of language is not defined within the Chomsky hierarchy (Chomsky 1959).

Definitions

Two equivalent definitions of a recursive language are used:

  1. A formal recursive language — a recursive subset of the set of all possible words over the alphabet of the formal language.
  2. A recursive language — a formal language for which there exists a Turing machine that halts on any input string and accepts it if and only if it belongs to the language. Such a machine is said to be a decider that decides the given 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 operations listed below. Thus, if L and P are recursive languages, the following languages are also recursive:

  • Kleene closure Recursive Language;
  • homomorphic image Recursive Language, where Recursive Language — is a homomorphism such that Recursive Language, where Recursive Language — is the empty string;
  • concatenation Recursive Language;
  • union Recursive Language;
  • intersection Recursive Language;
  • complement Recursive Language;
  • difference Recursive Language.
created: 2021-04-17
updated: 2026-03-10
125



Was this answer useful?
Choose a quick rating so we can improve the next answer for you.
How satisfied are you?


Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Computational linguistics"

Terms: Computational linguistics