let s be State of ; for I being Program of
for a being Int-Location st I does_not_destroy a & I is_closed_onInit s & Initialized I c= s holds
for k being Element of NAT holds (Computation s,k) . a = s . a
let I be Program of ; for a being Int-Location st I does_not_destroy a & I is_closed_onInit s & Initialized I c= s holds
for k being Element of NAT holds (Computation s,k) . a = s . a
let a be Int-Location ; ( I does_not_destroy a & I is_closed_onInit s & Initialized I c= s implies for k being Element of NAT holds (Computation s,k) . a = s . a )
assume A1:
I does_not_destroy a
; ( not I is_closed_onInit s or not Initialized I c= s or for k being Element of NAT holds (Computation s,k) . a = s . a )
defpred S1[ Element of NAT ] means (Computation s,$1) . a = s . a;
assume A2:
I is_closed_onInit s
; ( not Initialized I c= s or for k being Element of NAT holds (Computation s,k) . a = s . a )
assume A3:
Initialized I c= s
; for k being Element of NAT holds (Computation s,k) . a = s . a
then A4:
s +* (Initialized I) = s
by FUNCT_4:79;
A5:
I c= s
by A3, Th13;
A6:
now let k be
Element of
NAT ;
( S1[k] implies S1[k + 1] )assume A7:
S1[
k]
;
S1[k + 1]set l =
IC (Computation s,k);
A8:
IC (Computation s,k) in dom I
by A2, A4, Def4;
then
s . (IC (Computation s,k)) = I . (IC (Computation s,k))
by A5, GRFUNC_1:8;
then
s . (IC (Computation s,k)) in rng I
by A8, FUNCT_1:def 5;
then A9:
s . (IC (Computation s,k)) does_not_destroy a
by A1, SCMFSA7B:def 4;
(Computation s,(k + 1)) . a =
(Following (Computation s,k)) . a
by AMI_1:14
.=
(Exec (s . (IC (Computation s,k))),(Computation s,k)) . a
by AMI_1:54
.=
s . a
by A7, A9, SCMFSA7B:26
;
hence
S1[
k + 1]
;
verum end;
A10:
S1[ 0 ]
by AMI_1:13;
thus
for k being Element of NAT holds S1[k]
from NAT_1:sch 1(A10, A6); verum