let Y be Subset of COMPLEX; :: thesis: for f being PartFunc of COMPLEX,COMPLEX st Y c= dom f & Y is compact & f is_continuous_on Y holds
f .: Y is compact

let f be PartFunc of COMPLEX,COMPLEX; :: thesis: ( Y c= dom f & Y is compact & f is_continuous_on Y implies f .: Y is compact )
assume that
A1: Y c= dom f and
A2: Y is compact and
A3: f is_continuous_on Y ; :: thesis: f .: Y is compact
A4: dom (f | Y) = (dom f) /\ Y by RELAT_1:61
.= Y by A1, XBOOLE_1:28 ;
f | Y is_continuous_on Y
proof
thus Y c= dom (f | Y) by A4; :: according to CFCONT_1:def 2 :: thesis: for x0 being Complex st x0 in Y holds
(f | Y) | Y is_continuous_in x0

let g be Complex; :: thesis: ( g in Y implies (f | Y) | Y is_continuous_in g )
assume g in Y ; :: thesis: (f | Y) | Y is_continuous_in g
then f | Y is_continuous_in g by A3;
hence (f | Y) | Y is_continuous_in g by RELAT_1:72; :: thesis: verum
end;
then rng (f | Y) is compact by A2, A4, Th51;
hence f .: Y is compact by RELAT_1:115; :: thesis: verum