now set sc = 1
succ 1;
let s be
All-State of
SuccTuring ;
for t being Tape of SuccTuring
for h being Element of NAT
for x being FinSequence of NAT st x in dom (1 succ 1) & s = [the InitS of SuccTuring ,h,t] & t storeData <*h*> ^ x holds
( s is Accept-Halt & ex h2 being Element of NAT ex y being Element of NAT st
( (Result s) `2 = h2 & y = (1 succ 1) . x & (Result s) `3 storeData <*h2*> ^ <*y*> ) )let t be
Tape of
SuccTuring ;
for h being Element of NAT
for x being FinSequence of NAT st x in dom (1 succ 1) & s = [the InitS of SuccTuring ,h,t] & t storeData <*h*> ^ x holds
( s is Accept-Halt & ex h2 being Element of NAT ex y being Element of NAT st
( (Result s) `2 = h2 & y = (1 succ 1) . x & (Result s) `3 storeData <*h2*> ^ <*y*> ) )let h be
Element of
NAT ;
for x being FinSequence of NAT st x in dom (1 succ 1) & s = [the InitS of SuccTuring ,h,t] & t storeData <*h*> ^ x holds
( s is Accept-Halt & ex h2 being Element of NAT ex y being Element of NAT st
( (Result s) `2 = h2 & y = (1 succ 1) . x & (Result s) `3 storeData <*h2*> ^ <*y*> ) )let x be
FinSequence of
NAT ;
( x in dom (1 succ 1) & s = [the InitS of SuccTuring ,h,t] & t storeData <*h*> ^ x implies ( s is Accept-Halt & ex h2 being Element of NAT ex y being Element of NAT st
( (Result s) `2 = h2 & y = (1 succ 1) . x & (Result s) `3 storeData <*h2*> ^ <*y*> ) ) )assume that A1:
x in dom (1 succ 1)
and A2:
s = [the InitS of SuccTuring ,h,t]
and A3:
t storeData <*h*> ^ x
;
( s is Accept-Halt & ex h2 being Element of NAT ex y being Element of NAT st
( (Result s) `2 = h2 & y = (1 succ 1) . x & (Result s) `3 storeData <*h2*> ^ <*y*> ) )A4:
s = [0 ,h,t]
by A2, Def18;
A5:
dom (1 succ 1) = 1
-tuples_on NAT
by COMPUT_1:def 10;
x is
Tuple of 1,
NAT
by A1, A5, FINSEQ_2:151;
then consider i being
Element of
NAT such that A6:
x = <*i*>
by A1, FINSEQ_2:117, A5;
A7:
<*h*> ^ x = <*h,i*>
by A6, FINSEQ_1:def 9;
hence
s is
Accept-Halt
by A3, A4, Th36;
ex h2 being Element of NAT ex y being Element of NAT st
( (Result s) `2 = h2 & y = (1 succ 1) . x & (Result s) `3 storeData <*h2*> ^ <*y*> )take h2 =
h;
ex y being Element of NAT st
( (Result s) `2 = h2 & y = (1 succ 1) . x & (Result s) `3 storeData <*h2*> ^ <*y*> )take y =
i + 1;
( (Result s) `2 = h2 & y = (1 succ 1) . x & (Result s) `3 storeData <*h2*> ^ <*y*> )thus
(Result s) `2 = h2
by A3, A4, A7, Th36;
( y = (1 succ 1) . x & (Result s) `3 storeData <*h2*> ^ <*y*> )thus y =
(x /. 1) + 1
by A6, FINSEQ_4:25
.=
(1 succ 1) . x
by A1, A5, COMPUT_1:def 10
;
(Result s) `3 storeData <*h2*> ^ <*y*>
(Result s) `3 storeData <*h2,(i + 1)*>
by A3, A4, A7, Th36;
hence
(Result s) `3 storeData <*h2*> ^ <*y*>
by FINSEQ_1:def 9;
verum end;
hence
SuccTuring computes 1 succ 1
by Def16; verum