let f be eventually-positive Real_Sequence; for t being eventually-nonnegative Real_Sequence
for N being Element of NAT st t in Big_Oh f & ( for n being Element of NAT st n >= N holds
f . n > 0 ) holds
ex c being Real st
( c > 0 & ( for n being Element of NAT st n >= N holds
t . n <= c * (f . n) ) )
let t be eventually-nonnegative Real_Sequence; for N being Element of NAT st t in Big_Oh f & ( for n being Element of NAT st n >= N holds
f . n > 0 ) holds
ex c being Real st
( c > 0 & ( for n being Element of NAT st n >= N holds
t . n <= c * (f . n) ) )
let N be Element of NAT ; ( t in Big_Oh f & ( for n being Element of NAT st n >= N holds
f . n > 0 ) implies ex c being Real st
( c > 0 & ( for n being Element of NAT st n >= N holds
t . n <= c * (f . n) ) ) )
assume that
A1:
t in Big_Oh f
and
A2:
for n being Element of NAT st n >= N holds
f . n > 0
; ex c being Real st
( c > 0 & ( for n being Element of NAT st n >= N holds
t . n <= c * (f . n) ) )
deffunc H1( Element of NAT ) -> Element of REAL = t . $1;
deffunc H2( Element of NAT ) -> Element of REAL = f . $1;
ex s being Element of Funcs (NAT,REAL) st
( t = s & ex c being Real ex N being Element of NAT st
( c > 0 & ( for n being Element of NAT st n >= N holds
( s . n <= c * (f . n) & s . n >= 0 ) ) ) )
by A1;
then consider c2 being Real, M being Element of NAT such that
A3:
c2 > 0
and
A4:
for n being Element of NAT st n >= M holds
( t . n <= c2 * (f . n) & t . n >= 0 )
;
set fset = { H2(n) where n is Element of NAT : ( N <= n & n <= max (M,N) ) } ;
A5:
N <= max (M,N)
by XXREAL_0:25;
{ H2(n) where n is Element of NAT : ( N <= n & n <= max (M,N) ) } is non empty finite Subset of REAL
from ASYMPT_0:sch 1(A5);
then reconsider fset = { H2(n) where n is Element of NAT : ( N <= n & n <= max (M,N) ) } as non empty finite Subset of REAL ;
set F = min fset;
A6:
M <= max (M,N)
by XXREAL_0:25;
set tset = { H1(n) where n is Element of NAT : ( N <= n & n <= max (M,N) ) } ;
{ H1(n) where n is Element of NAT : ( N <= n & n <= max (M,N) ) } is non empty finite Subset of REAL
from ASYMPT_0:sch 1(A5);
then reconsider tset = { H1(n) where n is Element of NAT : ( N <= n & n <= max (M,N) ) } as non empty finite Subset of REAL ;
set T = max tset;
set c1 = (max tset) / (min fset);
reconsider c = max (((max tset) / (min fset)),c2) as Element of REAL by XREAL_0:def 1;
take
c
; ( c > 0 & ( for n being Element of NAT st n >= N holds
t . n <= c * (f . n) ) )
thus
c > 0
by A3, XXREAL_0:25; for n being Element of NAT st n >= N holds
t . n <= c * (f . n)
let n be Element of NAT ; ( n >= N implies t . n <= c * (f . n) )
assume A7:
n >= N
; t . n <= c * (f . n)
then A8:
f . n > 0
by A2;
A9:
f . n <> 0
by A2, A7;
min fset in fset
by XXREAL_2:def 7;
then A10:
ex n1 being Element of NAT st
( f . n1 = min fset & n1 >= N & n1 <= max (M,N) )
;
then A11:
min fset > 0
by A2;
A12:
min fset <> 0
by A2, A10;
per cases
( N >= M or N <= M )
;
suppose A14:
N <= M
;
t . n <= c * (f . n)thus
t . n <= c * (f . n)
verumproof
per cases
( n <= M or n >= M )
;
suppose
n <= M
;
t . n <= c * (f . n)then A15:
n <= max (
M,
N)
by A6, XXREAL_0:2;
then
t . n in tset
by A7;
then A16:
t . n <= max tset
by XXREAL_2:def 8;
f . n in fset
by A7, A15;
then A17:
f . n >= min fset
by XXREAL_2:def 7;
t . M in tset
by A6, A14;
then A18:
t . M <= max tset
by XXREAL_2:def 8;
t . M >= 0
by A4;
then A19:
((max tset) / (min fset)) * (f . n) >= ((max tset) / (min fset)) * (min fset)
by A11, A18, A17, XREAL_1:64;
then
((t . n) / (f . n)) * (f . n) <= ((max tset) / (min fset)) * (f . n)
by A8, XREAL_1:64;
then A20:
t . n <= ((max tset) / (min fset)) * (f . n)
by A9, XCMPLX_1:87;
((max tset) / (min fset)) * (f . n) <= c * (f . n)
by A8, XREAL_1:64, XXREAL_0:25;
hence
t . n <= c * (f . n)
by A20, XXREAL_0:2;
verum end; end;
end; end; end;