let a be Data-Location ; for il being Element of NAT
for k being natural number holds NIC (a >0_goto k),il = {k,(succ il)}
let il be Element of NAT ; for k being natural number holds NIC (a >0_goto k),il = {k,(succ il)}
let k be natural number ; NIC (a >0_goto k),il = {k,(succ il)}
consider t being State of SCM ;
let x be set ; TARSKI:def 3 ( not x in {k,(succ il)} or x in NIC (a >0_goto k),il )
reconsider I = a >0_goto k as Element of the Object-Kind of SCM . il by COMPOS_1:def 8;
A2:
IC SCM <> a
by AMI_5:20;
reconsider il1 = il as Element of ObjectKind (IC SCM ) by COMPOS_1:def 6;
reconsider p = (IC SCM ),il --> il1,I as PartState of SCM by COMPOS_1:37;
reconsider u = t +* p as State of SCM ;
A3:
a <> il
by Th1;
reconsider n = il1 as Element of NAT ;
assume A4:
x in {k,(succ il)}
; x in NIC (a >0_goto k),il
per cases
( x = k or x = succ il )
by A4, TARSKI:def 2;
suppose A5:
x = k
;
x in NIC (a >0_goto k),ilreconsider v =
u +* (a .--> 1) as
Element of
product the
Object-Kind of
SCM by PBOOLE:155;
A6:
dom (a .--> 1) = {a}
by FUNCOP_1:19;
then
not
IC SCM in dom (a .--> 1)
by A2, TARSKI:def 1;
then A7:
IC v =
IC u
by FUNCT_4:12
.=
n
by AMI_1:129
;
U:
not
il in dom (a .--> 1)
by A3, A6, TARSKI:def 1;
A8:
(ProgramPart v) /. il =
v . il
by COMPOS_1:38
.=
u . n
by U, FUNCT_4:12
.=
I
by AMI_1:129
;
a in dom (a .--> 1)
by A6, TARSKI:def 1;
then v . a =
(a .--> 1) . a
by FUNCT_4:14
.=
1
by FUNCOP_1:87
;
then
IC (Following (ProgramPart v),v) = k
by A7, A8, AMI_3:15;
hence
x in NIC (a >0_goto k),
il
by A5, A7, A8;
verum end; suppose A9:
x = succ il
;
x in NIC (a >0_goto k),ilreconsider v =
u +* (a .--> 0 ) as
Element of
product the
Object-Kind of
SCM by PBOOLE:155;
A10:
dom (a .--> 0 ) = {a}
by FUNCOP_1:19;
then
not
IC SCM in dom (a .--> 0 )
by A2, TARSKI:def 1;
then A11:
IC v =
IC u
by FUNCT_4:12
.=
n
by AMI_1:129
;
U:
not
il in dom (a .--> 0 )
by A3, A10, TARSKI:def 1;
A12:
(ProgramPart v) /. il =
v . il
by COMPOS_1:38
.=
u . n
by U, FUNCT_4:12
.=
I
by AMI_1:129
;
a in dom (a .--> 0 )
by A10, TARSKI:def 1;
then v . a =
(a .--> 0 ) . a
by FUNCT_4:14
.=
0
by FUNCOP_1:87
;
then
IC (Following (ProgramPart v),v) = succ il
by A11, A12, AMI_3:15;
hence
x in NIC (a >0_goto k),
il
by A9, A11, A12;
verum end; end;