set Ma = Macro (AddTo (a,b));
let s be 0 -started State of SCM+FSA; SCMFSA6B:def 4,SCMFSA6C:def 1 for b1 being set holds
( not Macro (AddTo (a,b)) c= b1 or for b2 being set holds (Comput (b1,s,b2)) . (intloc 0) = s . (intloc 0) )
A11:
Start-At (0,SCM+FSA) c= s
by MEMSTR_0:29;
let P be Instruction-Sequence of SCM+FSA; ( not Macro (AddTo (a,b)) c= P or for b1 being set holds (Comput (P,s,b1)) . (intloc 0) = s . (intloc 0) )
assume A12:
Macro (AddTo (a,b)) c= P
; for b1 being set holds (Comput (P,s,b1)) . (intloc 0) = s . (intloc 0)
let k be Nat; (Comput (P,s,k)) . (intloc 0) = s . (intloc 0)
A13:
IC in dom (Start-At (0,SCM+FSA))
by TARSKI:def 1;
A14: IC s =
(Start-At (0,SCM+FSA)) . (IC )
by A13, A11, GRFUNC_1:2
.=
0
by FUNCOP_1:72
;
0 in dom (Macro (AddTo (a,b)))
by COMPOS_1:60;
then A15:
(Macro (AddTo (a,b))) . 0 = P . 0
by A12, GRFUNC_1:2;
A16:
P /. (IC s) = P . (IC s)
by PBOOLE:143;
A17: Comput (P,s,(0 + 1)) =
Following (P,(Comput (P,s,0)))
by EXTPRO_1:3
.=
Exec ((AddTo (a,b)),s)
by A14, A15, A16, COMPOS_1:58
;
1 in dom (Macro (AddTo (a,b)))
by COMPOS_1:60;
then
(Macro (AddTo (a,b))) . 1 = P . 1
by A12, GRFUNC_1:2;
then A18:
P . 1 = halt SCM+FSA
by COMPOS_1:59;
IC (Exec ((AddTo (a,b)),s)) = 0 + 1
by A14, SCMFSA_2:64;
then A19:
CurInstr (P,(Comput (P,s,1))) = halt SCM+FSA
by A18, A17, PBOOLE:143;