let s be State of SCM+FSA; for P being Instruction-Sequence of SCM+FSA
for I being Program of SCM+FSA
for a being Int-Location st not I destroys a & I is_closed_on s,P holds
for k being Element of NAT holds (Comput ((P +* I),(Initialize s),k)) . a = s . a
let P be Instruction-Sequence of SCM+FSA; for I being Program of SCM+FSA
for a being Int-Location st not I destroys a & I is_closed_on s,P holds
for k being Element of NAT holds (Comput ((P +* I),(Initialize s),k)) . a = s . a
let I be Program of SCM+FSA; for a being Int-Location st not I destroys a & I is_closed_on s,P holds
for k being Element of NAT holds (Comput ((P +* I),(Initialize s),k)) . a = s . a
let a be Int-Location; ( not I destroys a & I is_closed_on s,P implies for k being Element of NAT holds (Comput ((P +* I),(Initialize s),k)) . a = s . a )
assume A1:
not I destroys a
; ( not I is_closed_on s,P or for k being Element of NAT holds (Comput ((P +* I),(Initialize s),k)) . a = s . a )
defpred S1[ Nat] means (Comput ((P +* I),(Initialize s),$1)) . a = s . a;
A2:
I c= P +* I
by FUNCT_4:25;
assume A3:
I is_closed_on s,P
; for k being Element of NAT holds (Comput ((P +* I),(Initialize s),k)) . a = s . a
A4:
now for k being Element of NAT st S1[k] holds
S1[k + 1]let k be
Element of
NAT ;
( S1[k] implies S1[k + 1] )assume A5:
S1[
k]
;
S1[k + 1]set l =
IC (Comput ((P +* I),(Initialize s),k));
A6:
IC (Comput ((P +* I),(Initialize s),k)) in dom I
by A3, Def6;
then
(P +* I) . (IC (Comput ((P +* I),(Initialize s),k))) = I . (IC (Comput ((P +* I),(Initialize s),k)))
by A2, GRFUNC_1:2;
then
(P +* I) . (IC (Comput ((P +* I),(Initialize s),k))) in rng I
by A6, FUNCT_1:def 3;
then A7:
not
(P +* I) . (IC (Comput ((P +* I),(Initialize s),k))) destroys a
by A1, Def4;
A8:
dom (P +* I) = NAT
by PARTFUN1:def 2;
(Comput ((P +* I),(Initialize s),(k + 1))) . a =
(Following ((P +* I),(Comput ((P +* I),(Initialize s),k)))) . a
by EXTPRO_1:3
.=
(Exec (((P +* I) . (IC (Comput ((P +* I),(Initialize s),k)))),(Comput ((P +* I),(Initialize s),k)))) . a
by A8, PARTFUN1:def 6
.=
(Comput ((P +* I),(s +* (Start-At (0,SCM+FSA))),k)) . a
by A7, Th20
.=
s . a
by A5
;
hence
S1[
k + 1]
;
verum end;
A9:
not a in dom (Start-At (0,SCM+FSA))
by SCMFSA_2:102;
(Comput ((P +* I),(Initialize s),0)) . a =
(Initialize s) . a
.=
s . a
by A9, FUNCT_4:11
;
then A10:
S1[ 0 ]
;
thus
for k being Element of NAT holds S1[k]
from NAT_1:sch 1(A10, A4); verum