let I be Program of SCM+FSA; ( I is InitClosed iff for s being State of SCM+FSA
for p being Instruction-Sequence of SCM+FSA holds I is_closed_onInit s,p )
assume A4:
for s being State of SCM+FSA
for p being Instruction-Sequence of SCM+FSA holds I is_closed_onInit s,p
; I is InitClosed
now let s be
State of
SCM+FSA;
for p being Instruction-Sequence of SCM+FSA st I c= p holds
for k being Element of NAT st Initialize ((intloc 0) .--> 1) c= s holds
IC (Comput (p,s,k)) in dom Ilet p be
Instruction-Sequence of
SCM+FSA;
( I c= p implies for k being Element of NAT st Initialize ((intloc 0) .--> 1) c= s holds
IC (Comput (p,s,k)) in dom I )assume
I c= p
;
for k being Element of NAT st Initialize ((intloc 0) .--> 1) c= s holds
IC (Comput (p,s,k)) in dom Ithen A5:
p +* I = p
by FUNCT_4:98;
let k be
Element of
NAT ;
( Initialize ((intloc 0) .--> 1) c= s implies IC (Comput (p,s,k)) in dom I )assume
Initialize ((intloc 0) .--> 1) c= s
;
IC (Comput (p,s,k)) in dom Ithen A6:
s = Initialized s
by FUNCT_4:98;
I is_closed_onInit s,
p
by A4;
hence
IC (Comput (p,s,k)) in dom I
by A6, Def4, A5;
verum end;
hence
I is InitClosed
by Def1; verum