set Ma = Macro (AddTo (a,b));
let s be State of SCM+FSA; :: according to SCMFSA6B:def 4,SCMFSA6C:def 2 :: thesis: ( not (Macro (AddTo (a,b))) +* (Start-At (0,SCM+FSA)) c= s or for b1 being Element of NAT holds (Comput ((ProgramPart s),s,b1)) . (intloc 0) = s . (intloc 0) )
assume A10: (Macro (AddTo (a,b))) +* (Start-At (0,SCM+FSA)) c= s ; :: thesis: for b1 being Element of NAT holds (Comput ((ProgramPart s),s,b1)) . (intloc 0) = s . (intloc 0)
then A11: Macro (AddTo (a,b)) c= s by SCMFSA6B:5;
let k be Element of NAT ; :: thesis: (Comput ((ProgramPart s),s,k)) . (intloc 0) = s . (intloc 0)
dom (Start-At (0,SCM+FSA)) = {(IC SCM+FSA)} by FUNCOP_1:19;
then A12: IC SCM+FSA in dom (Start-At (0,SCM+FSA)) by TARSKI:def 1;
Start-At (0,SCM+FSA) c= (Macro (AddTo (a,b))) +* (Start-At (0,SCM+FSA)) by FUNCT_4:26;
then Start-At (0,SCM+FSA) c= s by A10, XBOOLE_1:1;
then A13: IC s = (Start-At (0,SCM+FSA)) . (IC SCM+FSA) by A12, GRFUNC_1:8
.= 0 by FUNCOP_1:87 ;
0 in dom (Macro (AddTo (a,b))) by SCMFSA6B:32;
then A14: (Macro (AddTo (a,b))) . 0 = s . 0 by A11, GRFUNC_1:8;
Y: (ProgramPart s) /. (IC s) = s . (IC s) by COMPOS_1:38;
Z: (ProgramPart (Comput ((ProgramPart s),s,1))) /. (IC (Comput ((ProgramPart s),s,1))) = (Comput ((ProgramPart s),s,1)) . (IC (Comput ((ProgramPart s),s,1))) by COMPOS_1:38;
A15: Comput ((ProgramPart s),s,(0 + 1)) = Following ((ProgramPart s),(Comput ((ProgramPart s),s,0))) by EXTPRO_1:4
.= Following ((ProgramPart s),s) by EXTPRO_1:3
.= Exec ((AddTo (a,b)),s) by A13, A14, Y, COMPOS_1:148, SCMFSA6B:33 ;
1 in dom (Macro (AddTo (a,b))) by SCMFSA6B:32;
then (Macro (AddTo (a,b))) . 1 = s . 1 by A11, GRFUNC_1:8;
then A16: s . 1 = halt SCM+FSA by COMPOS_1:148, SCMFSA6B:33;
IC (Exec ((AddTo (a,b)),s)) = succ 0 by A13, SCMFSA_2:90
.= 0 + 1 ;
then A17: CurInstr ((ProgramPart (Comput ((ProgramPart s),s,1))),(Comput ((ProgramPart s),s,1))) = halt SCM+FSA by A16, A15, Z, AMI_1:def 13;
T: ProgramPart s = ProgramPart (Comput ((ProgramPart s),s,1)) by AMI_1:123;
per cases ( k = 0 or 1 <= k ) by NAT_1:14;
end;