let G be Function of NAT ,ExtREAL ; :: thesis: ( G is nonnegative implies for S being non empty Subset of NAT
for H being Function of S,NAT st H is one-to-one holds
SUM (On (G * H)) <= SUM G )
assume A1:
G is nonnegative
; :: thesis: for S being non empty Subset of NAT
for H being Function of S,NAT st H is one-to-one holds
SUM (On (G * H)) <= SUM G
let S be non empty Subset of NAT ; :: thesis: for H being Function of S,NAT st H is one-to-one holds
SUM (On (G * H)) <= SUM G
let H be Function of S,NAT ; :: thesis: ( H is one-to-one implies SUM (On (G * H)) <= SUM G )
assume A2:
H is one-to-one
; :: thesis: SUM (On (G * H)) <= SUM G
defpred S1[ Element of NAT ] means ex m being Element of NAT st
for F being Function of NAT ,ExtREAL st F is nonnegative holds
(Ser (On (F * H))) . $1 <= (Ser F) . m;
A3:
S1[ 0 ]
A10:
for k being Element of NAT st S1[k] holds
S1[k + 1]
proof
let k be
Element of
NAT ;
:: thesis: ( S1[k] implies S1[k + 1] )
given m0 being
Element of
NAT such that A11:
for
F being
Function of
NAT ,
ExtREAL st
F is
nonnegative holds
(Ser (On (F * H))) . k <= (Ser F) . m0
;
:: thesis: S1[k + 1]
per cases
( k + 1 in S or not k + 1 in S )
;
suppose A12:
k + 1
in S
;
:: thesis: S1[k + 1]reconsider m1 =
H . (k + 1) as
Element of
NAT ;
set m =
m0 + m1;
A13:
m1 <= m0 + m1
by NAT_1:11;
take
m0 + m1
;
:: thesis: for F being Function of NAT ,ExtREAL st F is nonnegative holds
(Ser (On (F * H))) . (k + 1) <= (Ser F) . (m0 + m1)let F be
Function of
NAT ,
ExtREAL ;
:: thesis: ( F is nonnegative implies (Ser (On (F * H))) . (k + 1) <= (Ser F) . (m0 + m1) )assume A14:
F is
nonnegative
;
:: thesis: (Ser (On (F * H))) . (k + 1) <= (Ser F) . (m0 + m1)defpred S2[
Element of
NAT ,
Element of
ExtREAL ]
means ( ( $1
= H . (k + 1) implies $2
= F . $1 ) & ( $1
<> H . (k + 1) implies $2
= 0. ) );
A15:
for
n being
Element of
NAT ex
y being
Element of
ExtREAL st
S2[
n,
y]
consider G0 being
Function of
NAT ,
ExtREAL such that A18:
for
n being
Element of
NAT holds
S2[
n,
G0 . n]
from FUNCT_2:sch 3(A15);
for
n being
Element of
NAT holds
0. <= G0 . n
then A19:
G0 is
nonnegative
by SUPINF_2:58;
defpred S3[
Element of
NAT ,
Element of
ExtREAL ]
means ( ( $1
<> H . (k + 1) implies $2
= F . $1 ) & ( $1
= H . (k + 1) implies $2
= 0. ) );
A20:
for
n being
Element of
NAT ex
y being
Element of
ExtREAL st
S3[
n,
y]
consider G1 being
Function of
NAT ,
ExtREAL such that A23:
for
n being
Element of
NAT holds
S3[
n,
G1 . n]
from FUNCT_2:sch 3(A20);
for
n being
Element of
NAT holds
0. <= G1 . n
then A24:
G1 is
nonnegative
by SUPINF_2:58;
reconsider GG0 =
On (G0 * H) as
Function of
NAT ,
ExtREAL ;
G0 * H is
nonnegative
by A19, MEASURE1:54;
then A25:
GG0 is
nonnegative
by Th8;
reconsider n =
k + 1 as
Element of
S by A12;
A26:
GG0 . n =
(G0 * H) . n
by Def1
.=
G0 . (H . n)
by FUNCT_2:21
.=
F . (H . n)
by A18
;
A27:
for
n being
Element of
NAT st
n <> k + 1 holds
GG0 . n = 0.
set GG1 =
On (G1 * H);
G1 * H is
nonnegative
by A24, MEASURE1:54;
then A31:
On (G1 * H) is
nonnegative
by Th8;
A32:
(On (G1 * H)) . (k + 1) =
(G1 * H) . n
by Def1
.=
G1 . (H . n)
by FUNCT_2:21
.=
0.
by A23
;
A33:
for
n being
Element of
NAT st
n <> k + 1 &
n in S holds
(On (G1 * H)) . n = F . (H . n)
A36:
for
n being
Element of
NAT holds
(On (F * H)) . n = (GG0 . n) + ((On (G1 * H)) . n)
A45:
(Ser GG0) . (k + 1) = F . (H . (k + 1))
by A26, A27, Th10;
A46:
(Ser G0) . (m0 + m1) = G0 . (H . (k + 1))
by A13, A18, Th10;
set v =
H . n;
A47:
G0 . (H . n) = F . (H . n)
by A18;
A48:
(Ser (On (G1 * H))) . (k + 1) =
((Ser (On (G1 * H))) . k) + ((On (G1 * H)) . (k + 1))
by SUPINF_2:63
.=
(Ser (On (G1 * H))) . k
by A32, XXREAL_3:4
;
A49:
(Ser (On (G1 * H))) . k <= (Ser G1) . m0
by A11, A24;
(Ser G1) . m0 <= (Ser G1) . (m0 + m1)
by A24, Th9, NAT_1:11;
then A50:
(Ser (On (G1 * H))) . (k + 1) <= (Ser G1) . (m0 + m1)
by A48, A49, XXREAL_0:2;
for
m being
Element of
NAT holds
F . m = (G0 . m) + (G1 . m)
then
(
(Ser (On (F * H))) . (k + 1) = ((Ser GG0) . (k + 1)) + ((Ser (On (G1 * H))) . (k + 1)) &
(Ser F) . (m0 + m1) = ((Ser G0) . (m0 + m1)) + ((Ser G1) . (m0 + m1)) )
by A19, A24, A25, A31, A36, Th3;
hence
(Ser (On (F * H))) . (k + 1) <= (Ser F) . (m0 + m1)
by A45, A46, A47, A50, XXREAL_3:38;
:: thesis: verum end; end;
end;
A59:
for k being Element of NAT holds S1[k]
from NAT_1:sch 1(A3, A10);
for x being ext-real number st x in rng (Ser (On (G * H))) holds
ex y being ext-real number st
( y in rng (Ser G) & x <= y )
then A63:
sup (rng (Ser (On (G * H)))) <= sup (rng (Ser G))
by XXREAL_2:63;
SUM G = sup (rng (Ser G))
by SUPINF_2:def 23;
hence
SUM (On (G * H)) <= SUM G
by A63, SUPINF_2:def 23; :: thesis: verum