let X be non empty set ; :: thesis: for S being SigmaField of X
for M being sigma_Measure of S
for f being with_the_same_dom Functional_Sequence of X,ExtREAL
for g being PartFunc of X,ExtREAL
for E being Element of S st M . E < +infty & dom (f . 0 ) = E & ( for n being natural number holds
( f . n is_measurable_on E & f . n is real-valued ) ) & dom g = E & ( for x being Element of X st x in E holds
( f # x is convergent_to_finite_number & g . x = lim (f # x) ) ) holds
for r, e being real number st 0 < r & 0 < e holds
ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
let S be SigmaField of X; :: thesis: for M being sigma_Measure of S
for f being with_the_same_dom Functional_Sequence of X,ExtREAL
for g being PartFunc of X,ExtREAL
for E being Element of S st M . E < +infty & dom (f . 0 ) = E & ( for n being natural number holds
( f . n is_measurable_on E & f . n is real-valued ) ) & dom g = E & ( for x being Element of X st x in E holds
( f # x is convergent_to_finite_number & g . x = lim (f # x) ) ) holds
for r, e being real number st 0 < r & 0 < e holds
ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
let M be sigma_Measure of S; :: thesis: for f being with_the_same_dom Functional_Sequence of X,ExtREAL
for g being PartFunc of X,ExtREAL
for E being Element of S st M . E < +infty & dom (f . 0 ) = E & ( for n being natural number holds
( f . n is_measurable_on E & f . n is real-valued ) ) & dom g = E & ( for x being Element of X st x in E holds
( f # x is convergent_to_finite_number & g . x = lim (f # x) ) ) holds
for r, e being real number st 0 < r & 0 < e holds
ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
let f be with_the_same_dom Functional_Sequence of X,ExtREAL ; :: thesis: for g being PartFunc of X,ExtREAL
for E being Element of S st M . E < +infty & dom (f . 0 ) = E & ( for n being natural number holds
( f . n is_measurable_on E & f . n is real-valued ) ) & dom g = E & ( for x being Element of X st x in E holds
( f # x is convergent_to_finite_number & g . x = lim (f # x) ) ) holds
for r, e being real number st 0 < r & 0 < e holds
ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
let g be PartFunc of X,ExtREAL ; :: thesis: for E being Element of S st M . E < +infty & dom (f . 0 ) = E & ( for n being natural number holds
( f . n is_measurable_on E & f . n is real-valued ) ) & dom g = E & ( for x being Element of X st x in E holds
( f # x is convergent_to_finite_number & g . x = lim (f # x) ) ) holds
for r, e being real number st 0 < r & 0 < e holds
ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
let E be Element of S; :: thesis: ( M . E < +infty & dom (f . 0 ) = E & ( for n being natural number holds
( f . n is_measurable_on E & f . n is real-valued ) ) & dom g = E & ( for x being Element of X st x in E holds
( f # x is convergent_to_finite_number & g . x = lim (f # x) ) ) implies for r, e being real number st 0 < r & 0 < e holds
ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) ) )
assume that
A1:
M . E < +infty
and
A2:
dom (f . 0 ) = E
and
A3:
for n being natural number holds
( f . n is_measurable_on E & f . n is real-valued )
and
A4:
dom g = E
and
A5:
for x being Element of X st x in E holds
( f # x is convergent_to_finite_number & g . x = lim (f # x) )
; :: thesis: for r, e being real number st 0 < r & 0 < e holds
ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
let r, e be real number ; :: thesis: ( 0 < r & 0 < e implies ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) ) )
assume A6:
0 < r
; :: thesis: ( not 0 < e or ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) ) )
assume A7:
0 < e
; :: thesis: ex H being Element of S ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
for x being Element of X st x in E holds
( f # x is convergent & g . x = lim (f # x) )
then A9:
g is_measurable_on E
by A2, A3, A4, Th26;
A10:
g is real-valued
by A4, A5, Th27;
A11:
for n being Element of NAT holds
( |.((f . n) - g).| is_measurable_on E & dom ((f . n) - g) = E & dom |.((f . n) - g).| = E )
proof
let n be
Element of
NAT ;
:: thesis: ( |.((f . n) - g).| is_measurable_on E & dom ((f . n) - g) = E & dom |.((f . n) - g).| = E )
(
dom (f . n) = E &
f . n is_measurable_on E &
f . n is
real-valued )
by A2, A3, Def2;
then A12:
(f . n) - g is_measurable_on E
by A4, A9, A10, MESFUNC2:13;
dom ((f . n) - g) = (dom (f . n)) /\ (dom g)
by A10, MESFUNC2:2;
then
dom ((f . n) - g) = E /\ E
by A2, A4, Def2;
hence
(
|.((f . n) - g).| is_measurable_on E &
dom ((f . n) - g) = E &
dom |.((f . n) - g).| = E )
by A12, MESFUNC1:def 10, MESFUNC2:29;
:: thesis: verum
end;
defpred S1[ Element of NAT , set ] means $2 = E /\ (less_dom |.((f . $1) - g).|,(R_EAL e));
A13:
for n being Element of NAT ex Z being Element of S st S1[n,Z]
consider K being Function of NAT ,S such that
A14:
for n being Element of NAT holds S1[n,K . n]
from FUNCT_2:sch 10(A13);
defpred S2[ Element of NAT , set ] means $2 = { x where x is Element of X : for k being natural number st $1 <= k holds
x in K . k } ;
A15:
for n being Element of NAT ex Z being Element of S st S2[n,Z]
consider EN being Function of NAT ,S such that
A16:
for n being Element of NAT holds S2[n,EN . n]
from FUNCT_2:sch 10(A15);
A18:
0. <= M . E
by MEASURE1:def 4;
A19:
for n being natural number holds
( EN . n c= E & M . (EN . n) <= M . E & M . (EN . n) is Element of REAL & M . (E \ (EN . n)) = (M . E) - (M . (EN . n)) & M . (E \ (EN . n)) is Element of REAL )
proof
let n be
natural number ;
:: thesis: ( EN . n c= E & M . (EN . n) <= M . E & M . (EN . n) is Element of REAL & M . (E \ (EN . n)) = (M . E) - (M . (EN . n)) & M . (E \ (EN . n)) is Element of REAL )
reconsider n' =
n as
Element of
NAT by ORDINAL1:def 13;
thus A20:
EN . n c= E
:: thesis: ( M . (EN . n) <= M . E & M . (EN . n) is Element of REAL & M . (E \ (EN . n)) = (M . E) - (M . (EN . n)) & M . (E \ (EN . n)) is Element of REAL )
hence A21:
M . (EN . n) <= M . E
by MEASURE1:62;
:: thesis: ( M . (EN . n) is Element of REAL & M . (E \ (EN . n)) = (M . E) - (M . (EN . n)) & M . (E \ (EN . n)) is Element of REAL )
A22:
-infty < M . (EN . n)
by MEASURE1:def 4;
hence
M . (EN . n) is
Element of
REAL
by A1, A21, XXREAL_0:14;
:: thesis: ( M . (E \ (EN . n)) = (M . E) - (M . (EN . n)) & M . (E \ (EN . n)) is Element of REAL )
A23:
M . (EN . n) < +infty
by A1, A21, XXREAL_0:4;
hence
M . (E \ (EN . n)) = (M . E) - (M . (EN . n))
by A20, MEASURE1:63;
:: thesis: M . (E \ (EN . n)) is Element of REAL
reconsider r1 =
M . E as
Real by A1, A18, XXREAL_0:14;
reconsider r2 =
M . (EN . n) as
Real by A1, A21, A22, XXREAL_0:14;
(M . E) - (M . (EN . n)) = r1 - r2
by SUPINF_2:5;
hence
M . (E \ (EN . n)) is
Element of
REAL
by A20, A23, MEASURE1:63;
:: thesis: verum
end;
A24:
for n, m being Element of NAT st n <= m holds
( EN . n c= EN . m & M . (EN . n) <= M . (EN . m) )
defpred S3[ Element of NAT , set ] means $2 = M . (EN . $1);
consider seq1 being Real_Sequence such that
A28:
for n being Element of NAT holds S3[n,seq1 . n]
from FUNCT_2:sch 10(A27);
A29:
( dom (M * EN) = NAT & dom seq1 = NAT )
by FUNCT_2:def 1;
then A31:
M * EN = seq1
by A29, FUNCT_1:9;
A32:
union (rng EN) = E
proof
then A34:
union (rng EN) c= E
by ZFMISC_1:94;
E c= union (rng EN)
proof
let z be
set ;
:: according to TARSKI:def 3 :: thesis: ( not z in E or z in union (rng EN) )
assume A35:
z in E
;
:: thesis: z in union (rng EN)
then reconsider x =
z as
Element of
X ;
A36:
(
f # x is
convergent_to_finite_number &
g . x = lim (f # x) )
by A5, A35;
then A37:
f # x is
convergent
by MESFUNC5:def 11;
( ( not
lim (f # x) = -infty or not
f # x is
convergent_to_-infty ) & ( not
lim (f # x) = +infty or not
f # x is
convergent_to_+infty ) )
by A36, MESFUNC5:56, MESFUNC5:57;
then
ex
g being
real number st
(
lim (f # x) = g & ( for
p being
real number st
0 < p holds
ex
n being
Nat st
for
m being
Nat st
n <= m holds
|.(((f # x) . m) - (lim (f # x))).| < p ) &
f # x is
convergent_to_finite_number )
by A37, MESFUNC5:def 12;
then consider n being
Nat such that A38:
for
m being
Nat st
n <= m holds
|.(((f # x) . m) - (lim (f # x))).| < e
by A7;
reconsider n0 =
n as
Element of
NAT by ORDINAL1:def 13;
now let k be
natural number ;
:: thesis: ( n0 <= k implies x in K . k )reconsider k' =
k as
Element of
NAT by ORDINAL1:def 13;
assume A39:
n0 <= k
;
:: thesis: x in K . kA40:
dom ((f . k') - g) = E
by A11;
A41:
dom |.((f . k') - g).| = E
by A11;
|.(((f # x) . k) - (lim (f # x))).| < e
by A38, A39;
then
|.(((f . k) . x) - (g . x)).| < e
by A36, MESFUNC5:def 13;
then
|.(((f . k) - g) . x).| < e
by A35, A40, MESFUNC1:def 4;
then
|.((f . k) - g).| . x < e
by A35, A41, MESFUNC1:def 10;
then
x in less_dom |.((f . k) - g).|,
(R_EAL e)
by A35, A41, MESFUNC1:def 12;
then
x in E /\ (less_dom |.((f . k) - g).|,(R_EAL e))
by A35, XBOOLE_0:def 4;
then
x in K . k'
by A14;
hence
x in K . k
;
:: thesis: verum end;
then
x in { y where y is Element of X : for k being natural number st n0 <= k holds
y in K . k }
;
then A42:
x in EN . n0
by A16;
EN . n0 in rng EN
by FUNCT_2:6;
hence
z in union (rng EN)
by A42, TARSKI:def 4;
:: thesis: verum
end;
hence
union (rng EN) = E
by A34, XBOOLE_0:def 10;
:: thesis: verum
end;
A43:
( seq1 is convergent & lim seq1 = M . E )
defpred S4[ Element of NAT , set ] means $2 = M . (E \ (EN . $1));
consider seq2 being Real_Sequence such that
A53:
for n being Element of NAT holds S4[n,seq2 . n]
from FUNCT_2:sch 10(A52);
reconsider ME = M . E as Real by A1, A18, XXREAL_0:14;
set seq3 = NAT --> ME;
B54:
for n being Nat holds (NAT --> ME) . n = ME
then A56:
seq2 = (NAT --> ME) - seq1
by SEQ_1:11;
A57:
NAT --> ME is constant
by B54, VALUED_0:def 18;
then A58:
NAT --> ME is convergent
;
A59:
(NAT --> ME) . 0 = ME
by B54;
A60:
seq2 is convergent
by A43, A56, A58, SEQ_2:25;
lim seq2 = (lim (NAT --> ME)) - (lim seq1)
by A43, A56, A58, SEQ_2:26;
then
lim seq2 = ME - ME
by A43, A57, A59, SEQ_4:40;
then consider N being Element of NAT such that
A61:
for m being Element of NAT st N <= m holds
abs ((seq2 . m) - 0 ) < r
by A6, A60, SEQ_2:def 7;
A62:
abs ((seq2 . N) - 0 ) < r
by A61;
M . (E \ (EN . N)) = seq2 . N
by A53;
then
0 <= seq2 . N
by MEASURE1:def 4;
then A63:
seq2 . N < r
by A62, ABSVALUE:def 1;
reconsider H = E \ (EN . N) as Element of S ;
take
H
; :: thesis: ex N being natural number st
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
take
N
; :: thesis: ( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
( E \ H = E /\ (EN . N) & EN . N c= E )
by A19, XBOOLE_1:48;
then A64:
E \ H = EN . N
by XBOOLE_1:28;
for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e
hence
( H c= E & M . H < r & ( for k being natural number st N < k holds
for x being Element of X st x in E \ H holds
|.(((f . k) . x) - (g . x)).| < e ) )
by A53, A63, XBOOLE_1:36; :: thesis: verum