let s be State of SCM+FSA; for p being the Instructions of SCM+FSA -valued ManySortedSet of NAT
for I being InitHalting Program of SCM+FSA
for a being read-write Int-Location st not a in UsedIntLoc I holds
(IExec (I,p,s)) . a = s . a
let p be the Instructions of SCM+FSA -valued ManySortedSet of NAT ; for I being InitHalting Program of SCM+FSA
for a being read-write Int-Location st not a in UsedIntLoc I holds
(IExec (I,p,s)) . a = s . a
let I be InitHalting Program of SCM+FSA; for a being read-write Int-Location st not a in UsedIntLoc I holds
(IExec (I,p,s)) . a = s . a
let a be read-write Int-Location ; ( not a in UsedIntLoc I implies (IExec (I,p,s)) . a = s . a )
J:
NPP (Initialized I) = Initialize ((intloc 0) .--> 1)
by SCMFSA6A:79;
then B0:
dom (Initialize ((intloc 0) .--> 1)) c= dom (Initialized I)
by RELAT_1:25;
not a in dom (Initialized I)
by SCMFSA6A:48;
then B1:
not a in dom (Initialize ((intloc 0) .--> 1))
by B0;
x:
not a in NAT
by SCMFSA_2:84;
y:
IExec (I,p,s) = (Result ((p +* I),(s +* (Initialize ((intloc 0) .--> 1))))) +* (s | NAT)
by SCMFSA6B:def 1;
not a in dom (s | NAT)
by x, RELAT_1:86;
then A2:
(IExec (I,p,s)) . a = (Result ((p +* I),(s +* (Initialize ((intloc 0) .--> 1))))) . a
by y, FUNCT_4:12;
A3:
Initialize ((intloc 0) .--> 1) c= s +* (Initialize ((intloc 0) .--> 1))
by FUNCT_4:26;
I c= p +* I
by FUNCT_4:26;
then
p +* I halts_on s +* (Initialize ((intloc 0) .--> 1))
by Th5, A3;
then consider n being Element of NAT such that
A4:
Result ((p +* I),(s +* (Initialize ((intloc 0) .--> 1)))) = Comput ((p +* I),(s +* (Initialize ((intloc 0) .--> 1))),n)
and
CurInstr ((p +* I),(Result ((p +* I),(s +* (Initialize ((intloc 0) .--> 1)))))) = halt SCM+FSA
by EXTPRO_1:def 8;
A5:
I c= p +* I
by FUNCT_4:26;
A6:
for m being Element of NAT st m < n holds
IC (Comput ((p +* I),(s +* (Initialize ((intloc 0) .--> 1))),m)) in dom I
by Def1, A5, A3;
Initialize I c= Initialized I
by SCMFSA6A:80;
then
NPP (Initialize I) c= NPP (Initialized I)
by COMPOS_1:170;
then
NPP (Initialize I) c= s +* (Initialize ((intloc 0) .--> 1))
by A3, J, XBOOLE_1:1;
then S1:
Start-At (0,SCM+FSA) c= s +* (Initialize ((intloc 0) .--> 1))
by COMPOS_1:210;
assume
not a in UsedIntLoc I
; (IExec (I,p,s)) . a = s . a
hence (IExec (I,p,s)) . a =
(s +* (Initialize ((intloc 0) .--> 1))) . a
by A2, A4, A6, A5, S1, SF_MASTR:69
.=
s . a
by B1, FUNCT_4:12
;
verum