retagged by
1,322 views
2 votes
2 votes
A is a decision problem. If A is recursively ennumerable then there exists an algorithm which halts on every string in A.

True or false.Cite with reasons.
retagged by

2 Answers

Best answer
1 votes
1 votes

True, There exists an algorithm which will find every string in A.
A is recursively enumerable. Means there exists a turning machine for A which will accept every string inside A and produce output as 'Yes'.
But the problem arises when the strings are not in A. For such string (that are not in A) that Turing machine either reject these string and produce output as 'No' or fall into an infinite loop. 

The algorithm is given in Peter Linz. Actually, this algorithm enumerates all the strings that are present in A. Hence it is showing that recursively enumerable language is countable. First, it is finding the algorithm for recursive language. Means if A is a recursive language, then it is enumerating every string that is present in A. Hence showing that Recursive language is countable

edited by
0 votes
0 votes
Yes! A Non Deterministic Turing Machine will always halt on the Recursively Enumerable. But please note that there are some languages that are out side the Type-0 grammars in chomsky hierarchy for which we can't construct a Turing Machine! These are generally NP-Hard problems.

Actually we can't prove the Non Deterministic Turing Machine!

Like Alan Turing said "We can't construct a Universal Turing Machine"

So I think practically it is not possible but theoretically it may possible! That is what the definition of RE language "A language for which a turing machine may or may not halt"!

Please tell me if any thing is wrong!

Related questions