let x0 be real number ; :: thesis: for f being PartFunc of REAL ,REAL holds
( f is_continuous_in x0 iff for s1 being Real_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 REAL ,REAL ; :: thesis: ( f is_continuous_in x0 iff for s1 being Real_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 for s1 being Real_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 Def1; :: thesis: ( ( for s1 being Real_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:
for s1 being Real_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
let s2 be Real_Sequence; :: according to FCONT_1:def 1 :: 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[
Element of
NAT ,
set ,
set ]
means for
n,
m being
Element of
NAT st $2
= n & $3
= m holds
(
n < m &
s2 . m <> x0 & ( for
k being
Element of
NAT st
n < k &
s2 . k <> x0 holds
m <= k ) );
A15:
for
n,
x being
Element of
NAT ex
y being
Element of
NAT st
S2[
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
S2[
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;
rng F c= REAL
by XBOOLE_1:1;
then reconsider F =
F as
Real_Sequence by A19, RELSET_1:11;
then reconsider F =
F as
V37()
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
A33:
for
n being
Element of
NAT holds
(s2 * F) . n <> x0
A37:
s2 * F is
convergent
by A2, SEQ_4:29;
A38:
rng (s2 * F) c= rng s2
by VALUED_0:21;
then A39:
rng (s2 * F) c= dom f
by A2, XBOOLE_1:1;
lim (s2 * F) = x0
by A2, SEQ_4:30;
then A40:
(
f /* (s2 * F) is
convergent &
f . x0 = lim (f /* (s2 * F)) )
by A1, A33, A37, A39;
hence
f /* s2 is
convergent
by SEQ_2:def 6;
:: thesis: f . x0 = lim (f /* s2)hence
f . x0 = lim (f /* s2)
by A41, SEQ_2:def 7;
:: thesis: verum end; end; end;
hence
( f /* s2 is convergent & f . x0 = lim (f /* s2) )
; :: thesis: verum