let M be non empty MetrSpace; :: thesis: for P being non empty Subset of (TopSpaceMetr M)
for x, y being Point of M st y in P & P is compact holds
(dist_max P) . x >= dist x,y
let P be non empty Subset of (TopSpaceMetr M); :: thesis: for x, y being Point of M st y in P & P is compact holds
(dist_max P) . x >= dist x,y
let x, y be Point of M; :: thesis: ( y in P & P is compact implies (dist_max P) . x >= dist x,y )
assume that
A1:
y in P
and
A2:
P is compact
; :: thesis: (dist_max P) . x >= dist x,y
consider X being non empty Subset of REAL such that
A3:
( X = (dist x) .: P & upper_bound ((dist x) .: P) = sup X )
by Th13;
A4:
(dist_max P) . x = sup X
by A3, WEIERSTR:def 7;
A5:
X is bounded_above
by A2, A3, Lm1;
A6:
dom (dist x) = the carrier of (TopSpaceMetr M)
by FUNCT_2:def 1;
dist x,y = (dist x) . y
by WEIERSTR:def 6;
then
dist x,y in X
by A1, A3, A6, FUNCT_1:def 12;
hence
(dist_max P) . x >= dist x,y
by A4, A5, SEQ_4:def 4; :: thesis: verum