defpred S1[ set , set ] means ex k being Element of NAT st
( $1 = dl. k & $2 = D . k );
A1:
for x, y being set st x in the carrier of SCM & S1[x,y] holds
y in INT
by INT_1:def 2;
A2:
for x, y1, y2 being set st x in the carrier of SCM & S1[x,y1] & S1[x,y2] holds
y1 = y2
by AMI_3:10;
consider p being PartFunc of SCM,INT such that
A9:
for x being set holds
( x in dom p iff ( x in the carrier of SCM & ex y being set st S1[x,y] ) )
and
A10:
for x being set st x in dom p holds
S1[x,p . x]
from PARTFUN1:sch 2(A1, A2);
A11:
p is the carrier of SCM -defined
p is the_Values_of SCM -compatible
then reconsider p = p as PartState of SCM by A11;
take s = the State of SCM +* p; for k being Element of NAT st k < len D holds
s . (dl. k) = D . k
let k be Element of NAT ; ( k < len D implies s . (dl. k) = D . k )
assume
k < len D
; s . (dl. k) = D . k
ex i being Element of NAT st
( dl. k = dl. i & D . k = D . i )
;
then A16:
dl. k in dom p
by A9;
then consider i being Element of NAT such that
A17:
( dl. k = dl. i & p . (dl. k) = D . i )
by A10;
A18:
k = i
by A17, AMI_3:10;
p c= s
by FUNCT_4:25;
hence
s . (dl. k) = D . k
by A18, A17, A16, GRFUNC_1:2; verum