let N be non empty with_non-empty_elements set ; for S being non empty stored-program IC-Ins-separated definite standard-ins standard regular AMI-Struct of N
for F, G being NAT -defined non empty lower FinPartState of holds CutLastLoc F c= CutLastLoc (F ';' G)
let S be non empty stored-program IC-Ins-separated definite standard-ins standard regular AMI-Struct of N; for F, G being NAT -defined non empty lower FinPartState of holds CutLastLoc F c= CutLastLoc (F ';' G)
let F, G be NAT -defined non empty lower FinPartState of ; CutLastLoc F c= CutLastLoc (F ';' G)
set k = (card F) -' 1;
set P = F ';' G;
A1:
dom (F ';' G) = (dom (CutLastLoc F)) \/ (dom (Shift (IncAddr G,((card F) -' 1)),((card F) -' 1)))
by FUNCT_4:def 1;
A2:
dom (CutLastLoc F) = { (il. S,m) where m is Element of NAT : m < card (CutLastLoc F) }
by Th15;
A3: card (CutLastLoc (F ';' G)) =
(card (F ';' G)) - 1
by Th49
.=
(((card F) + (card G)) - 1) - 1
by Th52
.=
((card F) - 1) + ((card G) - 1)
;
A4:
for m being Element of NAT st m < card (CutLastLoc F) holds
m < card (CutLastLoc (F ';' G))
A7:
dom (CutLastLoc F) c= dom (CutLastLoc (F ';' G))
for x being set st x in dom (CutLastLoc F) holds
(CutLastLoc F) . x = (CutLastLoc (F ';' G)) . x
proof
let x be
set ;
( x in dom (CutLastLoc F) implies (CutLastLoc F) . x = (CutLastLoc (F ';' G)) . x )
assume A10:
x in dom (CutLastLoc F)
;
(CutLastLoc F) . x = (CutLastLoc (F ';' G)) . x
then consider m being
Element of
NAT such that A11:
x = il. S,
m
and A12:
m < card (CutLastLoc F)
by A2;
A13:
dom (Shift (IncAddr G,((card F) -' 1)),((card F) -' 1)) = { (il. S,(w + ((card F) -' 1))) where w is Element of NAT : il. S,w in dom (IncAddr G,((card F) -' 1)) }
by Def16;
A17:
x in dom (F ';' G)
by A1, A10, XBOOLE_0:def 3;
then
not
x in {(LastLoc (F ';' G))}
by TARSKI:def 1;
then
not
x in dom ((LastLoc (F ';' G)) .--> ((F ';' G) . (LastLoc (F ';' G))))
by FUNCOP_1:19;
then
x in (dom (F ';' G)) \ (dom ((LastLoc (F ';' G)) .--> ((F ';' G) . (LastLoc (F ';' G)))))
by A17, XBOOLE_0:def 5;
hence (CutLastLoc (F ';' G)) . x =
((CutLastLoc F) +* (Shift (IncAddr G,((card F) -' 1)),((card F) -' 1))) . x
by GRFUNC_1:93
.=
(CutLastLoc F) . x
by A14, FUNCT_4:12
;
verum
end;
hence
CutLastLoc F c= CutLastLoc (F ';' G)
by A7, GRFUNC_1:8; verum