let N be non empty MetrStruct ; :: thesis: ( N is Reflexive & N is triangle & TopSpaceMetr N is compact implies N is totally_bounded )
assume A1: N is Reflexive ; :: thesis: ( not N is triangle or not TopSpaceMetr N is compact or N is totally_bounded )
set TM = TopSpaceMetr N;
assume A2: N is triangle ; :: thesis: ( not TopSpaceMetr N is compact or N is totally_bounded )
assume A3: TopSpaceMetr N is compact ; :: thesis: N is totally_bounded
let r be Real; :: according to TBSP_1:def 1 :: thesis: ( r > 0 implies ex G being Subset-Family of st
( G is finite & the carrier of N = union G & ( for C being Subset of st C in G holds
ex w being Element of st C = Ball w,r ) ) )

assume A4: r > 0 ; :: thesis: ex G being Subset-Family of st
( G is finite & the carrier of N = union G & ( for C being Subset of st C in G holds
ex w being Element of st C = Ball w,r ) )

defpred S1[ Subset of ] means ex x being Element of st $1 = Ball x,r;
consider G being Subset-Family of such that
A5: for C being Subset of holds
( C in G iff S1[C] ) from SUBSET_1:sch 3();
A6: TopSpaceMetr N = TopStruct(# the carrier of N,(Family_open_set N) #) by PCOMPS_1:def 6;
then reconsider G = G as Subset-Family of ;
for x being Element of holds x in union G
proof
let x be Element of ; :: thesis: x in union G
reconsider x = x as Element of by A6;
dist x,x = 0 by A1, METRIC_1:1;
then A7: x in Ball x,r by A4, METRIC_1:12;
Ball x,r in G by A5;
hence x in union G by A7, TARSKI:def 4; :: thesis: verum
end;
then [#] (TopSpaceMetr N) = union G by SUBSET_1:49;
then A8: G is Cover of by SETFAM_1:60;
for C being Subset of st C in G holds
C is open
proof
let C be Subset of ; :: thesis: ( C in G implies C is open )
assume A9: C in G ; :: thesis: C is open
reconsider C = C as Subset of by A6;
ex x being Element of st C = Ball x,r by A5, A9;
then C in the topology of (TopSpaceMetr N) by A2, A6, PCOMPS_1:33;
hence C is open by PRE_TOPC:def 5; :: thesis: verum
end;
then G is open by TOPS_2:def 1;
then consider H being Subset-Family of such that
A10: H c= G and
A11: H is Cover of and
A12: H is finite by A3, A8, COMPTS_1:def 3;
reconsider H = H as Subset-Family of by A6;
take H ; :: thesis: ( H is finite & the carrier of N = union H & ( for C being Subset of st C in H holds
ex w being Element of st C = Ball w,r ) )

union H = [#] (TopSpaceMetr N) by A11, SETFAM_1:60
.= the carrier of (TopSpaceMetr N) ;
hence ( H is finite & the carrier of N = union H & ( for C being Subset of st C in H holds
ex w being Element of st C = Ball w,r ) ) by A6, A5, A10, A12; :: thesis: verum