let P be Instruction-Sequence of SCM+FSA; for s being State of SCM+FSA
for I being Program of SCM+FSA
for a being read-write Int-Location st I is_closed_onInit s,P & I is_halting_onInit s,P & s . a > 0 holds
for k being Element of NAT st k <= (LifeSpan ((P +* I),(Initialized s))) + 3 holds
IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I))
let s be State of SCM+FSA; for I being Program of SCM+FSA
for a being read-write Int-Location st I is_closed_onInit s,P & I is_halting_onInit s,P & s . a > 0 holds
for k being Element of NAT st k <= (LifeSpan ((P +* I),(Initialized s))) + 3 holds
IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I))
let I be Program of SCM+FSA; for a being read-write Int-Location st I is_closed_onInit s,P & I is_halting_onInit s,P & s . a > 0 holds
for k being Element of NAT st k <= (LifeSpan ((P +* I),(Initialized s))) + 3 holds
IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I))
let a be read-write Int-Location ; ( I is_closed_onInit s,P & I is_halting_onInit s,P & s . a > 0 implies for k being Element of NAT st k <= (LifeSpan ((P +* I),(Initialized s))) + 3 holds
IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I)) )
set s0 = Initialized s;
set IA = Start-At (0,SCM+FSA);
assume A1:
I is_closed_onInit s,P
; ( not I is_halting_onInit s,P or not s . a > 0 or for k being Element of NAT st k <= (LifeSpan ((P +* I),(Initialized s))) + 3 holds
IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I)) )
YY: Initialize (Initialized s) =
Initialize (Initialized s)
.=
Initialize (Initialized s)
.=
Initialized s
by MEMSTR_0:44
;
for k being Element of NAT holds IC (Comput ((P +* I),(Initialize (Initialized s)),k)) in dom I
by A1, YY, SCM_HALT:def 4;
then A3:
I is_closed_on Initialized s,P
by SCMFSA7B:def 6;
assume
I is_halting_onInit s,P
; ( not s . a > 0 or for k being Element of NAT st k <= (LifeSpan ((P +* I),(Initialized s))) + 3 holds
IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I)) )
then A4:
P +* I halts_on Initialized s
by SCM_HALT:def 5;
Initialized s = Initialize (Initialized s)
by MEMSTR_0:44;
then A5:
I is_halting_on Initialized s,P
by A4, SCMFSA7B:def 7;
assume
s . a > 0
; for k being Element of NAT st k <= (LifeSpan ((P +* I),(Initialized s))) + 3 holds
IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I))
then A6:
(Initialized s) . a > 0
by SCMFSA6C:3;
hereby verum
let k be
Element of
NAT ;
( k <= (LifeSpan ((P +* I),(Initialized s))) + 3 implies IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I)) )A7:
Initialized s = Initialize (Initialized s)
by MEMSTR_0:44;
assume
k <= (LifeSpan ((P +* I),(Initialized s))) + 3
;
IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I))hence
IC (Comput ((P +* (while>0 (a,I))),(Initialized s),k)) in dom (while>0 (a,I))
by A7, A3, A5, A6, SCMFSA_9:42;
verum
end;