let f, t be positive Real_Sequence; ( t in Big_Theta f iff ex c, d being Real st
( c > 0 & d > 0 & ( for n being Element of NAT holds
( d * (f . n) <= t . n & t . n <= c * (f . n) ) ) ) )
A1:
Big_Theta f = { s where s is Element of Funcs (NAT,REAL) : ex c, d being Real ex N being Element of NAT st
( c > 0 & d > 0 & ( for n being Element of NAT st n >= N holds
( d * (f . n) <= s . n & s . n <= c * (f . n) ) ) ) }
by Th27;
hereby ( ex c, d being Real st
( c > 0 & d > 0 & ( for n being Element of NAT holds
( d * (f . n) <= t . n & t . n <= c * (f . n) ) ) ) implies t in Big_Theta f )
assume
t in Big_Theta f
;
ex c, d being Real st
( c > 0 & d > 0 & ( for n being Element of NAT holds
( d * (f . n) <= t . n & t . n <= c * (f . n) ) ) )then consider s being
Element of
Funcs (
NAT,
REAL)
such that A2:
s = t
and A3:
ex
c,
d being
Real ex
N being
Element of
NAT st
(
c > 0 &
d > 0 & ( for
n being
Element of
NAT st
n >= N holds
(
d * (f . n) <= s . n &
s . n <= c * (f . n) ) ) )
by A1;
consider c,
d being
Real,
N being
Element of
NAT such that A4:
c > 0
and A5:
d > 0
and A6:
for
n being
Element of
NAT st
n >= N holds
(
d * (f . n) <= s . n &
s . n <= c * (f . n) )
by A3;
per cases
( N = 0 or N > 0 )
;
suppose A8:
N > 0
;
ex c, d being Real st
( c > 0 & d > 0 & ( for n being Element of NAT holds
( d * (f . n) <= t . n & t . n <= c * (f . n) ) ) )deffunc H1(
Element of
NAT )
-> Element of
REAL =
(t . $1) / (f . $1);
reconsider B =
{ H1(n) where n is Element of NAT : n < N } as non
empty finite Subset of
REAL from ASYMPT_0:sch 3(A8);
set b =
max B;
set a =
min B;
A9:
for
n being
Element of
NAT st
n < N holds
t . n >= (min B) * (f . n)
A11:
for
n being
Element of
NAT st
n < N holds
t . n <= (max B) * (f . n)
thus
ex
c,
d being
Real st
(
c > 0 &
d > 0 & ( for
n being
Element of
NAT holds
(
d * (f . n) <= t . n &
t . n <= c * (f . n) ) ) )
verumproof
set D =
min (
(min B),
d);
set C =
max (
(max B),
c);
reconsider C =
max (
(max B),
c),
D =
min (
(min B),
d) as
Element of
REAL by XREAL_0:def 1;
take
C
;
ex d being Real st
( C > 0 & d > 0 & ( for n being Element of NAT holds
( d * (f . n) <= t . n & t . n <= C * (f . n) ) ) )
take
D
;
( C > 0 & D > 0 & ( for n being Element of NAT holds
( D * (f . n) <= t . n & t . n <= C * (f . n) ) ) )
thus
C > 0
by A4, XXREAL_0:25;
( D > 0 & ( for n being Element of NAT holds
( D * (f . n) <= t . n & t . n <= C * (f . n) ) ) )
min B > 0
hence
D > 0
by A5, XXREAL_0:15;
for n being Element of NAT holds
( D * (f . n) <= t . n & t . n <= C * (f . n) )
let n be
Element of
NAT ;
( D * (f . n) <= t . n & t . n <= C * (f . n) )
A14:
f . n > 0
by Def3;
per cases
( n < N or n >= N )
;
suppose A18:
n >= N
;
( D * (f . n) <= t . n & t . n <= C * (f . n) )A19:
D * (f . n) <= d * (f . n)
by A14, XREAL_1:64, XXREAL_0:17;
d * (f . n) <= t . n
by A2, A6, A18;
hence
D * (f . n) <= t . n
by A19, XXREAL_0:2;
t . n <= C * (f . n)A20:
c * (f . n) <= C * (f . n)
by A14, XREAL_1:64, XXREAL_0:25;
t . n <= c * (f . n)
by A2, A6, A18;
hence
t . n <= C * (f . n)
by A20, XXREAL_0:2;
verum end; end;
end; end; end;
end;
given c, d being Real such that A21:
( c > 0 & d > 0 )
and
A22:
for n being Element of NAT holds
( d * (f . n) <= t . n & t . n <= c * (f . n) )
; t in Big_Theta f
( t is Element of Funcs (NAT,REAL) & ( for n being Element of NAT st n >= 0 holds
( d * (f . n) <= t . n & t . n <= c * (f . n) ) ) )
by A22, FUNCT_2:8;
hence
t in Big_Theta f
by A1, A21; verum