let p be the Instructions of SCM+FSA -valued ManySortedSet of NAT ; for s being State of SCM+FSA
for I being good InitHalting Program of SCM+FSA
for a being read-write Int-Location st not I destroys a & s . a > 0 holds
( (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a = (s . a) - 1 & DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) )
let s be State of SCM+FSA; for I being good InitHalting Program of SCM+FSA
for a being read-write Int-Location st not I destroys a & s . a > 0 holds
( (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a = (s . a) - 1 & DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) )
let I be good InitHalting Program of SCM+FSA; for a being read-write Int-Location st not I destroys a & s . a > 0 holds
( (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a = (s . a) - 1 & DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) )
let a be read-write Int-Location ; ( not I destroys a & s . a > 0 implies ( (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a = (s . a) - 1 & DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) ) )
assume A1:
not I destroys a
; ( not s . a > 0 or ( (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a = (s . a) - 1 & DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) ) )
reconsider J3 = Macro (SubFrom (a,(intloc 0))) as good Program of SCM+FSA ;
set I1 = I ';' (SubFrom (a,(intloc 0)));
set ss = IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s);
set pp = p;
I ';' (SubFrom (a,(intloc 0))) is_closed_onInit s,p
by Th35;
then A2:
I ';' (SubFrom (a,(intloc 0))) is_closed_on Initialized s,p
by Th40;
I ';' (SubFrom (a,(intloc 0))) is_halting_onInit s,p
by Th36;
then A3:
( I ';' (SubFrom (a,(intloc 0))) = I ';' J3 & I ';' (SubFrom (a,(intloc 0))) is_halting_on Initialized s,p )
by Th41;
then A4:
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . (intloc 0) = 1
by A2, SCMFSA8C:96;
set P = if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))));
set s0 = Initialized s;
set p0 = p;
A5:
ProgramPart (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) = loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))
by RELAT_1:209;
assume A6:
s . a > 0
; ( (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a = (s . a) - 1 & DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) )
then A7:
(Initialized s) . a > 0
by SCMFSA6C:3;
then consider s2 being State of SCM+FSA, p2 being the Instructions of SCM+FSA -valued ManySortedSet of NAT , k being Element of NAT such that
A8:
s2 = (Initialized s) +* (Initialize ((intloc 0) .--> 1))
and
A9:
p2 = p +* (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))))
and
k = (LifeSpan ((p +* (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))),((Initialized s) +* (Initialize ((intloc 0) .--> 1))))) + 1
and
A10:
(Comput (p2,s2,k)) . a = ((Initialized s) . a) - 1
and
A11:
(Comput (p2,s2,k)) . (intloc 0) = 1
and
A12:
for b being read-write Int-Location st b <> a holds
(Comput (p2,s2,k)) . b = (IExec (I,p,(Initialized s))) . b
and
A13:
for f being FinSeq-Location holds (Comput (p2,s2,k)) . f = (IExec (I,p,(Initialized s))) . f
and
A14:
IC (Comput (p2,s2,k)) = 0
and
A15:
for n being Element of NAT st n <= k holds
IC (Comput (p2,s2,n)) in dom (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))))
by A1, Th77;
A16:
loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))) c= p2
by A9, FUNCT_4:26;
A18:
now let f be
FinSeq-Location ;
(Comput (p2,s2,k)) . f = (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . fthus (Comput (p2,s2,k)) . f =
(IExec (I,p,(Initialized s))) . f
by A13
.=
(Exec ((SubFrom (a,(intloc 0))),(IExec (I,p,(Initialized s))))) . f
by SCMFSA_2:91
.=
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,(Initialized s))) . f
by Th34
.=
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . f
by SCMFSA8C:17
;
verum end;
XX2: Initialize (Initialized s) =
((Initialized s) +* (Initialize ((intloc 0) .--> 1))) +* (Start-At (0,SCM+FSA))
by FUNCT_4:99
.=
(Initialized s) +* ((Initialize ((intloc 0) .--> 1)) +* (Start-At (0,SCM+FSA)))
by FUNCT_4:15
.=
s2
by A8, FUNCT_4:99
;
thus A19: (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a =
(Exec ((SubFrom (a,(intloc 0))),(IExec (I,p,s)))) . a
by Th33
.=
((IExec (I,p,s)) . a) - ((IExec (I,p,s)) . (intloc 0))
by SCMFSA_2:91
.=
((IExec (I,p,s)) . a) - 1
by Th17
.=
((Initialized s) . a) - 1
by A1, Th63
.=
(s . a) - 1
by SCMFSA6C:3
; DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))
now let b be
Int-Location ;
(Comput (p2,s2,k)) . b1 = (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . b1per cases
( b = intloc 0 or b = a or ( b <> a & b <> intloc 0 ) )
;
suppose A20:
(
b <> a &
b <> intloc 0 )
;
(Comput (p2,s2,k)) . b1 = (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . b1then reconsider bb =
b as
read-write Int-Location by SF_MASTR:def 5;
thus (Comput (p2,s2,k)) . b =
(IExec (I,p,(Initialized s))) . bb
by A12, A20
.=
(Exec ((SubFrom (a,(intloc 0))),(IExec (I,p,(Initialized s))))) . b
by A20, SCMFSA_2:91
.=
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,(Initialized s))) . b
by Th33
.=
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . b
by SCMFSA8C:17
;
verum end; end; end;
then A21:
DataPart (Comput (p2,s2,k)) = DataPart (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))
by A18, SCMFSA6A:38;
set s21 = Initialize (Initialized s);
set p21 = p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA));
set ss0 = Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s));
set s31 = Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)));
set p31 = p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA));
0 in dom (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))
by SCMFSA8C:54;
then A22:
0 in dom (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))))
by FUNCT_4:105;
A23:
(Initialized s) . (intloc 0) = 1
by SCMFSA6C:3;
then A24:
loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))) is_pseudo-closed_on Initialized s,p
by A1, A7, Th73;
A25:
Directed (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) = loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))
by SCMFSA6A:63;
then A26:
Directed (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) is_pseudo-closed_on Initialized s,p
by A1, A23, A7, Th73;
A27:
DataPart (IExec ((Times (a,I)),p,(Initialized s))) = DataPart (IExec (((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA)),p,(Initialized s)))
by A1, A23, A7, A25, Th73, SCMFSA8C:69;
per cases
( (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a = 0 or (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a <> 0 )
;
suppose A28:
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a = 0
;
DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))A29:
(if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))) . ((card (I ';' (SubFrom (a,(intloc 0))))) + 3) = goto ((card (I ';' (SubFrom (a,(intloc 0))))) + 5)
by SCMFSA8C:65;
A30:
(card (I ';' (SubFrom (a,(intloc 0))))) + (3 + 2) =
((card (I ';' (SubFrom (a,(intloc 0))))) + 1) + 4
.=
((card (Goto 2)) + (card (I ';' (SubFrom (a,(intloc 0)))))) + 4
by SCMFSA8A:29
.=
card (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))
by SCMFSA8B:14
.=
card (dom (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))))
by CARD_1:104
.=
card (dom (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))))
by FUNCT_4:105
.=
card (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))))
by CARD_1:104
;
then
((card (I ';' (SubFrom (a,(intloc 0))))) + 3) + 0 < card (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))))
by XREAL_1:8;
then A31:
(card (I ';' (SubFrom (a,(intloc 0))))) + 3
in dom (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))))
by AFINSQ_1:70;
p2 . ((card (I ';' (SubFrom (a,(intloc 0))))) + 3) = (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) . ((card (I ';' (SubFrom (a,(intloc 0))))) + 3)
by A31, A16, GRFUNC_1:8;
then A32:
p2 . ((card (I ';' (SubFrom (a,(intloc 0))))) + 3) = goto ((card (I ';' (SubFrom (a,(intloc 0))))) + 5)
by A29, FUNCT_4:111;
A33:
p2 . 0 = (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) . 0
by A22, A16, GRFUNC_1:8;
A34:
Comput (
p2,
s2,
(k + 1)) =
Following (
p2,
(Comput (p2,s2,k)))
by EXTPRO_1:4
.=
Exec (
(p2 . 0),
(Comput (p2,s2,k)))
by A14, PBOOLE:158
;
A35:
(if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))) . 0 = a =0_goto ((card (I ';' (SubFrom (a,(intloc 0))))) + 3)
by SCMFSA8C:55;
A36:
p2 . 0 = a =0_goto ((card (I ';' (SubFrom (a,(intloc 0))))) + 3)
by A33, A35, FUNCT_4:111;
then
InsCode (p2 . 0) = 7
by SCMFSA_2:48;
then
InsCode (p2 . 0) in {0,6,7,8}
by ENUMSET1:def 2;
then A37:
DataPart (Comput (p2,s2,k)) = DataPart (Comput (p2,s2,(k + 1)))
by A34, SCMFSA8C:32;
A38:
(Comput (p2,s2,k)) . a = 0
by A10, A19, A28, SCMFSA6C:3;
then A39:
IC (Comput (p2,s2,(k + 1))) = (card (I ';' (SubFrom (a,(intloc 0))))) + 3
by A34, A36, SCMFSA_2:96;
now let n be
Element of
NAT ;
( not IC (Comput (p2,s2,n)) in dom (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) implies k + (1 + 1) <= n )assume A41:
not
IC (Comput (p2,s2,n)) in dom (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))))
;
k + (1 + 1) <= nthen
k < n
by A15;
then
k + 1
<= n
by INT_1:20;
then
k + 1
< n
by A39, A31, A41, XXREAL_0:1;
then
(k + 1) + 1
<= n
by INT_1:20;
hence
k + (1 + 1) <= n
;
verum end; then C44:
for
n being
Element of
NAT st not
IC (Comput ((p +* (ProgramPart (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))))),(Initialize (Initialized s)),n)) in dom (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) holds
k + 2
<= n
by A9, A5, XX2;
A42:
p2 /. (IC (Comput (p2,s2,(k + 1)))) = p2 . (IC (Comput (p2,s2,(k + 1))))
by PBOOLE:158;
A43:
Comput (
p2,
s2,
(k + (1 + 1))) =
Comput (
p2,
s2,
((k + 1) + 1))
.=
Following (
p2,
(Comput (p2,s2,(k + 1))))
by EXTPRO_1:4
.=
Exec (
(p2 . ((card (I ';' (SubFrom (a,(intloc 0))))) + 3)),
(Comput (p2,s2,(k + 1))))
by A38, A34, A36, A42, SCMFSA_2:96
;
then
IC (Comput (p2,s2,(k + 2))) = card (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))))
by A30, A32, SCMFSA_2:95;
then B44:
IC (Comput ((p +* (ProgramPart (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))))),(Initialize (Initialized s)),(k + 2))) = card (ProgramPart (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))))
by A9, A5, XX2;
loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))) is_pseudo-closed_on Initialized s,
p
by A24;
then A44:
k + 2
= pseudo-LifeSpan (
(Initialized s),
p,
(loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))))
by B44, C44, SCMFSA8A:def 5;
InsCode (p2 . ((card (I ';' (SubFrom (a,(intloc 0))))) + 3)) = 6
by A32, SCMFSA_2:47;
then
InsCode (p2 . ((card (I ';' (SubFrom (a,(intloc 0))))) + 3)) in {0,6,7,8}
by ENUMSET1:def 2;
then A45:
DataPart (Comput (p2,s2,k)) = DataPart (Comput (p2,s2,(k + 2)))
by A37, A43, SCMFSA8C:32;
A46:
Initialize (Initialized s) =
s +* ((Initialize ((intloc 0) .--> 1)) +* (Start-At (0,SCM+FSA)))
by FUNCT_4:15
.=
s +* (Initialize ((intloc 0) .--> 1))
by FUNCT_4:99
;
uu:
s2 =
(Initialized s) +* ((Initialize ((intloc 0) .--> 1)) +* (Start-At (0,SCM+FSA)))
by A8, FUNCT_4:99
.=
((Initialized s) +* (Initialize ((intloc 0) .--> 1))) +* (Start-At (0,SCM+FSA))
by FUNCT_4:15
.=
(Initialized s) +* (Start-At (0,SCM+FSA))
by FUNCT_4:99
;
DD:
loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0)))))) is_pseudo-closed_on Initialized s,
p
by A1, A23, A7, Th73;
thus DataPart (IExec ((Times (a,I)),p,s)) =
DataPart (IExec ((Times (a,I)),p,(Initialized s)))
by SCMFSA8C:17
.=
DataPart (IExec (((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA)),p,s))
by A27, SCMFSA8C:17
.=
DataPart ((Result ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)))) +* (s | NAT))
by A46, SCMFSA6B:def 1
.=
DataPart (Result ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s))))
by COMPOS_1:82
.=
DataPart (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))
by A21, A45, uu, A25, DD, A9, A44, SCMFSA8C:59
.=
DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))
by A4, A28, Th78
;
verum end; suppose A47:
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a <> 0
;
DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))
s . a >= 0 + 1
by A6, INT_1:20;
then A48:
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a > 0
by A19, A47, XREAL_1:21;
A49:
Start-At (
0,
SCM+FSA)
c= Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))
by FUNCT_4:26;
B49:
Start-At (
0,
SCM+FSA)
c= Initialize (Initialized s)
by FUNCT_4:26;
OO3:
(Initialized s) +* (Start-At (0,SCM+FSA)) = s2
by XX2;
A50:
k < pseudo-LifeSpan (
(Initialized s),
p,
(loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))))
by A15, A9, A5, A24, XX2, SCMFSA8C:2;
then A51:
DataPart (Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) = DataPart (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))
by A25, A26, A21, XX2, A9, SCMFSA8C:58;
A52:
now A53:
DataPart (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))) =
(DataPart (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) +* {}
by FUNCT_4:22
.=
(DataPart (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) +* (DataPart (Start-At (0,SCM+FSA)))
by COMPOS_1:30
.=
DataPart (Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))
by FUNCT_4:75
;
hereby for f being FinSeq-Location holds (Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) . f = (Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) . f
let a be
Int-Location ;
(Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) . b1 = (Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) . b1per cases
( a = intloc 0 or a <> intloc 0 )
;
suppose A54:
a = intloc 0
;
(Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) . b1 = (Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) . b1thus (Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) . a =
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a
by A51, SCMFSA6A:38
.=
1
by A54, Th17
.=
(Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))) . a
by A54, SCMFSA6C:3
.=
(Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) . a
by A53, SCMFSA6A:38
;
verum end; suppose
a <> intloc 0
;
(Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) . b1 = (Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) . b1then A55:
a is
read-write Int-Location
by SF_MASTR:def 5;
thus (Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) . a =
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . a
by A51, SCMFSA6A:38
.=
(Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))) . a
by A55, SCMFSA6C:3
.=
(Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) . a
by A53, SCMFSA6A:38
;
verum end; end;
end; let f be
FinSeq-Location ;
(Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) . f = (Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) . fthus (Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) . f =
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . f
by A51, SCMFSA6A:38
.=
(Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))) . f
by SCMFSA6C:3
.=
(Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))) . f
by A53, SCMFSA6A:38
;
verum end; IC (Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) =
IC (Comput (p2,s2,k))
by A25, A26, A50, A9, OO3, SCMFSA8C:58
.=
IC (Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))
by A14, FUNCT_4:121
;
then A56:
NPP (Comput ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)),k)) = NPP (Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))
by A52, SCMFSA10:91;
A57:
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) . (intloc 0) = 1
by A3, A2, SCMFSA8C:96;
KK:
DataPart (Initialized s) =
(DataPart (Initialized s)) +* {}
by FUNCT_4:22
.=
(DataPart (Initialized s)) +* (DataPart (Start-At (0,SCM+FSA)))
by COMPOS_1:30
.=
DataPart (Initialize (Initialized s))
by FUNCT_4:75
;
Directed (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) = loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))
by SCMFSA6A:63;
then
Directed (loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) is_pseudo-closed_on Initialize (Initialized s),
p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))
by A1, A23, A7, Th73, KK, SCMFSA8C:52;
then A58:
(
(loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA) is_closed_on Initialize (Initialized s),
p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA)) &
(loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA) is_halting_on Initialize (Initialized s),
p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA)) )
by SCMFSA8C:58;
A59:
Initialize (Initialized s) =
s +* ((Initialize ((intloc 0) .--> 1)) +* (Start-At (0,SCM+FSA)))
by FUNCT_4:15
.=
s +* (Initialize ((intloc 0) .--> 1))
by FUNCT_4:99
;
A60:
Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))) =
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) +* ((Initialize ((intloc 0) .--> 1)) +* (Start-At (0,SCM+FSA)))
by FUNCT_4:15
.=
(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) +* (Initialize ((intloc 0) .--> 1))
by FUNCT_4:99
;
A61:
(
(loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA) c= p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA)) &
(loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA) c= p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA)) )
by FUNCT_4:26;
A62:
NPP (Result ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)))) = NPP (Result ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))))
by A49, A58, A56, A61, B49, SCMFSA8C:103;
DataPart (IExec (((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA)),p,(Initialized s))) =
DataPart (IExec (((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA)),p,s))
by SCMFSA8C:17
.=
DataPart ((Result ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s)))) +* (s | NAT))
by A59, SCMFSA6B:def 1
.=
DataPart (Result ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized s))))
by COMPOS_1:82
.=
DataPart (Result ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))))
by A62, COMPOS_1:138
.=
DataPart ((Result ((p +* ((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA))),(Initialize (Initialized (IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)))))) +* ((IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s)) | NAT))
by COMPOS_1:82
.=
DataPart (IExec (((loop (if=0 (a,(Goto 2),(I ';' (SubFrom (a,(intloc 0))))))) ';' (Stop SCM+FSA)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))
by A60, SCMFSA6B:def 1
.=
DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))
by A1, A25, A57, A48, Th73, SCMFSA8C:69
;
hence
DataPart (IExec ((Times (a,I)),p,s)) = DataPart (IExec ((Times (a,I)),p,(IExec ((I ';' (SubFrom (a,(intloc 0)))),p,s))))
by A27, SCMFSA8C:17;
verum end; end;