let s be State of SCM+FSA ; :: according to SCMFSA6B:def 4,SCMFSA6C:def 2 :: thesis: ( not (Macro (b :=len f)) +* (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 (b :=len f)) +* (Start-At (insloc 0 )) c= s
; :: thesis: for b1 being Element of NAT holds (Computation s,b1) . (intloc 0 ) = s . (intloc 0 )
let k be Element of NAT ; :: thesis: (Computation s,k) . (intloc 0 ) = s . (intloc 0 )
set Ma = Macro (b :=len f);
Start-At (insloc 0 ) c= (Macro (b :=len f)) +* (Start-At (insloc 0 ))
by FUNCT_4:26;
then A2:
Start-At (insloc 0 ) c= s
by A1, XBOOLE_1:1;
dom (Start-At (insloc 0 )) = {(IC SCM+FSA )}
by FUNCOP_1:19;
then
IC SCM+FSA in dom (Start-At (insloc 0 ))
by TARSKI:def 1;
then A3: IC s =
(Start-At (insloc 0 )) . (IC SCM+FSA )
by A2, GRFUNC_1:8
.=
insloc 0
by FUNCOP_1:87
;
A4:
( insloc 0 in dom (Macro (b :=len f)) & insloc 1 in dom (Macro (b :=len f)) )
by SCMFSA6B:32;
Macro (b :=len f) c= s
by A1, SCMFSA6B:5;
then A5:
( (Macro (b :=len f)) . (insloc 0 ) = s . (insloc 0 ) & (Macro (b :=len f)) . (insloc 1) = s . (insloc 1) )
by A4, GRFUNC_1:8;
then A6:
( s . (insloc 0 ) = b :=len f & s . (insloc 1) = halt SCM+FSA )
by SCMFSA6B:33;
A7: IC (Exec (b :=len f),s) =
Next (insloc 0 )
by A3, SCMFSA_2:100
.=
insloc (0 + 1)
;
A8: Computation s,(0 + 1) =
Following (Computation s,0 )
by AMI_1:14
.=
Following s
by AMI_1:13
.=
Exec (b :=len f),s
by A3, A5, SCMFSA6B:33
;
then A9:
CurInstr (Computation s,1) = halt SCM+FSA
by A6, A7, AMI_1:def 13;