let x0 be Real; for f being PartFunc of REAL,REAL holds
( f is_divergent_to+infty_in x0 iff ( f is_left_divergent_to+infty_in x0 & f is_right_divergent_to+infty_in x0 ) )
let f be PartFunc of REAL,REAL; ( f is_divergent_to+infty_in x0 iff ( f is_left_divergent_to+infty_in x0 & f is_right_divergent_to+infty_in x0 ) )
thus
( f is_divergent_to+infty_in x0 implies ( f is_left_divergent_to+infty_in x0 & f is_right_divergent_to+infty_in x0 ) )
( f is_left_divergent_to+infty_in x0 & f is_right_divergent_to+infty_in x0 implies f is_divergent_to+infty_in x0 )
assume that
A11:
f is_left_divergent_to+infty_in x0
and
A12:
f is_right_divergent_to+infty_in x0
; f is_divergent_to+infty_in x0
A13:
for r being Real st x0 < r holds
ex g being Real st
( g < r & x0 < g & g in dom f )
by A12, LIMFUNC2:def 5;
A14:
now for s being Real_Sequence st s is convergent & lim s = x0 & rng s c= (dom f) \ {x0} holds
f /* s is divergent_to+infty let s be
Real_Sequence;
( s is convergent & lim s = x0 & rng s c= (dom f) \ {x0} implies f /* s is divergent_to+infty )assume that A15:
s is
convergent
and A16:
lim s = x0
and A17:
rng s c= (dom f) \ {x0}
;
f /* s is divergent_to+infty now f /* s is divergent_to+infty 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 A24:
for
k being
Element of
NAT ex
n being
Element of
NAT st
(
k <= n &
s . n >= x0 )
;
f /* s is divergent_to+infty now f /* s is divergent_to+infty 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 A31:
for
k being
Element of
NAT ex
n being
Element of
NAT st
(
k <= n &
x0 >= s . n )
;
f /* s is divergent_to+infty defpred S1[
Nat]
means s . $1
< x0;
then
ex
m1 being
Element of
NAT st
(
0 <= m1 &
s . m1 < x0 )
;
then A35:
ex
m being
Nat st
S1[
m]
;
consider M being
Nat such that A36:
(
S1[
M] & ( for
n being
Nat st
S1[
n] holds
M <= n ) )
from NAT_1:sch 5(A35);
defpred S2[
Nat]
means s . $1
> x0;
defpred S3[
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 S4[
Nat,
set ,
set ]
means S3[$2,$3];
reconsider M9 =
M as
Element of
NAT by ORDINAL1:def 12;
A40:
for
n being
Nat for
x being
Element of
NAT ex
y being
Element of
NAT st
S4[
n,
x,
y]
consider F being
sequence of
NAT such that A43:
(
F . 0 = M9 & ( for
n being
Nat holds
S4[
n,
F . n,
F . (n + 1)] ) )
from RECDEF_1:sch 2(A40);
A44:
rng F c= NAT
by RELAT_1:def 19;
then A45:
rng F c= REAL
by NUMBERS:19;
A46:
dom F = NAT
by FUNCT_2:def 1;
then reconsider F =
F as
Real_Sequence by A45, RELSET_1:4;
then reconsider F =
F as
increasing sequence of
NAT by SEQM_3:def 6;
A50:
s * F is
subsequence of
s
by VALUED_0:def 17;
then
rng (s * F) c= rng s
by VALUED_0:21;
then A51:
rng (s * F) c= (dom f) \ {x0}
by A17;
A52:
for
n being
Element of
NAT st
s . n < x0 holds
ex
m being
Element of
NAT st
F . m = n
then
ex
mn being
Element of
NAT st
(
0 <= mn &
s . mn > x0 )
;
then A70:
ex
m being
Nat st
S2[
m]
;
consider N being
Nat such that A71:
(
S2[
N] & ( for
n being
Nat st
S2[
n] holds
N <= n ) )
from NAT_1:sch 5(A70);
defpred S5[
Nat]
means (s * F) . $1
< x0;
A72:
for
k being
Nat st
S5[
k] holds
S5[
k + 1]
proof
let k be
Nat;
( S5[k] implies S5[k + 1] )
assume
(s * F) . k < x0
;
S5[k + 1]
S3[
F . k,
F . (k + 1)]
by A43;
then
s . (F . (k + 1)) < x0
;
hence
S5[
k + 1]
by FUNCT_2:15;
verum
end; A73:
S5[
0 ]
by A36, A43, FUNCT_2:15;
A74:
for
k being
Nat holds
S5[
k]
from NAT_1:sch 2(A73, A72);
A75:
rng (s * F) c= (dom f) /\ (left_open_halfline x0)
defpred S6[
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 S7[
Nat,
set ,
set ]
means S6[$2,$3];
A79:
s * F is
convergent
by A15, A50, SEQ_4:16;
reconsider N9 =
N as
Element of
NAT by ORDINAL1:def 12;
A83:
for
n being
Nat for
x being
Element of
NAT ex
y being
Element of
NAT st
S7[
n,
x,
y]
consider G being
sequence of
NAT such that A86:
(
G . 0 = N9 & ( for
n being
Nat holds
S7[
n,
G . n,
G . (n + 1)] ) )
from RECDEF_1:sch 2(A83);
A87:
rng G c= NAT
by RELAT_1:def 19;
then A88:
rng G c= REAL
by NUMBERS:19;
A89:
dom G = NAT
by FUNCT_2:def 1;
then reconsider G =
G as
Real_Sequence by A88, RELSET_1:4;
then reconsider G =
G as
increasing sequence of
NAT by SEQM_3:def 6;
A93:
s * G is
subsequence of
s
by VALUED_0:def 17;
then
rng (s * G) c= rng s
by VALUED_0:21;
then A94:
rng (s * G) c= (dom f) \ {x0}
by A17;
defpred S8[
Nat]
means (
s . $1
> x0 & ( for
m being
Element of
NAT holds
G . m <> $1 ) );
A95:
for
n being
Element of
NAT st
s . n > x0 holds
ex
m being
Element of
NAT st
G . m = n
defpred S9[
Nat]
means (s * G) . $1
> x0;
A110:
for
k being
Nat st
S9[
k] holds
S9[
k + 1]
proof
let k be
Nat;
( S9[k] implies S9[k + 1] )
assume
(s * G) . k > x0
;
S9[k + 1]
S6[
G . k,
G . (k + 1)]
by A86;
then
s . (G . (k + 1)) > x0
;
hence
S9[
k + 1]
by FUNCT_2:15;
verum
end; A111:
S9[
0 ]
by A71, A86, FUNCT_2:15;
A112:
for
k being
Nat holds
S9[
k]
from NAT_1:sch 2(A111, A110);
A113:
rng (s * G) c= (dom f) /\ (right_open_halfline x0)
A117:
s * G is
convergent
by A15, A93, SEQ_4:16;
lim (s * G) = x0
by A15, A16, A93, SEQ_4:17;
then A118:
f /* (s * G) is
divergent_to+infty
by A12, A117, A113, LIMFUNC2:def 5;
lim (s * F) = x0
by A15, A16, A50, SEQ_4:17;
then A119:
f /* (s * F) is
divergent_to+infty
by A11, A79, A75, LIMFUNC2:def 2;
hence
f /* s is
divergent_to+infty
;
verum end; end; end; hence
f /* s is
divergent_to+infty
;
verum end; end; end; hence
f /* s is
divergent_to+infty
;
verum end;
for r being Real st r < x0 holds
ex g being Real st
( r < g & g < x0 & g in dom f )
by A11, LIMFUNC2:def 2;
then
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 )
by A13, Th8;
hence
f is_divergent_to+infty_in x0
by A14; verum