let k be natural number ; for R being good Ring
for s1, s2 being State of (SCM R)
for p being autonomic FinPartState of (SCM R) st p c= s1 & Relocated p,k c= s2 holds
p c= s1 +* (DataPart s2)
let R be good Ring; for s1, s2 being State of (SCM R)
for p being autonomic FinPartState of (SCM R) st p c= s1 & Relocated p,k c= s2 holds
p c= s1 +* (DataPart s2)
let s1, s2 be State of (SCM R); for p being autonomic FinPartState of (SCM R) st p c= s1 & Relocated p,k c= s2 holds
p c= s1 +* (DataPart s2)
A1:
Data-Locations (SCM R) = SCM-Data-Loc
by SCMRING2:31;
set s3 = DataPart s2;
reconsider s = s1 +* (DataPart s2) as State of (SCM R) ;
let p be autonomic FinPartState of (SCM R); ( p c= s1 & Relocated p,k c= s2 implies p c= s1 +* (DataPart s2) )
assume that
A2:
p c= s1
and
A3:
Relocated p,k c= s2
; p c= s1 +* (DataPart s2)
A4:
dom p c= the carrier of (SCM R)
by RELAT_1:def 18;
then A5:
dom p c= ({(IC (SCM R))} \/ SCM-Data-Loc ) \/ NAT
by Th1;
A6:
now dom s2 =
the
carrier of
(SCM R)
by PARTFUN1:def 4
.=
SCM-Memory
by SCMRING2:def 1
;
then A7:
SCM-Data-Loc = (dom s2) /\ SCM-Data-Loc
by XBOOLE_1:28;
let x be
set ;
( x in dom p implies p . b1 = s . b1 )assume A8:
x in dom p
;
p . b1 = s . b1A9:
(
x in {(IC (SCM R))} \/ SCM-Data-Loc or
x in NAT )
by A5, A8, XBOOLE_0:def 3;
per cases
( x in {(IC (SCM R))} or x in SCM-Data-Loc or x in NAT )
by A9, XBOOLE_0:def 3;
suppose A12:
x in SCM-Data-Loc
;
p . b1 = s . b1set DPRp =
DataPart (Relocated p,k);
set DPp =
DataPart p;
x in (dom p) /\ SCM-Data-Loc
by A8, A12, XBOOLE_0:def 4;
then A13:
x in dom (DataPart p)
by A1, RELAT_1:90;
DataPart p = DataPart (Relocated p,k)
by AMISTD_2:68;
then
DataPart p c= Relocated p,
k
by RELAT_1:88;
then A14:
DataPart p c= s2
by A3, XBOOLE_1:1;
then
dom (DataPart p) c= dom s2
by GRFUNC_1:8;
then
x in (dom s2) /\ SCM-Data-Loc
by A12, A13, XBOOLE_0:def 4;
then A15:
x in dom (DataPart s2)
by A1, RELAT_1:90;
A16:
s2 . x = (DataPart s2) . x
by A1, A12, FUNCT_1:72;
DataPart p c= p
by RELAT_1:88;
then A17:
(DataPart p) . x = p . x
by A13, GRFUNC_1:8;
(DataPart p) . x = s2 . x
by A13, A14, GRFUNC_1:8;
hence
p . x = s . x
by A17, A16, A15, FUNCT_4:14;
verum end; end; end;
dom p c= dom s
by A4, PARTFUN1:def 4;
hence
p c= s1 +* (DataPart s2)
by A6, GRFUNC_1:8; verum