let R be good Ring; for I being Instruction of (SCM R) st I = [0 ,{} ] holds
I is halting
let I be Instruction of (SCM R); ( I = [0 ,{} ] implies I is halting )
assume A1:
I = [0 ,{} ]
; I is halting
A2:
I `2 = {}
by A1, MCART_1:7;
then A3:
( ( for mk, ml being Element of SCM-Data-Loc holds not I = [1,<*mk,ml*>] ) & ( for mk, ml being Element of SCM-Data-Loc holds not I = [2,<*mk,ml*>] ) )
by MCART_1:7;
A4:
for mk being Element of SCM-Data-Loc
for r being Element of R holds not I = [5,<*mk,r*>]
by A2, MCART_1:7;
A5:
( ( for mk being Element of NAT holds not I = [6,<*mk*>] ) & ( for mk being Element of NAT
for ml being Element of SCM-Data-Loc holds not I = [7,<*mk,ml*>] ) )
by A2, MCART_1:7;
reconsider L = I as Element of SCM-Instr R by A1, Th2;
let s be State of (SCM R); AMI_1:def 8 Exec I,s = s
Y:
the Object-Kind of (SCM R) = SCM-OK R
by Def1;
reconsider t = s as SCM-State of R by Y, PBOOLE:155;
A6:
( ( for mk, ml being Element of SCM-Data-Loc holds not I = [3,<*mk,ml*>] ) & ( for mk, ml being Element of SCM-Data-Loc holds not I = [4,<*mk,ml*>] ) )
by A2, MCART_1:7;
thus Exec I,s =
SCM-Exec-Res L,t
by Th12
.=
s
by A3, A6, A5, A4, SCMRING1:def 14
; verum