let f be PartFunc of REAL,REAL; for Y being Subset of REAL st Y c= dom f & Y is compact & f | Y is continuous holds
f | Y is uniformly_continuous
let Y be Subset of REAL; ( Y c= dom f & Y is compact & f | Y is continuous implies f | Y is uniformly_continuous )
assume that
A1:
Y c= dom f
and
A2:
Y is compact
and
A3:
f | Y is continuous
; f | Y is uniformly_continuous
assume
not f | Y is uniformly_continuous
; contradiction
then consider r being Real such that
A4:
0 < r
and
A5:
for s being Real st 0 < s holds
ex x1, x2 being Real st
( x1 in dom (f | Y) & x2 in dom (f | Y) & abs (x1 - x2) < s & not abs ((f . x1) - (f . x2)) < r )
by Th1;
defpred S1[ Element of NAT , Real] means ( $2 in Y & ex x2 being Real st
( x2 in Y & abs ($2 - x2) < 1 / ($1 + 1) & not abs ((f . $2) - (f . x2)) < r ) );
consider s1 being Real_Sequence such that
A8:
for n being Element of NAT holds S1[n,s1 . n]
from FUNCT_2:sch 3(A6);
then A9:
rng s1 c= Y
by TARSKI:def 3;
then consider q1 being Real_Sequence such that
A10:
q1 is subsequence of s1
and
A11:
q1 is convergent
and
A12:
lim q1 in Y
by A2, RCOMP_1:def 3;
lim q1 in dom (f | Y)
by A1, A12, RELAT_1:86;
then A13:
f | Y is_continuous_in lim q1
by A3, FCONT_1:def 2;
rng q1 c= rng s1
by A10, VALUED_0:21;
then A14:
rng q1 c= Y
by A9, XBOOLE_1:1;
then
rng q1 c= dom f
by A1, XBOOLE_1:1;
then
rng q1 c= (dom f) /\ Y
by A14, XBOOLE_1:19;
then A15:
rng q1 c= dom (f | Y)
by RELAT_1:90;
then A16:
(f | Y) . (lim q1) = lim ((f | Y) /* q1)
by A11, A13, FCONT_1:def 1;
A17:
(f | Y) /* q1 is convergent
by A11, A13, A15, FCONT_1:def 1;
defpred S2[ Element of NAT , real number ] means ( $2 in Y & abs ((s1 . $1) - $2) < 1 / ($1 + 1) & not abs ((f . (s1 . $1)) - (f . $2)) < r );
A18:
for n being Element of NAT ex x2 being Real st S2[n,x2]
by A8;
consider s2 being Real_Sequence such that
A19:
for n being Element of NAT holds S2[n,s2 . n]
from FUNCT_2:sch 3(A18);
then A20:
rng s2 c= Y
by TARSKI:def 3;
consider Ns1 being V38() sequence of NAT such that
A21:
q1 = s1 * Ns1
by A10, VALUED_0:def 17;
set q2 = q1 - ((s1 - s2) * Ns1);
then A23:
q1 - ((s1 - s2) * Ns1) = s2 * Ns1
by FUNCT_2:113;
q1 - ((s1 - s2) * Ns1) is subsequence of s2
by A22, FUNCT_2:113, VALUED_0:def 17;
then
rng (q1 - ((s1 - s2) * Ns1)) c= rng s2
by VALUED_0:21;
then A24:
rng (q1 - ((s1 - s2) * Ns1)) c= Y
by A20, XBOOLE_1:1;
then
rng (q1 - ((s1 - s2) * Ns1)) c= dom f
by A1, XBOOLE_1:1;
then
rng (q1 - ((s1 - s2) * Ns1)) c= (dom f) /\ Y
by A24, XBOOLE_1:19;
then A25:
rng (q1 - ((s1 - s2) * Ns1)) c= dom (f | Y)
by RELAT_1:90;
then A31:
s1 - s2 is convergent
by SEQ_2:def 6;
A32:
(s1 - s2) * Ns1 is subsequence of s1 - s2
by VALUED_0:def 17;
then A33:
(s1 - s2) * Ns1 is convergent
by A31, SEQ_4:29;
lim (s1 - s2) = 0
by A26, A31, SEQ_2:def 7;
then
lim ((s1 - s2) * Ns1) = 0
by A31, A32, SEQ_4:30;
then A34: lim (q1 - ((s1 - s2) * Ns1)) =
(lim q1) - 0
by A11, A33, SEQ_2:26
.=
lim q1
;
A35:
q1 - ((s1 - s2) * Ns1) is convergent
by A11, A33, SEQ_2:25;
then A36:
(f | Y) /* (q1 - ((s1 - s2) * Ns1)) is convergent
by A13, A34, A25, FCONT_1:def 1;
then A37:
((f | Y) /* q1) - ((f | Y) /* (q1 - ((s1 - s2) * Ns1))) is convergent
by A17, SEQ_2:25;
(f | Y) . (lim q1) = lim ((f | Y) /* (q1 - ((s1 - s2) * Ns1)))
by A13, A35, A34, A25, FCONT_1:def 1;
then A38: lim (((f | Y) /* q1) - ((f | Y) /* (q1 - ((s1 - s2) * Ns1)))) =
((f | Y) . (lim q1)) - ((f | Y) . (lim q1))
by A17, A16, A36, SEQ_2:26
.=
0
;
now let n be
Element of
NAT ;
contradictionconsider k being
Element of
NAT such that A39:
for
m being
Element of
NAT st
k <= m holds
abs (((((f | Y) /* q1) - ((f | Y) /* (q1 - ((s1 - s2) * Ns1)))) . m) - 0) < r
by A4, A37, A38, SEQ_2:def 7;
A40:
q1 . k in rng q1
by VALUED_0:28;
A41:
(q1 - ((s1 - s2) * Ns1)) . k in rng (q1 - ((s1 - s2) * Ns1))
by VALUED_0:28;
abs (((((f | Y) /* q1) - ((f | Y) /* (q1 - ((s1 - s2) * Ns1)))) . k) - 0) =
abs ((((f | Y) /* q1) . k) - (((f | Y) /* (q1 - ((s1 - s2) * Ns1))) . k))
by RFUNCT_2:6
.=
abs (((f | Y) . (q1 . k)) - (((f | Y) /* (q1 - ((s1 - s2) * Ns1))) . k))
by A15, FUNCT_2:185
.=
abs (((f | Y) . (q1 . k)) - ((f | Y) . ((q1 - ((s1 - s2) * Ns1)) . k)))
by A25, FUNCT_2:185
.=
abs ((f . (q1 . k)) - ((f | Y) . ((q1 - ((s1 - s2) * Ns1)) . k)))
by A15, A40, FUNCT_1:70
.=
abs ((f . (q1 . k)) - (f . ((q1 - ((s1 - s2) * Ns1)) . k)))
by A25, A41, FUNCT_1:70
.=
abs ((f . (s1 . (Ns1 . k))) - (f . ((s2 * Ns1) . k)))
by A21, A23, FUNCT_2:21
.=
abs ((f . (s1 . (Ns1 . k))) - (f . (s2 . (Ns1 . k))))
by FUNCT_2:21
;
hence
contradiction
by A19, A39;
verum end;
hence
contradiction
; verum