Recursive language: Difference between revisions

Content deleted Content added
Nyngwang (talk | contribs)
Definitions: remove uncommon usage "recursive formal language"; remove distracting references "set", "subset"; link "words"; link "alphabet" more precisely.
Nyngwang (talk | contribs)
Definitions: use the definition from the textbook by Sipser.
Line 14:
 
# A recursive language is a [[recursive set|recursive]] subset of the set of all possible finite-length [[formal language|words]] over an [[alphabet (formal languages)|alphabet]].
# A recursive language is a formal language for which there exists a [[Turing machine]] that, when presented with any finite input [[literal string|string]], halts and accepts if the string is in the language, and halts and rejects otherwise. Thedecider (Turing machine always halts: it is known as a [[Machine that always halts)|deciderdecides]] and is said to ''decide'' the recursive languageit.
 
By the second definition, any [[decision problem]] can be shown to be decidable by exhibiting an [[algorithm]] for it that terminates on all inputs. An [[undecidable problem]] is a problem that is not decidable.