recategorized by
1,464 views
8 votes
8 votes
State the halting problem of the Turing machine.
recategorized by

2 Answers

Best answer
15 votes
15 votes
Halting Problem: Given an input Turing machine $M$ (in some encoded form) and a word $w,$ we have to decide if $M$ halts on $w.$

In programming terms, this is equivalent to saying if a program will finish running on a given input.

Now, answering this problem is straightforward if the answer is "yes" -- we just have to run the TM on the given input and say "yes" when it halts. But answering "no" is not straight forwards as the TM may go to an infinite loop from which we are no sure if it'll eventually come out or not.

Thus Halting problem albeit semi-decidable is undecidable. It's complement is not even semi-decidable.

Related questions

19 votes
19 votes
2 answers
2
go_editor asked Dec 18, 2016
2,985 views
What is the type of the language $L$, where $L=\{a^n b^n \mid 0 < n < 327 \text{-th prime number} \}$