let P be the Instructions of SCM+FSA -valued ManySortedSet of NAT ; for s being State of SCM+FSA
for I being Program of SCM+FSA st I is_halting_on Initialized s,P holds
( ( for a being read-write Int-Location holds (IExec (I,P,s)) . a = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . a ) & ( for f being FinSeq-Location holds (IExec (I,P,s)) . f = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . f ) )
let s be State of SCM+FSA; for I being Program of SCM+FSA st I is_halting_on Initialized s,P holds
( ( for a being read-write Int-Location holds (IExec (I,P,s)) . a = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . a ) & ( for f being FinSeq-Location holds (IExec (I,P,s)) . f = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . f ) )
set A = NAT ;
let I be Program of SCM+FSA; ( I is_halting_on Initialized s,P implies ( ( for a being read-write Int-Location holds (IExec (I,P,s)) . a = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . a ) & ( for f being FinSeq-Location holds (IExec (I,P,s)) . f = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . f ) ) )
set s0 = Initialized s;
set s1 = (Initialized s) +* (Initialize I);
set P1 = P +* I;
A1:
ProgramPart I = I
by RELAT_1:209;
assume
I is_halting_on Initialized s,P
; ( ( for a being read-write Int-Location holds (IExec (I,P,s)) . a = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . a ) & ( for f being FinSeq-Location holds (IExec (I,P,s)) . f = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . f ) )
then A2:
P +* I halts_on (Initialized s) +* (Initialize I)
by SCMFSA7B:def 8, A1;
hereby for f being FinSeq-Location holds (IExec (I,P,s)) . f = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . f
let a be
read-write Int-Location ;
(IExec (I,P,s)) . a = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . a
not
a in NAT
by SCMFSA_2:84;
then
not
a in (dom s) /\ NAT
by XBOOLE_0:def 4;
then A3:
not
a in dom (s | NAT)
by RELAT_1:90;
s +* (Initialized I) = (Initialized s) +* (Initialize I)
by SCMFSA8A:13;
hence (IExec (I,P,s)) . a =
((Result ((P +* I),((Initialized s) +* (Initialize I)))) +* (s | NAT)) . a
.=
(Result ((P +* I),((Initialized s) +* (Initialize I)))) . a
by A3, FUNCT_4:12
.=
(Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . a
by A2, EXTPRO_1:23
;
verum
end;
let f be FinSeq-Location ; (IExec (I,P,s)) . f = (Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . f
not f in NAT
by SCMFSA_2:85;
then
not f in (dom s) /\ NAT
by XBOOLE_0:def 4;
then A4:
not f in dom (s | NAT)
by RELAT_1:90;
s +* (Initialized I) = (Initialized s) +* (Initialize I)
by SCMFSA8A:13;
hence (IExec (I,P,s)) . f =
((Result ((P +* I),((Initialized s) +* (Initialize I)))) +* (s | NAT)) . f
.=
(Result ((P +* I),((Initialized s) +* (Initialize I)))) . f
by A4, FUNCT_4:12
.=
(Comput ((P +* I),((Initialized s) +* (Initialize I)),(LifeSpan ((P +* I),((Initialized s) +* (Initialize I)))))) . f
by A2, EXTPRO_1:23
;
verum