let p be autonomic halting FinPartState of SCM ; :: thesis: ( IC SCM in dom p implies for k being Element of NAT holds DataPart (Result p) = DataPart (Result (Relocated p,k)) )
assume A1: IC SCM in dom p ; :: thesis: for k being Element of NAT holds DataPart (Result p) = DataPart (Result (Relocated p,k))
let k be Element of NAT ; :: thesis: DataPart (Result p) = DataPart (Result (Relocated p,k))
consider s being State of SCM such that
A2: p c= s by PBOOLE:156;
A3: ( Relocated p,k is halting & Relocated p,k is autonomic ) by A1, Th38, Th41;
ProgramPart s halts_on s by A2, AMI_1:def 26;
then consider j1 being Element of NAT such that
A4: Result s = Comput (ProgramPart s),s,j1 and
A5: CurInstr (ProgramPart (Result s)),(Result s) = halt SCM by AMI_1:def 22;
consider t being State of SCM such that
A6: Relocated p,k c= t by PBOOLE:156;
Y: (ProgramPart (Comput (ProgramPart t),t,j1)) /. (IC (Comput (ProgramPart t),t,j1)) = (Comput (ProgramPart t),t,j1) . (IC (Comput (ProgramPart t),t,j1)) by AMI_1:150;
t . (IC (Comput (ProgramPart t),t,j1)) = CurInstr (ProgramPart (Comput (ProgramPart t),t,j1)),(Comput (ProgramPart t),t,j1) by AMI_1:54, Y
.= IncAddr (CurInstr (ProgramPart (Comput (ProgramPart s),s,j1)),(Comput (ProgramPart s),s,j1)),k by A1, A2, A6, Lm1
.= halt SCM by A4, A5, Def3, AMI_5:37 ;
then A7: Result t = Comput (ProgramPart t),t,j1 by AMI_1:56;
A8: (Comput (ProgramPart t),t,j1) | (dom (DataPart (Relocated p,k))) = (Comput (ProgramPart s),s,j1) | (dom (DataPart p)) by A1, A2, A6, Lm1;
thus DataPart (Result p) = ((Result s) | (dom p)) | SCM-Data-Loc by A2, AMI_1:def 28, AMI_3:72
.= (Result s) | ((dom p) /\ SCM-Data-Loc ) by RELAT_1:100
.= (Result s) | (dom (DataPart p)) by AMI_3:72, RELAT_1:90
.= (Result t) | ((dom (Relocated p,k)) /\ SCM-Data-Loc ) by A4, A7, A8, AMI_3:72, RELAT_1:90
.= ((Result t) | (dom (Relocated p,k))) | SCM-Data-Loc by RELAT_1:100
.= DataPart (Result (Relocated p,k)) by A6, A3, AMI_1:def 28, AMI_3:72 ; :: thesis: verum