let P be preProgram of SCM+FSA ; ProgramPart (Relocated P,0 ) = P
then A2:
dom P = { m where m is Element of NAT : m in dom P }
by TARSKI:2;
A3:
dom (ProgramPart P) = dom P
by RELAT_1:209;
then A7:
dom (ProgramPart (Relocated P,0 )) = { m where m is Element of NAT : m in dom P }
by TARSKI:2;
now let x be
set ;
( x in { m where m is Element of NAT : m in dom P } implies (ProgramPart (Relocated P,0 )) . x = P . x )assume
x in { m where m is Element of NAT : m in dom P }
;
(ProgramPart (Relocated P,0 )) . x = P . xthen consider n being
Element of
NAT such that A8:
x = n
and A9:
n in dom P
;
A10:
n in dom (ProgramPart P)
by A9, RELAT_1:209;
dom (Shift (ProgramPart P),0 ) = { (m + 0 ) where m is Element of NAT : m in dom (ProgramPart P) }
by VALUED_1:def 12;
then A11:
n + 0 in dom (Shift (ProgramPart P),0 )
by A3, A9;
then A12:
(Shift (ProgramPart P),0 ) /. (n + 0 ) =
(Shift (ProgramPart P),0 ) . (n + 0 )
by PARTFUN1:def 8
.=
(ProgramPart P) . n
by A10, VALUED_1:def 12
.=
P . n
by RELAT_1:209
;
then consider i being
Instruction of
SCM+FSA such that A13:
i = P . n
;
thus (ProgramPart (Relocated P,0 )) . x =
(Reloc (ProgramPart P),0 ) . (n + 0 )
by A8, AMISTD_2:69
.=
IncAddr i,
0
by A11, A12, A13, AMISTD_2:def 15
.=
P . x
by A8, A13, Th8
;
verum end;
hence
ProgramPart (Relocated P,0 ) = P
by A2, A7, FUNCT_1:9; verum