Halting problem is undecidable proof confusion-:

  • Context: MHB 
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Confusion Proof
Click For Summary
SUMMARY

The discussion centers on the proof of the undecidability of the Halting Problem, specifically addressing the contradiction arising from the existence of a Turing machine H that supposedly solves it. The contradiction is established through the definitions of Turing machines D and H', where if D halts on its own input R(D), it leads to a loop, and conversely, if D loops, H' indicates that D halts. This creates a logical paradox represented as P ↔ ¬P, confirming the undecidability of the Halting Problem.

PREREQUISITES
  • Understanding of Turing machines and their operations
  • Familiarity with the concept of the Halting Problem
  • Knowledge of logical implications and contradictions in formal proofs
  • Basic grasp of computability theory
NEXT STEPS
  • Study the formal definition of the Halting Problem and its implications in computability theory
  • Explore Turing machine constructions and their limitations
  • Learn about Gödel's incompleteness theorems and their relation to undecidability
  • Investigate other undecidable problems in theoretical computer science
USEFUL FOR

The discussion is beneficial for computer scientists, students of theoretical computer science, and anyone interested in the foundations of computation and the limits of algorithmic problem-solving.

shivajikobardan
Messages
637
Reaction score
54
https://slideplayer.com/slide/10708471/
This is the context I am talking about.

KgCMu.png


What contradiction occur here? We begin by telling that there is a Turing machine H that solves the halting problem. So how does this contradicts? Can you tell me about that?

What contradiction occur here? We begin by telling that there is a Turing machine H that solves the halting problem. So how does this contradicts? Can you tell me about that?
 
Technology news on Phys.org
I write $M(w)$ for the computation of a TM $M$ on inout $w$. The contradiction is as follows. If $D$ halts on $R(D)$, then by the definition of $H'$ we have $H'(R(D), R(D))$ loops. But the latter computation is a part of the computation $D(R(D))$; therefore, $D$ loops on $R(D)$. This is by itself is not a contradiction yet; it just means that $D$ cannot halt on $R(D)$. However, the inversion of that implication also holds: if $D$ loops on $R(D)$, then by the definition of $H'$ we have $H'(R(D), R(D))$ halts. Since this computation is the last portion of $D(R(D))$, the latter computation halts as well. So if we denote "$D$ halts on $R(D)$" by $P$, we get both $P\to\neg P$ (which implies $\neg P$) and $\neg P\to P$, which together with the former implication means $P\leftrightarrow \neg P$. This is a contradiction.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
910
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
29
Views
5K
  • · Replies 54 ·
2
Replies
54
Views
6K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K