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 ;
:: thesis: ( e in dom p implies ex u being set st S1[e,u] )
assume
e in dom p
;
:: thesis: ex u being set st S1[e,u]
then reconsider l =
e as
Instruction-Location of
S by A1, AMI_1:def 4;
consider m being
natural number such that A3:
l = il. S,
m
by AMISTD_1:26;
take
IncAddr (pi p,(il. S,m)),
k
;
:: thesis: 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]
;
:: thesis: 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= dom the Object-Kind of S
by A4, FUNCT_2:def 1;
for x being set st x in dom f holds
f . x in the Object-Kind of S . x
then reconsider f = f as finite Element of sproduct the Object-Kind of S by A4, A6, CARD_3:def 9, FINSET_1:29;
reconsider f = f as FinPartState of S ;
take
f
; :: thesis: ( 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; :: thesis: 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 ; :: thesis: ( 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
; :: thesis: 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
; :: thesis: verum