let x0 be real number ; 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; ( 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; ( ( 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) )
; f is_continuous_in x0
let s2 be Real_Sequence; FCONT_1:def 1 ( rng s2 c= dom f & s2 is convergent & lim s2 = x0 implies ( f /* s2 is convergent & f . x0 = lim (f /* s2) ) )
assume that
A2:
rng s2 c= dom f
and
A3:
( s2 is convergent & lim s2 = x0 )
; ( 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 A11:
for
n being
Element of
NAT ex
m being
Element of
NAT st
(
n <= m &
s2 . m <> x0 )
;
( f /* s2 is convergent & f . x0 = lim (f /* s2) )defpred S1[
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 ) );
defpred S2[
set ]
means s2 . $1
<> x0;
ex
m1 being
Element of
NAT st
(
0 <= m1 &
s2 . m1 <> x0 )
by A11;
then A12:
ex
m being
Nat st
S2[
m]
;
consider M being
Nat such that A13:
(
S2[
M] & ( for
n being
Nat st
S2[
n] holds
M <= n ) )
from NAT_1:sch 5(A12);
reconsider M9 =
M as
Element of
NAT by ORDINAL1:def 13;
A16:
for
n,
x being
Element of
NAT ex
y being
Element of
NAT st
S1[
n,
x,
y]
consider F being
Function of
NAT,
NAT such that A19:
(
F . 0 = M9 & ( for
n being
Element of
NAT holds
S1[
n,
F . n,
F . (n + 1)] ) )
from RECDEF_1:sch 2(A16);
A20:
rng F c= REAL
by XBOOLE_1:1;
A21:
rng F c= NAT
;
A22:
dom F = NAT
by FUNCT_2:def 1;
then reconsider F =
F as
Real_Sequence by A20, RELSET_1:11;
then reconsider F =
F as
V38()
sequence of
NAT by SEQM_3:def 11;
A24:
(
s2 * F is
convergent &
lim (s2 * F) = x0 )
by A3, SEQ_4:29, SEQ_4:30;
A25:
for
n being
Element of
NAT st
s2 . n <> x0 holds
ex
m being
Element of
NAT st
F . m = n
A37:
for
n being
Element of
NAT holds
(s2 * F) . n <> x0
A40:
rng (s2 * F) c= rng s2
by VALUED_0:21;
then
rng (s2 * F) c= dom f
by A2, XBOOLE_1:1;
then A41:
(
f /* (s2 * F) is
convergent &
f . x0 = lim (f /* (s2 * F)) )
by A1, A37, A24;
hence
f /* s2 is
convergent
by SEQ_2:def 6;
f . x0 = lim (f /* s2)hence
f . x0 = lim (f /* s2)
by A42, SEQ_2:def 7;
verum end; end; end;
hence
( f /* s2 is convergent & f . x0 = lim (f /* s2) )
; verum