let f be PartFunc of REAL,REAL; for x0 being Real st f is_right_differentiable_in x0 holds
f is_Rcontinuous_in x0
let x0 be Real; ( f is_right_differentiable_in x0 implies f is_Rcontinuous_in x0 )
assume A1:
f is_right_differentiable_in x0
; f is_Rcontinuous_in x0
then consider r being Real such that
A2:
r > 0
and
A3:
[.x0,(x0 + r).] c= dom f
;
A4:
for a being Real_Sequence st rng a c= (right_open_halfline x0) /\ (dom f) & a is convergent & lim a = x0 holds
( f /* a is convergent & f . x0 = lim (f /* a) )
proof
reconsider xx0 =
x0 as
Element of
REAL by XREAL_0:def 1;
set b =
seq_const x0;
let a be
Real_Sequence;
( rng a c= (right_open_halfline x0) /\ (dom f) & a is convergent & lim a = x0 implies ( f /* a is convergent & f . x0 = lim (f /* a) ) )
assume that A5:
rng a c= (right_open_halfline x0) /\ (dom f)
and A6:
a is
convergent
and A7:
lim a = x0
;
( f /* a is convergent & f . x0 = lim (f /* a) )
consider r being
Real such that A8:
r > 0
and A9:
[.x0,(x0 + r).] c= dom f
by A1;
x0 + 0 < x0 + r
by A8, XREAL_1:6;
then consider n0 being
Nat such that A10:
for
k being
Nat st
k >= n0 holds
a . k < x0 + r
by A6, A7, LIMFUNC2:2;
deffunc H1(
Nat)
-> set =
(a . $1) - ((seq_const x0) . $1);
consider d being
Real_Sequence such that A11:
for
n being
Nat holds
d . n = H1(
n)
from SEQ_1:sch 1();
A12:
d = a - (seq_const x0)
by A11, RFUNCT_2:1;
then A13:
d is
convergent
by A6;
reconsider c =
(seq_const x0) ^\ n0 as
constant Real_Sequence ;
A14:
rng c = {x0}
then A20:
f /* c is
convergent
by SEQ_2:def 6;
lim (seq_const x0) =
(seq_const x0) . 0
by SEQ_4:26
.=
x0
by SEQ_1:57
;
then lim d =
x0 - x0
by A6, A7, A12, SEQ_2:12
.=
0
;
then A21:
lim (d ^\ n0) = 0
by A13, SEQ_4:20;
A22:
for
n being
Element of
NAT holds
(
d . n > 0 &
d . n <> 0 )
A25:
for
n being
Nat holds
(d ^\ n0) . n > 0
for
n being
Nat holds
(d ^\ n0) . n <> 0
by A25;
then
d ^\ n0 is
non-zero
by SEQ_1:5;
then reconsider h =
d ^\ n0 as
non-zero 0 -convergent Real_Sequence by A13, A21, FDIFF_1:def 1;
A27:
rng a c= dom f
by A5, XBOOLE_0:def 4;
then A28:
((f /* (h + c)) - (f /* c)) + (f /* c) = f /* (h + c)
by FUNCT_2:63;
then A29:
((f /* (h + c)) - (f /* c)) + (f /* c) =
f /* (a ^\ n0)
by A28, FUNCT_2:63
.=
(f /* a) ^\ n0
by A27, VALUED_0:27
;
A30:
for
n being
Element of
NAT holds
(a ^\ n0) . n in [.x0,(x0 + r).]
rng (h + c) c= [.x0,(x0 + r).]
then
rng (h + c) c= dom f
by A9;
then A33:
(h ") (#) ((f /* (h + c)) - (f /* c)) is
convergent
by A1, A25, A14;
then A34:
lim (h (#) ((h ") (#) ((f /* (h + c)) - (f /* c)))) =
0 * (lim ((h ") (#) ((f /* (h + c)) - (f /* c))))
by A21, SEQ_2:15
.=
0
;
then A36:
h (#) ((h ") (#) ((f /* (h + c)) - (f /* c))) = (f /* (h + c)) - (f /* c)
by FUNCT_2:63;
then A37:
(f /* (h + c)) - (f /* c) is
convergent
by A33;
then A38:
((f /* (h + c)) - (f /* c)) + (f /* c) is
convergent
by A20;
hence
f /* a is
convergent
by A29, SEQ_4:21;
f . x0 = lim (f /* a)
lim (f /* c) = f . x0
by A17, A20, SEQ_2:def 7;
then lim (((f /* (h + c)) - (f /* c)) + (f /* c)) =
0 + (f . x0)
by A34, A36, A37, A20, SEQ_2:6
.=
f . x0
;
hence
f . x0 = lim (f /* a)
by A38, A29, SEQ_4:22;
verum
end;
x0 + 0 <= x0 + r
by A2, XREAL_1:7;
then
x0 in [.x0,(x0 + r).]
by XXREAL_1:1;
hence
f is_Rcontinuous_in x0
by A3, A4; verum