let N be with_non-empty_elements set ; for S being non empty stored-program halting IC-Ins-separated definite realistic AMI-Struct of N
for loc being Instruction-Location of S
for l being Element of ObjectKind (IC S) st l = loc holds
for h being Element of ObjectKind loc st h = halt S holds
for s being State of S st (IC S),loc --> l,h c= s holds
CurInstr s = halt S
let S be non empty stored-program halting IC-Ins-separated definite realistic AMI-Struct of N; for loc being Instruction-Location of S
for l being Element of ObjectKind (IC S) st l = loc holds
for h being Element of ObjectKind loc st h = halt S holds
for s being State of S st (IC S),loc --> l,h c= s holds
CurInstr s = halt S
let loc be Instruction-Location of S; for l being Element of ObjectKind (IC S) st l = loc holds
for h being Element of ObjectKind loc st h = halt S holds
for s being State of S st (IC S),loc --> l,h c= s holds
CurInstr s = halt S
let l be Element of ObjectKind (IC S); ( l = loc implies for h being Element of ObjectKind loc st h = halt S holds
for s being State of S st (IC S),loc --> l,h c= s holds
CurInstr s = halt S )
assume A1:
l = loc
; for h being Element of ObjectKind loc st h = halt S holds
for s being State of S st (IC S),loc --> l,h c= s holds
CurInstr s = halt S
let h be Element of ObjectKind loc; ( h = halt S implies for s being State of S st (IC S),loc --> l,h c= s holds
CurInstr s = halt S )
assume A2:
h = halt S
; for s being State of S st (IC S),loc --> l,h c= s holds
CurInstr s = halt S
let s be State of S; ( (IC S),loc --> l,h c= s implies CurInstr s = halt S )
assume A3:
(IC S),loc --> l,h c= s
; CurInstr s = halt S
loc in NAT
by Def4;
then A4:
IC S <> loc
by Def21;
A5:
dom ((IC S),loc --> l,h) = {(IC S),loc}
by FUNCT_4:65;
then
loc in dom ((IC S),loc --> l,h)
by TARSKI:def 2;
then A6:
((IC S),loc --> l,h) . (IC S) in dom ((IC S),loc --> l,h)
by A1, A4, FUNCT_4:66;
IC S in dom ((IC S),loc --> l,h)
by A5, TARSKI:def 2;
hence CurInstr s =
s . (((IC S),loc --> l,h) . (IC S))
by A3, GRFUNC_1:8
.=
((IC S),loc --> l,h) . (((IC S),loc --> l,h) . (IC S))
by A3, A6, GRFUNC_1:8
.=
((IC S),loc --> l,h) . loc
by A1, A4, FUNCT_4:66
.=
halt S
by A2, FUNCT_4:66
;
verum