defpred S1[ set , set ] means ex m being Element of NAT st
( $1 = il. S,m & $2 = IncAddr (pi p,(il. S,m)),k );
A2:
for e being set st e in dom p holds
ex u being set st S1[e,u]
proof
let e be
set ;
( e in dom p implies ex u being set st S1[e,u] )
assume
e in dom p
;
ex u being set st S1[e,u]
then reconsider l =
e as
Element of
NAT by A1;
consider m being
natural number such that A3:
l = il. S,
m
by AMISTD_1:26;
take
IncAddr (pi p,(il. S,m)),
k
;
S1[e, IncAddr (pi p,(il. S,m)),k]
reconsider m =
m as
Element of
NAT by ORDINAL1:def 13;
e = il. S,
m
by A3;
hence
S1[
e,
IncAddr (pi p,(il. S,m)),
k]
;
verum
end;
consider f being Function such that
A4:
dom f = dom p
and
A5:
for e being set st e in dom p holds
S1[e,f . e]
from CLASSES1:sch 1(A2);
NAT c= the carrier of S
by AMI_1:def 3;
then
dom p c= the carrier of S
by A1, XBOOLE_1:1;
then A6:
dom f c= the carrier of S
by A4;
for x being set st x in dom f holds
f . x in the Object-Kind of S . x
then
f is the carrier of S -defined the Object-Kind of S -compatible finite Function
by A4, A6, FINSET_1:29, FUNCT_1:def 20, RELAT_1:def 18;
then reconsider f = f as finite Element of sproduct the Object-Kind of S by CARD_3:153;
reconsider f = f as FinPartState of S ;
take
f
; ( dom f = dom p & ( for m being natural number st il. S,m in dom p holds
f . (il. S,m) = IncAddr (pi p,(il. S,m)),k ) )
thus
dom f = dom p
by A4; for m being natural number st il. S,m in dom p holds
f . (il. S,m) = IncAddr (pi p,(il. S,m)),k
let m be natural number ; ( il. S,m in dom p implies f . (il. S,m) = IncAddr (pi p,(il. S,m)),k )
assume
il. S,m in dom p
; f . (il. S,m) = IncAddr (pi p,(il. S,m)),k
then
ex j being Element of NAT st
( il. S,m = il. S,j & f . (il. S,m) = IncAddr (pi p,(il. S,j)),k )
by A5;
hence
f . (il. S,m) = IncAddr (pi p,(il. S,m)),k
; verum