Halting problem is undecidable proof confusion-:

  • Context:
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Confusion Proof
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
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?
 
Physics 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.