let f be Function of R^1 ,R^1 ; ( ex a, b being Real st
for x being Real holds f . x = (a * x) + b implies f is continuous )
given a, b being Real such that A1:
for x being Real holds f . x = (a * x) + b
; f is continuous
for W being Point of R^1
for G being a_neighborhood of f . W ex H being a_neighborhood of W st f .: H c= G
proof
let W be
Point of
R^1 ;
for G being a_neighborhood of f . W ex H being a_neighborhood of W st f .: H c= Glet G be
a_neighborhood of
f . W;
ex H being a_neighborhood of W st f .: H c= G
reconsider Y =
f . W as
Point of
RealSpace ;
A2:
f . W in Int G
by CONNSP_2:def 1;
then consider Q being
Subset of
R^1 such that A3:
Q is
open
and A4:
Q c= G
and A5:
f . W in Q
by TOPS_1:54;
consider r being
real number such that A6:
r > 0
and A7:
Ball Y,
r c= Q
by A3, A5, Th22;
now per cases
( a = 0 or a <> 0 )
;
suppose A14:
a <> 0
;
ex H being a_neighborhood of W st f .: H c= Greconsider W9 =
W as
Point of
RealSpace ;
set d =
r / (2 * (abs a));
reconsider H =
Ball W9,
(r / (2 * (abs a))) as
Subset of
R^1 ;
H is
open
by Th21;
then A15:
Int H = H
by TOPS_1:55;
abs a > 0
by A14, COMPLEX1:133;
then
2
* (abs a) > 0
by XREAL_1:131;
then
W in Int H
by A6, A15, TBSP_1:16, XREAL_1:141;
then reconsider H =
H as
a_neighborhood of
W by CONNSP_2:def 1;
A16:
f .: H c= Ball Y,
r
proof
reconsider W99 =
W9 as
Real ;
let y be
set ;
TARSKI:def 3 ( not y in f .: H or y in Ball Y,r )
reconsider Y9 =
Y as
Real ;
assume
y in f .: H
;
y in Ball Y,r
then consider x being
set such that A17:
x in dom f
and A18:
x in H
and A19:
y = f . x
by FUNCT_1:def 12;
reconsider x9 =
x as
Point of
RealSpace by A18;
reconsider y9 =
y as
Real by A17, A19, FUNCT_2:7;
reconsider x99 =
x9 as
Real ;
reconsider yy =
y9 as
Point of
RealSpace ;
A20:
abs a > 0
by A14, COMPLEX1:133;
dist W9,
x9 < r / (2 * (abs a))
by A18, METRIC_1:12;
then
abs (W99 - x99) < r / (2 * (abs a))
by Th15;
then
(abs a) * (abs (W99 - x99)) < (abs a) * (r / (2 * (abs a)))
by A20, XREAL_1:70;
then
abs (a * (W99 - x99)) < (abs a) * (r / (2 * (abs a)))
by COMPLEX1:151;
then
abs (((a * W99) + b) - ((a * x99) + b)) < (abs a) * (r / (2 * (abs a)))
;
then
abs (Y9 - ((a * x99) + b)) < (abs a) * (r / (2 * (abs a)))
by A1;
then A21:
abs (Y9 - y9) < (abs a) * (r / (2 * (abs a)))
by A1, A19;
abs a <> 0
by A14, ABSVALUE:7;
then A22:
(abs a) * (r / (2 * (abs a))) = r / 2
by XCMPLX_1:93;
(
(r / 2) + (r / 2) = r &
r / 2
>= 0 )
by A6, XREAL_1:138;
then
abs (Y9 - y9) < r
by A21, A22, Lm2;
then
dist Y,
yy < r
by Th15;
hence
y in Ball Y,
r
by METRIC_1:12;
verum
end;
Ball Y,
r c= G
by A4, A7, XBOOLE_1:1;
hence
ex
H being
a_neighborhood of
W st
f .: H c= G
by A16, XBOOLE_1:1;
verum end; end; end;
hence
ex
H being
a_neighborhood of
W st
f .: H c= G
;
verum
end;
hence
f is continuous
by BORSUK_1:def 3; verum