Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are all known languages that Turing machines cannot accept?

For example, the language of Turing machines that do not accept their own encoding cannot be accepted by any Turing machine.

like image 240
Rose Perrone Avatar asked Jun 26 '12 23:06

Rose Perrone


People also ask

What type of languages can not be accepted by Turing machines?

We have seen one language, the diagonalization language, that is not accepted by any Turing machine. This proves the diagonalization language is not recursively enumerable.

Does Turing machine accept all languages?

The turing machine accepts all the language even though they are recursively enumerable. Recursive means repeating the same set of rules for any number of times and enumerable means a list of elements.

What programming languages are not Turing complete?

Data Languages like HTML, XML, JSON and Markdown are always Non Turing Complete Programming Languages as they are designed to represent data and not computation.

Can a Turing machine reject a language?

A TM decides a language if it enters the accepting state for word in the language and it enters the rejecting state if it is not. Thus it halts on all inputs.


1 Answers

There are infinitely many languages that no TM can decide. Indeed, "most" languages are undecidable; there are countably many decidable languages, but uncountably many languages (hence, uncountably many undecidable ones).

Rice's theorem allows you to come up with lots of examples of languages which are undecidable. See the Wikipedia page: Rice's Theorem

Basically, if you have a set of languages that is non-trivial (i.e., there are TMs that recognize languages in the set, and TMs that recognize languages not in the set), then it is undecidable whether an arbitrary TM's language is in S. For instance, let S be the set consisting of the empty language. Then it is undecidable to determine whether an arbitrary TM accepts the empty language, i.e, no strings. Come up with any non-trivial set of languages, and you have a new undecidable language (all encodings of TMs recognizing languages in the set).

like image 100
Patrick87 Avatar answered Sep 27 '22 18:09

Patrick87