let x0 be Real; for f being PartFunc of REAL,REAL st f is_left_convergent_in x0 & f is_right_convergent_in x0 & lim_left (f,x0) = lim_right (f,x0) holds
( f is_convergent_in x0 & lim (f,x0) = lim_left (f,x0) & lim (f,x0) = lim_right (f,x0) )
let f be PartFunc of REAL,REAL; ( f is_left_convergent_in x0 & f is_right_convergent_in x0 & lim_left (f,x0) = lim_right (f,x0) implies ( f is_convergent_in x0 & lim (f,x0) = lim_left (f,x0) & lim (f,x0) = lim_right (f,x0) ) )
assume that
A1:
f is_left_convergent_in x0
and
A2:
f is_right_convergent_in x0
and
A3:
lim_left (f,x0) = lim_right (f,x0)
; ( f is_convergent_in x0 & lim (f,x0) = lim_left (f,x0) & lim (f,x0) = lim_right (f,x0) )
A4:
now for s being Real_Sequence st s is convergent & lim s = x0 & rng s c= (dom f) \ {x0} holds
( f /* s is convergent & lim (f /* s) = lim_left (f,x0) )let s be
Real_Sequence;
( s is convergent & lim s = x0 & rng s c= (dom f) \ {x0} implies ( f /* s is convergent & lim (f /* s) = lim_left (f,x0) ) )assume that A5:
s is
convergent
and A6:
lim s = x0
and A7:
rng s c= (dom f) \ {x0}
;
( f /* s is convergent & lim (f /* s) = lim_left (f,x0) )now ( f /* s is convergent & lim (f /* s) = lim_left (f,x0) )per cases
( ex k being Element of NAT st
for n being Element of NAT st k <= n holds
s . n < x0 or for k being Element of NAT ex n being Element of NAT st
( k <= n & s . n >= x0 ) )
;
suppose
ex
k being
Element of
NAT st
for
n being
Element of
NAT st
k <= n holds
s . n < x0
;
( f /* s is convergent & lim (f /* s) = lim_left (f,x0) )then consider k being
Element of
NAT such that A8:
for
n being
Element of
NAT st
k <= n holds
s . n < x0
;
A9:
rng s c= dom f
by A7, XBOOLE_1:1;
A10:
rng (s ^\ k) c= (dom f) /\ (left_open_halfline x0)
A13:
f /* (s ^\ k) = (f /* s) ^\ k
by A7, VALUED_0:27, XBOOLE_1:1;
A14:
lim (s ^\ k) = x0
by A5, A6, SEQ_4:20;
then A15:
f /* (s ^\ k) is
convergent
by A1, A3, A5, A10, LIMFUNC2:def 7;
hence
f /* s is
convergent
by A13, SEQ_4:21;
lim (f /* s) = lim_left (f,x0)
lim (f /* (s ^\ k)) = lim_left (
f,
x0)
by A1, A5, A14, A10, LIMFUNC2:def 7;
hence
lim (f /* s) = lim_left (
f,
x0)
by A15, A13, SEQ_4:22;
verum end; suppose A16:
for
k being
Element of
NAT ex
n being
Element of
NAT st
(
k <= n &
s . n >= x0 )
;
( f /* s is convergent & lim (f /* s) = lim_left (f,x0) )now ( f /* s is convergent & lim (f /* s) = lim_left (f,x0) )per cases
( ex k being Element of NAT st
for n being Element of NAT st k <= n holds
x0 < s . n or for k being Element of NAT ex n being Element of NAT st
( k <= n & x0 >= s . n ) )
;
suppose
ex
k being
Element of
NAT st
for
n being
Element of
NAT st
k <= n holds
x0 < s . n
;
( f /* s is convergent & lim (f /* s) = lim_left (f,x0) )then consider k being
Element of
NAT such that A17:
for
n being
Element of
NAT st
k <= n holds
s . n > x0
;
A18:
rng s c= dom f
by A7, XBOOLE_1:1;
A19:
rng (s ^\ k) c= (dom f) /\ (right_open_halfline x0)
A22:
f /* (s ^\ k) = (f /* s) ^\ k
by A7, VALUED_0:27, XBOOLE_1:1;
A23:
lim (s ^\ k) = x0
by A5, A6, SEQ_4:20;
then A24:
f /* (s ^\ k) is
convergent
by A2, A3, A5, A19, LIMFUNC2:def 8;
hence
f /* s is
convergent
by A22, SEQ_4:21;
lim (f /* s) = lim_left (f,x0)
lim (f /* (s ^\ k)) = lim_left (
f,
x0)
by A2, A3, A5, A23, A19, LIMFUNC2:def 8;
hence
lim (f /* s) = lim_left (
f,
x0)
by A24, A22, SEQ_4:22;
verum end; suppose A25:
for
k being
Element of
NAT ex
n being
Element of
NAT st
(
k <= n &
x0 >= s . n )
;
( f /* s is convergent & lim (f /* s) = lim_left (f,x0) )set GR =
lim_left (
f,
x0);
defpred S1[
set ,
set ]
means for
n,
m being
Element of
NAT st $1
= n & $2
= m holds
(
n < m &
s . m < x0 & ( for
k being
Element of
NAT st
n < k &
s . k < x0 holds
m <= k ) );
defpred S2[
Nat,
set ,
set ]
means S1[$2,$3];
defpred S3[
Nat]
means s . $1
< x0;
then
ex
m1 being
Element of
NAT st
(
0 <= m1 &
s . m1 < x0 )
;
then A29:
ex
m being
Nat st
S3[
m]
;
consider M being
Nat such that A30:
(
S3[
M] & ( for
n being
Nat st
S3[
n] holds
M <= n ) )
from NAT_1:sch 5(A29);
reconsider M9 =
M as
Element of
NAT by ORDINAL1:def 12;
A34:
for
n being
Nat for
x being
Element of
NAT ex
y being
Element of
NAT st
S2[
n,
x,
y]
consider F being
sequence of
NAT such that A37:
(
F . 0 = M9 & ( for
n being
Nat holds
S2[
n,
F . n,
F . (n + 1)] ) )
from RECDEF_1:sch 2(A34);
A38:
rng F c= NAT
by RELAT_1:def 19;
then A39:
rng F c= REAL
by NUMBERS:19;
A40:
dom F = NAT
by FUNCT_2:def 1;
then reconsider F =
F as
Real_Sequence by A39, RELSET_1:4;
then reconsider F =
F as
increasing sequence of
NAT by SEQM_3:def 6;
A44:
s * F is
subsequence of
s
by VALUED_0:def 17;
then
rng (s * F) c= rng s
by VALUED_0:21;
then A45:
rng (s * F) c= (dom f) \ {x0}
by A7;
defpred S4[
Nat]
means (
s . $1
< x0 & ( for
m being
Element of
NAT holds
F . m <> $1 ) );
A46:
for
n being
Element of
NAT st
s . n < x0 holds
ex
m being
Element of
NAT st
F . m = n
defpred S5[
Nat]
means s . $1
> x0;
then
ex
mn being
Element of
NAT st
(
0 <= mn &
s . mn > x0 )
;
then A64:
ex
m being
Nat st
S5[
m]
;
consider N being
Nat such that A65:
(
S5[
N] & ( for
n being
Nat st
S5[
n] holds
N <= n ) )
from NAT_1:sch 5(A64);
defpred S6[
Nat]
means (s * F) . $1
< x0;
A66:
for
k being
Nat st
S6[
k] holds
S6[
k + 1]
proof
let k be
Nat;
( S6[k] implies S6[k + 1] )
assume
(s * F) . k < x0
;
S6[k + 1]
S1[
F . k,
F . (k + 1)]
by A37;
then
s . (F . (k + 1)) < x0
;
hence
S6[
k + 1]
by FUNCT_2:15;
verum
end; A67:
S6[
0 ]
by A30, A37, FUNCT_2:15;
A68:
for
k being
Nat holds
S6[
k]
from NAT_1:sch 2(A67, A66);
A69:
rng (s * F) c= (dom f) /\ (left_open_halfline x0)
defpred S7[
set ,
set ]
means for
n,
m being
Element of
NAT st $1
= n & $2
= m holds
(
n < m &
s . m > x0 & ( for
k being
Element of
NAT st
n < k &
s . k > x0 holds
m <= k ) );
defpred S8[
Nat,
set ,
set ]
means S7[$2,$3];
A73:
s * F is
convergent
by A5, A44, SEQ_4:16;
reconsider N9 =
N as
Element of
NAT by ORDINAL1:def 12;
A77:
for
n being
Nat for
x being
Element of
NAT ex
y being
Element of
NAT st
S8[
n,
x,
y]
consider G being
sequence of
NAT such that A80:
(
G . 0 = N9 & ( for
n being
Nat holds
S8[
n,
G . n,
G . (n + 1)] ) )
from RECDEF_1:sch 2(A77);
A81:
rng G c= NAT
by RELAT_1:def 19;
then A82:
rng G c= REAL
by NUMBERS:19;
A83:
dom G = NAT
by FUNCT_2:def 1;
then reconsider G =
G as
Real_Sequence by A82, RELSET_1:4;
then reconsider G =
G as
increasing sequence of
NAT by SEQM_3:def 6;
A87:
s * G is
subsequence of
s
by VALUED_0:def 17;
then
rng (s * G) c= rng s
by VALUED_0:21;
then A88:
rng (s * G) c= (dom f) \ {x0}
by A7;
A89:
lim (s * F) = x0
by A5, A6, A44, SEQ_4:17;
then A90:
lim (f /* (s * F)) = lim_left (
f,
x0)
by A1, A73, A69, LIMFUNC2:def 7;
A91:
f /* (s * F) is
convergent
by A1, A3, A73, A89, A69, LIMFUNC2:def 7;
A92:
s * G is
convergent
by A5, A87, SEQ_4:16;
defpred S9[
Nat]
means (
s . $1
> x0 & ( for
m being
Element of
NAT holds
G . m <> $1 ) );
A93:
for
n being
Element of
NAT st
s . n > x0 holds
ex
m being
Element of
NAT st
G . m = n
defpred S10[
Nat]
means (s * G) . $1
> x0;
A108:
for
k being
Nat st
S10[
k] holds
S10[
k + 1]
proof
let k be
Nat;
( S10[k] implies S10[k + 1] )
assume
(s * G) . k > x0
;
S10[k + 1]
S7[
G . k,
G . (k + 1)]
by A80;
then
s . (G . (k + 1)) > x0
;
hence
S10[
k + 1]
by FUNCT_2:15;
verum
end; A109:
S10[
0 ]
by A65, A80, FUNCT_2:15;
A110:
for
k being
Nat holds
S10[
k]
from NAT_1:sch 2(A109, A108);
A111:
rng (s * G) c= (dom f) /\ (right_open_halfline x0)
A115:
lim (s * G) = x0
by A5, A6, A87, SEQ_4:17;
then A116:
lim (f /* (s * G)) = lim_left (
f,
x0)
by A2, A3, A92, A111, LIMFUNC2:def 8;
A117:
f /* (s * G) is
convergent
by A2, A3, A92, A115, A111, LIMFUNC2:def 8;
A118:
now for r being Real st 0 < r holds
ex n being Nat st
for k being Nat st n <= k holds
|.(((f /* s) . k) - (lim_left (f,x0))).| < rlet r be
Real;
( 0 < r implies ex n being Nat st
for k being Nat st n <= k holds
|.(((f /* s) . k) - (lim_left (f,x0))).| < r )assume A119:
0 < r
;
ex n being Nat st
for k being Nat st n <= k holds
|.(((f /* s) . k) - (lim_left (f,x0))).| < rthen consider n1 being
Nat such that A120:
for
k being
Nat st
n1 <= k holds
|.(((f /* (s * F)) . k) - (lim_left (f,x0))).| < r
by A91, A90, SEQ_2:def 7;
consider n2 being
Nat such that A121:
for
k being
Nat st
n2 <= k holds
|.(((f /* (s * G)) . k) - (lim_left (f,x0))).| < r
by A117, A116, A119, SEQ_2:def 7;
reconsider n =
max (
(F . n1),
(G . n2)) as
Nat ;
take n =
n;
for k being Nat st n <= k holds
|.(((f /* s) . k) - (lim_left (f,x0))).| < rlet k be
Nat;
( n <= k implies |.(((f /* s) . k) - (lim_left (f,x0))).| < r )A122:
k in NAT
by ORDINAL1:def 12;
assume A123:
n <= k
;
|.(((f /* s) . k) - (lim_left (f,x0))).| < r
s . k in rng s
by VALUED_0:28;
then
not
s . k in {x0}
by A7, XBOOLE_0:def 5;
then A124:
s . k <> x0
by TARSKI:def 1;
now |.(((f /* s) . k) - (lim_left (f,x0))).| < rper cases
( s . k < x0 or s . k > x0 )
by A124, XXREAL_0:1;
suppose
s . k < x0
;
|.(((f /* s) . k) - (lim_left (f,x0))).| < rthen consider l being
Element of
NAT such that A125:
k = F . l
by A46, A122;
F . n1 <= n
by XXREAL_0:25;
then
F . n1 <= k
by A123, XXREAL_0:2;
then
l >= n1
by A125, SEQM_3:1;
then
|.(((f /* (s * F)) . l) - (lim_left (f,x0))).| < r
by A120;
then
|.((f . ((s * F) . l)) - (lim_left (f,x0))).| < r
by A45, FUNCT_2:108, XBOOLE_1:1;
then
|.((f . (s . k)) - (lim_left (f,x0))).| < r
by A125, FUNCT_2:15;
hence
|.(((f /* s) . k) - (lim_left (f,x0))).| < r
by A7, FUNCT_2:108, XBOOLE_1:1, A122;
verum end; suppose
s . k > x0
;
|.(((f /* s) . k) - (lim_left (f,x0))).| < rthen consider l being
Element of
NAT such that A126:
k = G . l
by A93, A122;
G . n2 <= n
by XXREAL_0:25;
then
G . n2 <= k
by A123, XXREAL_0:2;
then
l >= n2
by A126, SEQM_3:1;
then
|.(((f /* (s * G)) . l) - (lim_left (f,x0))).| < r
by A121;
then
|.((f . ((s * G) . l)) - (lim_left (f,x0))).| < r
by A88, FUNCT_2:108, XBOOLE_1:1;
then
|.((f . (s . k)) - (lim_left (f,x0))).| < r
by A126, FUNCT_2:15;
hence
|.(((f /* s) . k) - (lim_left (f,x0))).| < r
by A7, FUNCT_2:108, XBOOLE_1:1, A122;
verum end; end; end; hence
|.(((f /* s) . k) - (lim_left (f,x0))).| < r
;
verum end; hence
f /* s is
convergent
by SEQ_2:def 6;
lim (f /* s) = lim_left (f,x0)hence
lim (f /* s) = lim_left (
f,
x0)
by A118, SEQ_2:def 7;
verum end; end; end; hence
(
f /* s is
convergent &
lim (f /* s) = lim_left (
f,
x0) )
;
verum end; end; end; hence
(
f /* s is
convergent &
lim (f /* s) = lim_left (
f,
x0) )
;
verum end;
now for r1, r2 being Real st r1 < x0 & x0 < r2 holds
ex g1, g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom f & g2 < r2 & x0 < g2 & g2 in dom f )let r1,
r2 be
Real;
( r1 < x0 & x0 < r2 implies ex g1, g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom f & g2 < r2 & x0 < g2 & g2 in dom f ) )assume that A127:
r1 < x0
and A128:
x0 < r2
;
ex g1, g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom f & g2 < r2 & x0 < g2 & g2 in dom f )consider g1 being
Real such that A129:
r1 < g1
and A130:
g1 < x0
and A131:
g1 in dom f
by A1, A127, LIMFUNC2:def 1;
consider g2 being
Real such that A132:
g2 < r2
and A133:
x0 < g2
and A134:
g2 in dom f
by A2, A128, LIMFUNC2:def 4;
take g1 =
g1;
ex g2 being Real st
( r1 < g1 & g1 < x0 & g1 in dom f & g2 < r2 & x0 < g2 & g2 in dom f )take g2 =
g2;
( r1 < g1 & g1 < x0 & g1 in dom f & g2 < r2 & x0 < g2 & g2 in dom f )thus
(
r1 < g1 &
g1 < x0 &
g1 in dom f &
g2 < r2 &
x0 < g2 &
g2 in dom f )
by A129, A130, A131, A132, A133, A134;
verum end;
hence
f is_convergent_in x0
by A4; ( lim (f,x0) = lim_left (f,x0) & lim (f,x0) = lim_right (f,x0) )
hence
( lim (f,x0) = lim_left (f,x0) & lim (f,x0) = lim_right (f,x0) )
by A3, A4, Def4; verum