Skip to main content

Questions tagged [halting-problem]

Questions concerning the Halting problem which is to decide whether a given a program halts on a given input.

0 votes
0 answers
72 views

The set of non-halting (program, input) pairs is not recursively enumerable (not RE). Does this imply that there is no infinite sequence of algorithms (e.g., heuristics) whose limit could enumerate ...
spacemonkey's user avatar
0 votes
1 answer
113 views

I was reading through the proof for the halting problem and saw that that the "pathological" program that makes program H return the wrong result needs to have H inside it, where H is a ...
Aliesha Flynn's user avatar
12 votes
2 answers
901 views

Suppose we have some subset $S$ of Turing machines with the property that, for every partial recursive function, at least one machine in $S$ computes that function. Question: for any such subset $S$, ...
Mike Battaglia's user avatar
3 votes
1 answer
83 views

In title, $TM_1$, $TM_2$ and $TM_3$ are all turing machines. In book Computational Complexity: A Modern Approach by Sanjeev Arora et al, the proof of the non-computability of the HALTING problem is ...
JohnsonL's user avatar
1 vote
1 answer
136 views

I have been studying Rice's Theorem, and I came across the following proof, which I am trying to understand in more detail: [Rice's Theorem] If $A$ is an index set --- $\neq \emptyset$ or $\mathbb{N}$ ...
Pablo Menéndez's user avatar
-4 votes
2 answers
144 views

However given that Th can be constructed, we can construct a second machine Td1 such that : Td1(Ti , D.N. of Ti) = HALT if Ti does not halt on its own D.N. OR Ti=Td1 LOOP if Ti halts on its own D.N. ...
Meta Logician's user avatar
0 votes
2 answers
142 views

I am currently trying to understand why some finite sets or problems are always decidable. For example, the halting problem on an empty tape is proven to be undecidable: $$H_0 = \{w \in \{0,1\}^* \mid ...
checkchecker's user avatar
-1 votes
1 answer
67 views

I am trying to understand whether it is possible to construct a Turing Machine (TM) that accepts an input if and only if it halts on that input. My question is closely related to the halting problem. ...
checkchecker's user avatar
2 votes
0 answers
68 views

The languages are defined as such (for standard Turing machines and over $\{0, 1\}^*$: $$ L_3 \triangleq \{ (\langle M \rangle, x) \mid \text{$\forall M^\prime, [x\in L(M^\prime)] \lor [\langle M^\...
HitoriJanai's user avatar
0 votes
2 answers
145 views

I've seen several definitions and discussions on this topic, but I cannot find the exact definitions of "Nondeterministic Turing Machine (NTM) that halts on an input x" and "NTM that ...
pvpvpvpv's user avatar
5 votes
2 answers
1k views

It's well-known that the language $A_{TM} = \{\langle M,w\rangle: \text{M is a turing machine that accepts w} \}$ is undecidable. There's a standard proof that's presented in Sipser's "...
Simon Lyons's user avatar
1 vote
1 answer
168 views

I need to prove that the language following language is not turing-recognizable: $$\text{dec-haltTM} = \{ \langle M\rangle: \text{$M$ is a TM and the set of words that M halts on is decidable}\}$$ I ...
Dee's user avatar
  • 141
0 votes
1 answer
70 views

I'm working on a problem involving the language 𝐿 = { 𝑤 ∣ time𝑀𝑤 ( 𝑥 ) ≤ ∣ 𝑥 ∣ + 1 for all words  𝑥 }. The language consists of words 𝑤 where the Turing machine 𝑀𝑤 halts within ∣ 𝑥 ∣ + 1 ...
xRubiks's user avatar
2 votes
0 answers
60 views

I would like to prove the undecidability of the following language $L$, closely related to the Halting problem: $$L:=\{w \mid M_w \text{ accepts a word of size }|w|\}.$$ It is obvious for unary ...
Sebastian Mueller's user avatar
4 votes
3 answers
646 views

There is a naive semidecision algorithm for the halting problem: simply simulate the program and see if it halts. Is there an algorithm that is asymptotically faster? More precisely, suppose the naive ...
Trebor's user avatar
  • 230

15 30 50 per page
1
2 3 4 5
31