let x0 be Element of COMPLEX ; :: thesis: for f being PartFunc of COMPLEX ,COMPLEX holds
( f is_continuous_in x0 iff ( x0 in dom f & ( for s1 being Complex_Sequence st rng s1 c= dom f & s1 is convergent & lim s1 = x0 & ( for n being Element of NAT holds s1 . n <> x0 ) holds
( f /* s1 is convergent & f /. x0 = lim (f /* s1) ) ) ) )
let f be PartFunc of COMPLEX ,COMPLEX ; :: thesis: ( f is_continuous_in x0 iff ( x0 in dom f & ( for s1 being Complex_Sequence st rng s1 c= dom f & s1 is convergent & lim s1 = x0 & ( for n being Element of NAT holds s1 . n <> x0 ) holds
( f /* s1 is convergent & f /. x0 = lim (f /* s1) ) ) ) )
thus
( f is_continuous_in x0 implies ( x0 in dom f & ( for s1 being Complex_Sequence st rng s1 c= dom f & s1 is convergent & lim s1 = x0 & ( for n being Element of NAT holds s1 . n <> x0 ) holds
( f /* s1 is convergent & f /. x0 = lim (f /* s1) ) ) ) )
by Def2; :: thesis: ( x0 in dom f & ( for s1 being Complex_Sequence st rng s1 c= dom f & s1 is convergent & lim s1 = x0 & ( for n being Element of NAT holds s1 . n <> x0 ) holds
( f /* s1 is convergent & f /. x0 = lim (f /* s1) ) ) implies f is_continuous_in x0 )
assume A1:
( x0 in dom f & ( for s1 being Complex_Sequence st rng s1 c= dom f & s1 is convergent & lim s1 = x0 & ( for n being Element of NAT holds s1 . n <> x0 ) holds
( f /* s1 is convergent & f /. x0 = lim (f /* s1) ) ) )
; :: thesis: f is_continuous_in x0
hence
x0 in dom f
; :: according to CFCONT_1:def 2 :: thesis: for s1 being Complex_Sequence st rng s1 c= dom f & s1 is convergent & lim s1 = x0 holds
( f /* s1 is convergent & f /. x0 = lim (f /* s1) )
let s2 be Complex_Sequence; :: thesis: ( rng s2 c= dom f & s2 is convergent & lim s2 = x0 implies ( f /* s2 is convergent & f /. x0 = lim (f /* s2) ) )
assume A2:
( rng s2 c= dom f & s2 is convergent & lim s2 = x0 )
; :: thesis: ( f /* s2 is convergent & f /. x0 = lim (f /* s2) )
now per cases
( ex n being Element of NAT st
for m being Element of NAT st n <= m holds
s2 . m = x0 or for n being Element of NAT ex m being Element of NAT st
( n <= m & s2 . m <> x0 ) )
;
suppose A9:
for
n being
Element of
NAT ex
m being
Element of
NAT st
(
n <= m &
s2 . m <> x0 )
;
:: thesis: ( f /* s2 is convergent & f /. x0 = lim (f /* s2) )then consider m1 being
Element of
NAT such that A10:
(
0 <= m1 &
s2 . m1 <> x0 )
;
defpred S1[
set ]
means s2 . $1
<> x0;
A11:
ex
m being
Nat st
S1[
m]
by A10;
consider M being
Nat such that A12:
(
S1[
M] & ( for
n being
Nat st
S1[
n] holds
M <= n ) )
from NAT_1:sch 5(A11);
defpred S2[
set ,
set ]
means for
n,
m being
Element of
NAT st $1
= n & $2
= m holds
(
n < m &
s2 . m <> x0 & ( for
k being
Element of
NAT st
n < k &
s2 . k <> x0 holds
m <= k ) );
defpred S3[
set ,
set ,
set ]
means S2[$2,$3];
A15:
for
n,
x being
Element of
NAT ex
y being
Element of
NAT st
S3[
n,
x,
y]
reconsider M' =
M as
Element of
NAT by ORDINAL1:def 13;
consider F being
Function of
NAT ,
NAT such that A18:
(
F . 0 = M' & ( for
n being
Element of
NAT holds
S3[
n,
F . n,
F . (n + 1)] ) )
from RECDEF_1:sch 2(A15);
A19:
(
dom F = NAT &
rng F c= NAT )
by FUNCT_2:def 1;
for
n being
Element of
NAT holds
F . n is
real
;
then reconsider F =
F as
Real_Sequence by A19, SEQ_1:4;
then reconsider F =
F as
V35()
sequence of
NAT by SEQM_3:def 11;
A21:
for
n being
Element of
NAT st
s2 . n <> x0 holds
ex
m being
Element of
NAT st
F . m = n
defpred S4[
Element of
NAT ]
means (s2 * F) . $1
<> x0;
A33:
S4[
0 ]
by A12, A18, FUNCT_2:21;
A34:
for
k being
Element of
NAT st
S4[
k] holds
S4[
k + 1]
A35:
for
n being
Element of
NAT holds
S4[
n]
from NAT_1:sch 1(A33, A34);
A36:
s2 * F is
subsequence of
s2
by VALUED_0:def 17;
then A37:
s2 * F is
convergent
by A2, Th39;
A38:
rng (s2 * F) c= rng s2
by A36, VALUED_0:21;
then A39:
rng (s2 * F) c= dom f
by A2, XBOOLE_1:1;
lim (s2 * F) = x0
by A2, A36, Th40;
then A40:
(
f /* (s2 * F) is
convergent &
f /. x0 = lim (f /* (s2 * F)) )
by A1, A35, A37, A39;
hence
f /* s2 is
convergent
by COMSEQ_2:def 4;
:: thesis: f /. x0 = lim (f /* s2)hence
f /. x0 = lim (f /* s2)
by A41, COMSEQ_2:def 5;
:: thesis: verum end; end; end;
hence
( f /* s2 is convergent & f /. x0 = lim (f /* s2) )
; :: thesis: verum