let X be non empty set ; :: thesis: for S being SigmaField of X
for M being sigma_Measure of S
for E being Element of S
for F being with_the_same_dom Functional_Sequence of X,ExtREAL
for P being PartFunc of X,ExtREAL st E = dom (F . 0 ) & E = dom P & ( for n being Nat holds F . n is_measurable_on E ) & P is_integrable_on M & ( for x being Element of X
for n being Nat st x in E holds
|.(F . n).| . x <= P . x ) & ( for x being Element of X st x in E holds
F # x is convergent ) holds
lim F is_integrable_on M

let S be SigmaField of X; :: thesis: for M being sigma_Measure of S
for E being Element of S
for F being with_the_same_dom Functional_Sequence of X,ExtREAL
for P being PartFunc of X,ExtREAL st E = dom (F . 0 ) & E = dom P & ( for n being Nat holds F . n is_measurable_on E ) & P is_integrable_on M & ( for x being Element of X
for n being Nat st x in E holds
|.(F . n).| . x <= P . x ) & ( for x being Element of X st x in E holds
F # x is convergent ) holds
lim F is_integrable_on M

let M be sigma_Measure of S; :: thesis: for E being Element of S
for F being with_the_same_dom Functional_Sequence of X,ExtREAL
for P being PartFunc of X,ExtREAL st E = dom (F . 0 ) & E = dom P & ( for n being Nat holds F . n is_measurable_on E ) & P is_integrable_on M & ( for x being Element of X
for n being Nat st x in E holds
|.(F . n).| . x <= P . x ) & ( for x being Element of X st x in E holds
F # x is convergent ) holds
lim F is_integrable_on M

let E be Element of S; :: thesis: for F being with_the_same_dom Functional_Sequence of X,ExtREAL
for P being PartFunc of X,ExtREAL st E = dom (F . 0 ) & E = dom P & ( for n being Nat holds F . n is_measurable_on E ) & P is_integrable_on M & ( for x being Element of X
for n being Nat st x in E holds
|.(F . n).| . x <= P . x ) & ( for x being Element of X st x in E holds
F # x is convergent ) holds
lim F is_integrable_on M

let F be with_the_same_dom Functional_Sequence of X,ExtREAL ; :: thesis: for P being PartFunc of X,ExtREAL st E = dom (F . 0 ) & E = dom P & ( for n being Nat holds F . n is_measurable_on E ) & P is_integrable_on M & ( for x being Element of X
for n being Nat st x in E holds
|.(F . n).| . x <= P . x ) & ( for x being Element of X st x in E holds
F # x is convergent ) holds
lim F is_integrable_on M

let P be PartFunc of X,ExtREAL ; :: thesis: ( E = dom (F . 0 ) & E = dom P & ( for n being Nat holds F . n is_measurable_on E ) & P is_integrable_on M & ( for x being Element of X
for n being Nat st x in E holds
|.(F . n).| . x <= P . x ) & ( for x being Element of X st x in E holds
F # x is convergent ) implies lim F is_integrable_on M )

assume that
A1: ( E = dom (F . 0 ) & E = dom P ) and
A2: for n being Nat holds F . n is_measurable_on E and
A3: P is_integrable_on M and
A4: for x being Element of X
for n being Nat st x in E holds
|.(F . n).| . x <= P . x and
A5: for x being Element of X st x in E holds
F # x is convergent ; :: thesis: lim F is_integrable_on M
C0: E = dom (lim_sup F) by A1, MESFUNC8:def 9;
C1: lim_sup F is_measurable_on E by A1, A2, MESFUNC8:23;
C2: for x being Element of X
for k being Nat st x in E holds
( - (P . x) <= (F # x) . k & (F # x) . k <= P . x )
proof
let x be Element of X; :: thesis: for k being Nat st x in E holds
( - (P . x) <= (F # x) . k & (F # x) . k <= P . x )

let k be Nat; :: thesis: ( x in E implies ( - (P . x) <= (F # x) . k & (F # x) . k <= P . x ) )
assume C3: x in E ; :: thesis: ( - (P . x) <= (F # x) . k & (F # x) . k <= P . x )
then x in dom (F . k) by A1, MESFUNC8:def 2;
then C4: x in dom |.(F . k).| by MESFUNC1:def 10;
|.(F . k).| . x <= P . x by A4, C3;
then |.((F . k) . x).| <= P . x by C4, MESFUNC1:def 10;
then ( - (P . x) <= (F . k) . x & (F . k) . x <= P . x ) by EXTREAL2:60;
hence ( - (P . x) <= (F # x) . k & (F # x) . k <= P . x ) by MESFUNC5:def 13; :: thesis: verum
end;
C5: now
let x be Element of X; :: thesis: ( x in dom (lim_sup F) implies |.((lim_sup F) . x).| <= P . x )
assume D12: x in dom (lim_sup F) ; :: thesis: |.((lim_sup F) . x).| <= P . x
for k being Nat holds (superior_realsequence (F # x)) . k >= - (P . x)
proof
let k be Nat; :: thesis: (superior_realsequence (F # x)) . k >= - (P . x)
k is Element of NAT by ORDINAL1:def 13;
then D14: (superior_realsequence (F # x)) . k >= (F # x) . k by RINFSUP2:8;
(F # x) . k >= - (P . x) by C2, D12, C0;
hence (superior_realsequence (F # x)) . k >= - (P . x) by D14, XXREAL_0:2; :: thesis: verum
end;
then lim_sup (F # x) >= - (P . x) by MESFUN10:4;
then D15: (lim_sup F) . x >= - (P . x) by D12, MESFUNC8:def 9;
now
let y be ext-real number ; :: thesis: ( y in rng (F # x) implies P . x >= y )
assume y in rng (F # x) ; :: thesis: P . x >= y
then ex k being set st
( k in dom (F # x) & y = (F # x) . k ) by FUNCT_1:def 5;
hence P . x >= y by C2, D12, C0; :: thesis: verum
end;
then P . x is UpperBound of rng (F # x) by XXREAL_2:def 1;
then P . x >= sup (rng (F # x)) by XXREAL_2:def 3;
then P . x >= sup ((F # x) ^\ 0 ) by NAT_1:48;
then D17: P . x >= (superior_realsequence (F # x)) . 0 by RINFSUP2:27;
(superior_realsequence (F # x)) . 0 >= inf (superior_realsequence (F # x)) by RINFSUP2:23;
then P . x >= lim_sup (F # x) by D17, XXREAL_0:2;
then P . x >= (lim_sup F) . x by D12, MESFUNC8:def 9;
hence |.((lim_sup F) . x).| <= P . x by D15, EXTREAL2:60; :: thesis: verum
end;
C6: E = dom (lim F) by A1, MESFUNC8:def 10;
now
let x be Element of X; :: thesis: ( x in dom (lim F) implies (lim F) . x = (lim_sup F) . x )
assume P01: x in dom (lim F) ; :: thesis: (lim F) . x = (lim_sup F) . x
then x in E by A1, MESFUNC8:def 10;
then F # x is convergent by A5;
hence (lim F) . x = (lim_sup F) . x by P01, MESFUNC8:14; :: thesis: verum
end;
then lim F = lim_sup F by C0, C6, PARTFUN1:34;
hence lim F is_integrable_on M by C5, C0, C1, A1, A3, MESFUNC5:108; :: thesis: verum