let f be PartFunc of COMPLEX,COMPLEX; for x0 being Complex st f is_differentiable_in x0 holds
f is_continuous_in x0
let x0 be Complex; ( f is_differentiable_in x0 implies f is_continuous_in x0 )
assume A1:
f is_differentiable_in x0
; f is_continuous_in x0
then consider N being Neighbourhood of x0 such that
A2:
N c= dom f
and
ex L being C_LinearFunc ex R being C_RestFunc st
for x being Complex st x in N holds
(f /. x) - (f /. x0) = (L /. (x - x0)) + (R /. (x - x0))
;
A3:
x0 in N
by Th7;
now for s1 being Complex_Sequence st rng s1 c= dom f & s1 is convergent & lim s1 = x0 & ( for n being Nat holds s1 . n <> x0 ) holds
( f /* s1 is convergent & f /. x0 = lim (f /* s1) )consider g being
Real such that A4:
0 < g
and A5:
{ y where y is Complex : |.(y - x0).| < g } c= N
by Def5;
reconsider xx0 =
x0 as
Element of
COMPLEX by XCMPLX_0:def 2;
reconsider s2 =
NAT --> xx0 as
Complex_Sequence ;
let s1 be
Complex_Sequence;
( rng s1 c= dom f & s1 is convergent & lim s1 = x0 & ( for n being Nat holds s1 . n <> x0 ) implies ( f /* s1 is convergent & f /. x0 = lim (f /* s1) ) )assume that A6:
rng s1 c= dom f
and A7:
s1 is
convergent
and A8:
lim s1 = x0
and A9:
for
n being
Nat holds
s1 . n <> x0
;
( f /* s1 is convergent & f /. x0 = lim (f /* s1) )consider l being
Nat such that A10:
for
m being
Nat st
l <= m holds
|.((s1 . m) - x0).| < g
by A7, A8, A4, COMSEQ_2:def 6;
A11:
lim s2 =
s2 . 0
by CFCONT_1:28
.=
x0
;
deffunc H1(
Nat)
-> Element of
COMPLEX =
In (
((s1 . $1) - (s2 . $1)),
COMPLEX);
consider s3 being
Complex_Sequence such that A12:
for
n being
Element of
NAT holds
s3 . n = H1(
n)
from FUNCT_2:sch 4();
A13:
for
n being
Nat holds
s3 . n = (s1 . n) - (s2 . n)
A14:
s3 = s1 - s2
by A13, CFCONT_1:1;
A15:
s2 is
convergent
by CFCONT_1:26;
then A16:
s3 is
convergent
by A7, A14;
lim s3 =
lim (s1 - s2)
by A13, CFCONT_1:1
.=
x0 - x0
by A7, A8, A15, A11, COMSEQ_2:26
.=
0c
;
then A17:
lim (s3 ^\ l) = 0c
by A16, CFCONT_1:21;
reconsider c =
s2 ^\ l as
constant Complex_Sequence ;
then A23:
s3 ^\ l is
non-zero
by COMSEQ_1:4;
s3 ^\ l is
convergent
by A16, CFCONT_1:21;
then reconsider h =
s3 ^\ l as
non-zero 0 -convergent Complex_Sequence by A17, A23, Def1;
then A24:
((f /* (h + c)) - (f /* c)) + (f /* c) = f /* (h + c)
;
then A26:
((f /* (h + c)) - (f /* c)) + (f /* c) =
f /* (s1 ^\ l)
by A24, FUNCT_2:63
.=
(f /* s1) ^\ l
by A6, VALUED_0:27
;
A27:
rng c = {x0}
then A36:
f /* c is
convergent
;
then A38:
h (#) ((h ") (#) ((f /* (h + c)) - (f /* c))) = (f /* (h + c)) - (f /* c)
;
rng (h + c) c= N
then A42:
(h ") (#) ((f /* (h + c)) - (f /* c)) is
convergent
by A1, A2, A27, Th22;
then A43:
(f /* (h + c)) - (f /* c) is
convergent
by A38;
then A44:
((f /* (h + c)) - (f /* c)) + (f /* c) is
convergent
by A36;
hence
f /* s1 is
convergent
by A26, CFCONT_1:22;
f /. x0 = lim (f /* s1) lim (h (#) ((h ") (#) ((f /* (h + c)) - (f /* c)))) =
0c * (lim ((h ") (#) ((f /* (h + c)) - (f /* c))))
by A17, A42, COMSEQ_2:30
.=
0
;
then lim (((f /* (h + c)) - (f /* c)) + (f /* c)) =
0c + (lim (f /* c))
by A38, A43, A36, COMSEQ_2:14
.=
f /. x0
by A32, A36, COMSEQ_2:def 6
;
hence
f /. x0 = lim (f /* s1)
by A44, A26, CFCONT_1:23;
verum end;
hence
f is_continuous_in x0
by A2, A3, CFCONT_1:31; verum