set F = PrgLocalOverlapSeq (A,loc,d1,prg,pos);
per cases
( n in dom (PrgLocalOverlapSeq (A,loc,d1,prg,pos)) or not n in dom (PrgLocalOverlapSeq (A,loc,d1,prg,pos)) )
;
suppose
n in dom (PrgLocalOverlapSeq (A,loc,d1,prg,pos))
;
( (PrgLocalOverlapSeq (A,loc,d1,prg,pos)) . n is Function-like & (PrgLocalOverlapSeq (A,loc,d1,prg,pos)) . n is Relation-like )then
( 1
<= n &
n <= len (PrgLocalOverlapSeq (A,loc,d1,prg,pos)) )
by FINSEQ_3:25;
hence
(
(PrgLocalOverlapSeq (A,loc,d1,prg,pos)) . n is
Function-like &
(PrgLocalOverlapSeq (A,loc,d1,prg,pos)) . n is
Relation-like )
by NOMIN_7:def 6;
verum end; suppose
not
n in dom (PrgLocalOverlapSeq (A,loc,d1,prg,pos))
;
( (PrgLocalOverlapSeq (A,loc,d1,prg,pos)) . n is Function-like & (PrgLocalOverlapSeq (A,loc,d1,prg,pos)) . n is Relation-like )end; end;