Previous | LECTURES | Next |
(c) Therefore we only have to show that for any s > 0
If TM has not halted before s then D |_ ds
We shall prove this by induction on s.
(i) Let s = 0.
D contains d0 by assumption. So D |_ d0
(ii) Suppose the claim is true for some s, and TM has not halted before s+1.
Then TM has not halted before s and won't halt at s.
So by hypothesis D |_ ds for some description ds
We need to show that D |_ ds+1 for some description ds+1
. Now A |= D Þ A |= ds
So at time s, TM is on p in state qi scanning Sj.
. SinceTM doesn't halt at s there is an entry in its machine table of one of the three kinds:
(a) (qi, Sj, Sk, qm)
(b) (qi, Sj, R, qm)
(c) (qi, Sj, L, qm)
Consider each of these cases in turn
(a) One of the sentences of D must be, by the construction of D,
"txy [[Qitx Ù Sjtx] ® [Qmt'x Ù Skt'x Ù (y¹x ® (S0ty ® S0t'y Ù ... Ù Srty ® Srt'y))]]
Combine this with ds, [Succ], and [Diff] to prove
Qmes+1ep Ù Sj1es+1ep1 Ù ... Ù Skes+1ep Ù ... Ù Sjves+1epv
Ù "y[[y¹ep1 Ù ... Ù y¹ep Ù ... Ù y¹epv] ® S0es+1y]
which is an example of ds+1.