let f, g be eventually-positive Real_Sequence; :: thesis: ( f /" g is convergent & lim (f /" g) = 0 implies ( f in Big_Oh g & not g in Big_Oh f ) )
assume that
A1:
f /" g is convergent
and
A2:
lim (f /" g) = 0
; :: thesis: ( f in Big_Oh g & not g in Big_Oh f )
A3:
f is Element of Funcs NAT ,REAL
by FUNCT_2:11;
consider N being Element of NAT such that
A4:
for n being Element of NAT st N <= n holds
abs (((f /" g) . n) - 0 ) < 1
by A1, A2, SEQ_2:def 7;
consider N1 being Element of NAT such that
A5:
for n being Element of NAT st n >= N1 holds
f . n >= 0
by Def4;
consider N2 being Element of NAT such that
A6:
for n being Element of NAT st n >= N2 holds
g . n > 0
by Def6;
set b = max N,N1;
set a = max (max N,N1),N2;
A7:
now let n be
Element of
NAT ;
:: thesis: ( n >= max (max N,N1),N2 implies ( f . n <= 1 * (g . n) & f . n >= 0 ) )assume A8:
n >= max (max N,N1),
N2
;
:: thesis: ( f . n <= 1 * (g . n) & f . n >= 0 )A9:
(
max (max N,N1),
N2 >= max N,
N1 &
max (max N,N1),
N2 >= N2 )
by XXREAL_0:25;
then A10:
n >= N2
by A8, XXREAL_0:2;
A11:
(
max N,
N1 >= N &
max N,
N1 >= N1 )
by XXREAL_0:25;
n >= max N,
N1
by A8, A9, XXREAL_0:2;
then A12:
(
n >= N &
n >= N1 )
by A11, XXREAL_0:2;
then
abs (((f /" g) . n) - 0 ) < 1
by A4;
then
(f /" g) . n <= 1
by ABSVALUE:12;
then
(f . n) * ((g " ) . n) <= 1
by SEQ_1:12;
then A13:
(f . n) * ((g . n) " ) <= 1
by VALUED_1:10;
g . n > 0
by A6, A10;
then
((f . n) * ((g . n) " )) * (g . n) <= 1
* (g . n)
by A13, XREAL_1:66;
then A14:
(f . n) * (((g . n) " ) * (g . n)) <= 1
* (g . n)
;
g . n <> 0
by A6, A10;
then
(f . n) * 1
<= 1
* (g . n)
by A14, XCMPLX_0:def 7;
hence
f . n <= 1
* (g . n)
;
:: thesis: f . n >= 0 thus
f . n >= 0
by A5, A12;
:: thesis: verum end;
not g in Big_Oh f
proof
assume
g in Big_Oh f
;
:: thesis: contradiction
then consider t being
Element of
Funcs NAT ,
REAL such that A15:
t = g
and A16:
ex
c being
Real ex
N being
Element of
NAT st
(
c > 0 & ( for
n being
Element of
NAT st
n >= N holds
(
t . n <= c * (f . n) &
t . n >= 0 ) ) )
;
consider c being
Real,
N being
Element of
NAT such that A17:
c > 0
and A18:
for
n being
Element of
NAT st
n >= N holds
(
t . n <= c * (f . n) &
t . n >= 0 )
by A16;
set a =
max N,
N2;
A19:
(
max N,
N2 >= N &
max N,
N2 >= N2 )
by XXREAL_0:25;
reconsider q =
NAT --> (1 / c) as
Real_Sequence ;
then A25:
f /" g majorizes q
by Def11;
then A27:
q is
convergent
by SEQ_2:def 6;
then
lim q = 1
/ c
by A27, SEQ_2:def 7;
then
1
/ c <= 0
by A1, A2, A25, A27, Th4;
then
(1 / c) * c <= 0 * c
by A17;
hence
contradiction
by A17, XCMPLX_1:107;
:: thesis: verum
end;
hence
( f in Big_Oh g & not g in Big_Oh f )
by A3, A7; :: thesis: verum