set S1 = {(IC )};
set S2 = SCM-Data-Loc ;
set S3 = NAT ;
defpred S1[ set , set ] means ex m being Element of NAT st
( ( $1 = IC & $2 = F2() ) or ( $1 = DataLoc (m,0) & $2 = F1(m) ) );
A1: for e being set st e in the carrier of SCMPDS holds
ex u being set st S1[e,u]
proof
let e be set ; :: thesis: ( e in the carrier of SCMPDS implies ex u being set st S1[e,u] )
assume e in the carrier of SCMPDS ; :: thesis: ex u being set st S1[e,u]
then e in {(IC )} \/ SCM-Data-Loc by SCMPDS_2:84, STRUCT_0:4;
then A2: e in {(IC )} \/ SCM-Data-Loc ;
now end;
then consider m being Element of NAT such that
A3: ( e = IC or e = DataLoc (m,0) ) ;
per cases ( e = IC or e = DataLoc (m,0) ) by A3;
suppose A4: e = IC ; :: thesis: ex u being set st S1[e,u]
take u = F2(); :: thesis: S1[e,u]
thus S1[e,u] by A4; :: thesis: verum
end;
suppose A6: e = DataLoc (m,0) ; :: thesis: ex u being set st S1[e,u]
take u = F1(m); :: thesis: S1[e,u]
thus S1[e,u] by A6; :: thesis: verum
end;
end;
end;
consider f being Function such that
A7: dom f = the carrier of SCMPDS and
A8: for e being set st e in the carrier of SCMPDS holds
S1[e,f . e] from CLASSES1:sch 1(A1);
A9: dom the Object-Kind of SCMPDS = the carrier of SCMPDS by FUNCT_2:def 1;
now end;
then reconsider f = f as State of SCMPDS by A7, A9, FUNCT_1:def 14, PARTFUN1:def 2, RELAT_1:def 18;
consider m being Element of NAT such that
A15: ( ( IC = IC & f . (IC ) = F2() ) or ( IC = DataLoc (m,0) & f . (IC ) = F1(m) ) ) by A8;
take f ; :: thesis: ( IC f = F2() & ( for i being Element of NAT holds f . (DataLoc (i,0)) = F1(i) ) )
thus IC f = F2() by A15, SCMPDS_2:43; :: thesis: for i being Element of NAT holds f . (DataLoc (i,0)) = F1(i)
let i be Element of NAT ; :: thesis: f . (DataLoc (i,0)) = F1(i)
ex m being Element of NAT st
( ( DataLoc (i,0) = IC & f . (DataLoc (i,0)) = F2() ) or ( DataLoc (i,0) = DataLoc (m,0) & f . (DataLoc (i,0)) = F1(m) ) ) by A8;
hence f . (DataLoc (i,0)) = F1(i) by Th17, SCMPDS_2:43; :: thesis: verum