set Ma = Macro (Divide a,b);
let s be State of ; SCMFSA6B:def 4,SCMFSA6C:def 2 ( not (Macro (Divide a,b)) +* (Start-At (insloc 0 )) c= s or for b1 being Element of NAT holds (Computation s,b1) . (intloc 0 ) = s . (intloc 0 ) )
assume A1:
(Macro (Divide a,b)) +* (Start-At (insloc 0 )) c= s
; for b1 being Element of NAT holds (Computation s,b1) . (intloc 0 ) = s . (intloc 0 )
then A2:
Macro (Divide a,b) c= s
by SCMFSA6B:5;
let k be Element of NAT ; (Computation s,k) . (intloc 0 ) = s . (intloc 0 )
dom (Start-At (insloc 0 )) = {(IC SCM+FSA )}
by FUNCOP_1:19;
then A3:
IC SCM+FSA in dom (Start-At (insloc 0 ))
by TARSKI:def 1;
Start-At (insloc 0 ) c= (Macro (Divide a,b)) +* (Start-At (insloc 0 ))
by FUNCT_4:26;
then
Start-At (insloc 0 ) c= s
by A1, XBOOLE_1:1;
then A4: IC s =
(Start-At (insloc 0 )) . (IC SCM+FSA )
by A3, GRFUNC_1:8
.=
insloc 0
by FUNCOP_1:87
;
insloc 0 in dom (Macro (Divide a,b))
by SCMFSA6B:32;
then A5:
(Macro (Divide a,b)) . (insloc 0 ) = s . (insloc 0 )
by A2, GRFUNC_1:8;
A6: Computation s,(0 + 1) =
Following (Computation s,0 )
by AMI_1:14
.=
Following s
by AMI_1:13
.=
Exec (Divide a,b),s
by A4, A5, SCMFSA6B:33
;
insloc 1 in dom (Macro (Divide a,b))
by SCMFSA6B:32;
then
(Macro (Divide a,b)) . (insloc 1) = s . (insloc 1)
by A2, GRFUNC_1:8;
then A7:
s . (insloc 1) = halt SCM+FSA
by SCMFSA6B:33;
IC (Exec (Divide a,b),s) =
Next (insloc 0 )
by A4, SCMFSA_2:93
.=
insloc (0 + 1)
;
then A8:
CurInstr (Computation s,1) = halt SCM+FSA
by A7, A6, AMI_1:def 13;