let s be State of SCM+FSA ; :: thesis: for I being Program of SCM+FSA st I is_closed_onInit s & I is_halting_onInit s holds
for m being Element of NAT st m < LifeSpan (s +* (Initialized I)) holds
CurInstr (Computation (s +* (Initialized I)),m) = CurInstr (Computation (s +* (Initialized (loop I))),m)
let I be Program of SCM+FSA ; :: thesis: ( I is_closed_onInit s & I is_halting_onInit s implies for m being Element of NAT st m < LifeSpan (s +* (Initialized I)) holds
CurInstr (Computation (s +* (Initialized I)),m) = CurInstr (Computation (s +* (Initialized (loop I))),m) )
set s1 = s +* (Initialized I);
set s2 = s +* (Initialized (loop I));
assume A1:
( I is_closed_onInit s & I is_halting_onInit s )
; :: thesis: for m being Element of NAT st m < LifeSpan (s +* (Initialized I)) holds
CurInstr (Computation (s +* (Initialized I)),m) = CurInstr (Computation (s +* (Initialized (loop I))),m)
let m be Element of NAT ; :: thesis: ( m < LifeSpan (s +* (Initialized I)) implies CurInstr (Computation (s +* (Initialized I)),m) = CurInstr (Computation (s +* (Initialized (loop I))),m) )
assume A2:
m < LifeSpan (s +* (Initialized I))
; :: thesis: CurInstr (Computation (s +* (Initialized I)),m) = CurInstr (Computation (s +* (Initialized (loop I))),m)
then A3:
IC (Computation (s +* (Initialized I)),m) = IC (Computation (s +* (Initialized (loop I))),m)
by A1, Th68, AMI_1:121;
A4:
I c= Computation (s +* (Initialized I)),m
by Th67, AMI_1:81;
A5:
loop I c= Computation (s +* (Initialized (loop I))),m
by Th67, AMI_1:81;
A6:
IC (Computation (s +* (Initialized I)),m) in dom I
by A1, Def4;
then A7:
IC (Computation (s +* (Initialized I)),m) in dom (loop I)
by FUNCT_4:105;
A8:
s +* (Initialized I) is halting
by A1, Def5;
A9:
CurInstr (Computation (s +* (Initialized I)),m) = I . (IC (Computation (s +* (Initialized I)),m))
by A4, A6, GRFUNC_1:8;
then
I . (IC (Computation (s +* (Initialized I)),m)) <> halt SCM+FSA
by A2, A8, AMI_1:def 46;
then
I . (IC (Computation (s +* (Initialized I)),m)) = (loop I) . (IC (Computation (s +* (Initialized I)),m))
by FUNCT_4:111;
hence
CurInstr (Computation (s +* (Initialized I)),m) = CurInstr (Computation (s +* (Initialized (loop I))),m)
by A3, A5, A7, A9, GRFUNC_1:8; :: thesis: verum