let X1, X2 be non empty set ; :: thesis: for S1 being SigmaField of X1
for S2 being SigmaField of X2
for M1 being sigma_Measure of S1
for M2 being sigma_Measure of S2
for f being PartFunc of [:X1,X2:],ExtREAL
for SX2 being Element of S2 st M1 is sigma_finite & M2 is sigma_finite & f is_integrable_on Prod_Measure (M1,M2) & X2 = SX2 holds
ex V being Element of S2 st
( M2 . V = 0 & ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

let S1 be SigmaField of X1; :: thesis: for S2 being SigmaField of X2
for M1 being sigma_Measure of S1
for M2 being sigma_Measure of S2
for f being PartFunc of [:X1,X2:],ExtREAL
for SX2 being Element of S2 st M1 is sigma_finite & M2 is sigma_finite & f is_integrable_on Prod_Measure (M1,M2) & X2 = SX2 holds
ex V being Element of S2 st
( M2 . V = 0 & ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

let S2 be SigmaField of X2; :: thesis: for M1 being sigma_Measure of S1
for M2 being sigma_Measure of S2
for f being PartFunc of [:X1,X2:],ExtREAL
for SX2 being Element of S2 st M1 is sigma_finite & M2 is sigma_finite & f is_integrable_on Prod_Measure (M1,M2) & X2 = SX2 holds
ex V being Element of S2 st
( M2 . V = 0 & ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

let M1 be sigma_Measure of S1; :: thesis: for M2 being sigma_Measure of S2
for f being PartFunc of [:X1,X2:],ExtREAL
for SX2 being Element of S2 st M1 is sigma_finite & M2 is sigma_finite & f is_integrable_on Prod_Measure (M1,M2) & X2 = SX2 holds
ex V being Element of S2 st
( M2 . V = 0 & ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

let M2 be sigma_Measure of S2; :: thesis: for f being PartFunc of [:X1,X2:],ExtREAL
for SX2 being Element of S2 st M1 is sigma_finite & M2 is sigma_finite & f is_integrable_on Prod_Measure (M1,M2) & X2 = SX2 holds
ex V being Element of S2 st
( M2 . V = 0 & ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

let f be PartFunc of [:X1,X2:],ExtREAL; :: thesis: for SX2 being Element of S2 st M1 is sigma_finite & M2 is sigma_finite & f is_integrable_on Prod_Measure (M1,M2) & X2 = SX2 holds
ex V being Element of S2 st
( M2 . V = 0 & ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

let SX2 be Element of S2; :: thesis: ( M1 is sigma_finite & M2 is sigma_finite & f is_integrable_on Prod_Measure (M1,M2) & X2 = SX2 implies ex V being Element of S2 st
( M2 . V = 0 & ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) ) )

assume that
A1: M1 is sigma_finite and
A2: M2 is sigma_finite and
A3: f is_integrable_on Prod_Measure (M1,M2) and
A4: X2 = SX2 ; :: thesis: ex V being Element of S2 st
( M2 . V = 0 & ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

consider A being Element of sigma (measurable_rectangles (S1,S2)) such that
A5: ( A = dom f & f is A -measurable ) by A3, MESFUNC5:def 17;
A6: ( A = dom |.f.| & A = dom (max+ f) & A = dom (max- f) ) by A5, MESFUNC1:def 10, MESFUNC2:def 2, MESFUNC2:def 3;
A7: ( |.f.| is A -measurable & max+ f is A -measurable & max- f is A -measurable ) by A5, MESFUNC2:25, MESFUNC2:26, MESFUNC2:27;
A8: ( Integral1 (M1,|.f.|) is_integrable_on M2 & Integral1 (M1,(max+ f)) is_integrable_on M2 & Integral1 (M1,(max- f)) is_integrable_on M2 ) by A1, A2, A3, Th20;
A9: ( max+ f is nonnegative & max- f is nonnegative ) by MESFUN11:5;
Integral1 (M1,|.f.|) is_a.e.finite M2 by A8, Th19;
then consider V being Element of S2 such that
A10: ( M2 . V = 0 & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL ) ;
A11: V ` = SX2 \ V by A4, SUBSET_1:def 4;
then A12: ( (Integral1 (M1,|.f.|)) | (V `) is_integrable_on M2 & (Integral1 (M1,(max+ f))) | (V `) is_integrable_on M2 & (Integral1 (M1,(max- f))) | (V `) is_integrable_on M2 ) by A8, MESFUNC5:97;
A13: ( dom (Integral1 (M1,f)) = X2 & dom (Integral1 (M1,(max+ f))) = X2 & dom (Integral1 (M1,(max- f))) = X2 & dom (Integral1 (M1,|.f.|)) = X2 ) by FUNCT_2:def 1;
take V ; :: thesis: ( M2 . V = 0 & ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

thus M2 . V = 0 by A10; :: thesis: ( ( for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 ) & (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

thus A14: for y being Element of X2 st y in V ` holds
ProjPMap2 (f,y) is_integrable_on M1 :: thesis: ( (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL & Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )
proof end;
thus (Integral1 (M1,|.f.|)) | (V `) is PartFunc of X2,REAL by A10; :: thesis: ( Integral1 (M1,f) is SX2 \ V -measurable & (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

set G1 = (Integral1 (M1,(max+ f))) | (V `);
set G2 = (Integral1 (M1,(max- f))) | (V `);
reconsider G = ((Integral1 (M1,(max+ f))) | (V `)) - ((Integral1 (M1,(max- f))) | (V `)) as PartFunc of X2,ExtREAL ;
A21: ( dom ((Integral1 (M1,(max+ f))) | (V `)) = V ` & dom ((Integral1 (M1,(max- f))) | (V `)) = V ` ) by A13, RELAT_1:62;
A22: now :: thesis: for x being object holds ((Integral1 (M1,(max+ f))) | (V `)) . x < +infty
let x be object ; :: thesis: ((Integral1 (M1,(max+ f))) | (V `)) . b1 < +infty
per cases ( x in dom ((Integral1 (M1,(max+ f))) | (V `)) or not x in dom ((Integral1 (M1,(max+ f))) | (V `)) ) ;
suppose A23: x in dom ((Integral1 (M1,(max+ f))) | (V `)) ; :: thesis: ((Integral1 (M1,(max+ f))) | (V `)) . b1 < +infty
then reconsider x1 = x as Element of X2 ;
A24: ((Integral1 (M1,(max+ f))) | (V `)) . x = (Integral1 (M1,(max+ f))) . x by A21, A23, FUNCT_1:49
.= Integral (M1,(ProjPMap2 ((max+ f),x1))) by MESFUN12:def 7
.= Integral (M1,(max+ (ProjPMap2 (f,x1)))) by MESFUN12:46 ;
A25: ProjPMap2 (f,x1) is_integrable_on M1 by A14, A21, A23;
then consider B being Element of S1 such that
A26: ( B = dom (ProjPMap2 (f,x1)) & ProjPMap2 (f,x1) is B -measurable ) by MESFUNC5:def 17;
A27: ( B = dom (max+ (ProjPMap2 (f,x1))) & max+ (ProjPMap2 (f,x1)) is B -measurable ) by A26, MESFUNC2:def 2, MESFUN11:10;
integral+ (M1,(max+ (ProjPMap2 (f,x1)))) < +infty by A25, MESFUNC5:def 17;
hence ((Integral1 (M1,(max+ f))) | (V `)) . x < +infty by A24, A27, MESFUNC5:88, MESFUN11:5; :: thesis: verum
end;
suppose not x in dom ((Integral1 (M1,(max+ f))) | (V `)) ; :: thesis: ((Integral1 (M1,(max+ f))) | (V `)) . b1 < +infty
hence ((Integral1 (M1,(max+ f))) | (V `)) . x < +infty by FUNCT_1:def 2; :: thesis: verum
end;
end;
end;
now :: thesis: for x being object holds ((Integral1 (M1,(max+ f))) | (V `)) . x > -infty
let x be object ; :: thesis: ((Integral1 (M1,(max+ f))) | (V `)) . b1 > -infty
per cases ( x in dom ((Integral1 (M1,(max+ f))) | (V `)) or not x in dom ((Integral1 (M1,(max+ f))) | (V `)) ) ;
suppose A28: x in dom ((Integral1 (M1,(max+ f))) | (V `)) ; :: thesis: ((Integral1 (M1,(max+ f))) | (V `)) . b1 > -infty
then reconsider x1 = x as Element of X2 ;
A29: ((Integral1 (M1,(max+ f))) | (V `)) . x = (Integral1 (M1,(max+ f))) . x by A21, A28, FUNCT_1:49
.= Integral (M1,(ProjPMap2 ((max+ f),x1))) by MESFUN12:def 7
.= Integral (M1,(max+ (ProjPMap2 (f,x1)))) by MESFUN12:46 ;
ProjPMap2 (f,x1) is_integrable_on M1 by A14, A21, A28;
then consider B being Element of S1 such that
A30: ( B = dom (ProjPMap2 (f,x1)) & ProjPMap2 (f,x1) is B -measurable ) by MESFUNC5:def 17;
( B = dom (max+ (ProjPMap2 (f,x1))) & max+ (ProjPMap2 (f,x1)) is B -measurable ) by A30, MESFUNC2:def 2, MESFUN11:10;
hence ((Integral1 (M1,(max+ f))) | (V `)) . x > -infty by A29, MESFUNC5:90, MESFUN11:5; :: thesis: verum
end;
suppose not x in dom ((Integral1 (M1,(max+ f))) | (V `)) ; :: thesis: ((Integral1 (M1,(max+ f))) | (V `)) . b1 > -infty
hence ((Integral1 (M1,(max+ f))) | (V `)) . x > -infty by FUNCT_1:def 2; :: thesis: verum
end;
end;
end;
then A31: ( (Integral1 (M1,(max+ f))) | (V `) is without-infty & (Integral1 (M1,(max+ f))) | (V `) is without+infty ) by A22, MESFUNC5:def 5, MESFUNC5:def 6;
then A32: dom G = (dom ((Integral1 (M1,(max+ f))) | (V `))) /\ (dom ((Integral1 (M1,(max- f))) | (V `))) by MESFUN11:23;
A33: ex A1 being Element of S2 st
( A1 = dom ((Integral1 (M1,(max+ f))) | (V `)) & (Integral1 (M1,(max+ f))) | (V `) is A1 -measurable ) by A12, MESFUNC5:def 17;
A34: ex A2 being Element of S2 st
( A2 = dom ((Integral1 (M1,(max- f))) | (V `)) & (Integral1 (M1,(max- f))) | (V `) is A2 -measurable ) by A12, MESFUNC5:def 17;
now :: thesis: for x being object holds ((Integral1 (M1,(max- f))) | (V `)) . x > -infty
let x be object ; :: thesis: ((Integral1 (M1,(max- f))) | (V `)) . b1 > -infty
per cases ( x in dom ((Integral1 (M1,(max- f))) | (V `)) or not x in dom ((Integral1 (M1,(max- f))) | (V `)) ) ;
suppose A35: x in dom ((Integral1 (M1,(max- f))) | (V `)) ; :: thesis: ((Integral1 (M1,(max- f))) | (V `)) . b1 > -infty
then reconsider x1 = x as Element of X2 ;
A36: ((Integral1 (M1,(max- f))) | (V `)) . x = (Integral1 (M1,(max- f))) . x by A21, A35, FUNCT_1:49
.= Integral (M1,(ProjPMap2 ((max- f),x1))) by MESFUN12:def 7
.= Integral (M1,(max- (ProjPMap2 (f,x1)))) by MESFUN12:46 ;
ProjPMap2 (f,x1) is_integrable_on M1 by A14, A21, A35;
then consider B being Element of S1 such that
A37: ( B = dom (ProjPMap2 (f,x1)) & ProjPMap2 (f,x1) is B -measurable ) by MESFUNC5:def 17;
( B = dom (max- (ProjPMap2 (f,x1))) & max- (ProjPMap2 (f,x1)) is B -measurable ) by A37, MESFUNC2:def 3, MESFUN11:10;
hence ((Integral1 (M1,(max- f))) | (V `)) . x > -infty by A36, MESFUNC5:90, MESFUN11:5; :: thesis: verum
end;
suppose not x in dom ((Integral1 (M1,(max- f))) | (V `)) ; :: thesis: ((Integral1 (M1,(max- f))) | (V `)) . b1 > -infty
hence ((Integral1 (M1,(max- f))) | (V `)) . x > -infty by FUNCT_1:def 2; :: thesis: verum
end;
end;
end;
then (Integral1 (M1,(max- f))) | (V `) is without-infty by MESFUNC5:def 5;
then A38: G is SX2 \ V -measurable by A11, A21, A31, A32, A33, A34, MEASUR11:66;
A39: ( dom ((Integral1 (M1,f)) | (V `)) = V ` & dom (G | (V `)) = V ` & dom ((Integral1 (M1,|.f.|)) | (V `)) = V ` ) by A13, A21, A32, RELAT_1:62;
then A40: ( V ` = dom (max+ ((Integral1 (M1,f)) | (V `))) & V ` = dom (max- ((Integral1 (M1,f)) | (V `))) ) by MESFUNC2:def 2, MESFUNC2:def 3;
A41: now :: thesis: for x being Element of X2 st x in dom ((Integral1 (M1,f)) | (V `)) holds
((Integral1 (M1,f)) | (V `)) . x = (G | (V `)) . x
let x be Element of X2; :: thesis: ( x in dom ((Integral1 (M1,f)) | (V `)) implies ((Integral1 (M1,f)) | (V `)) . x = (G | (V `)) . x )
assume A42: x in dom ((Integral1 (M1,f)) | (V `)) ; :: thesis: ((Integral1 (M1,f)) | (V `)) . x = (G | (V `)) . x
then A43: x in V ` by A13, RELAT_1:62;
then A44: ((Integral1 (M1,f)) | (V `)) . x = (Integral1 (M1,f)) . x by FUNCT_1:49
.= Integral (M1,(ProjPMap2 (f,x))) by MESFUN12:def 7 ;
Y-section (A,x) = Measurable-Y-section (A,x) by MEASUR11:def 7;
then B17: ( dom (ProjPMap2 (|.f.|,x)) = Measurable-Y-section (A,x) & dom (ProjPMap2 (f,x)) = Measurable-Y-section (A,x) ) by A5, A6, MESFUN12:def 4;
x in dom G by A21, A32, A42, RELAT_1:57;
then (G | (V `)) . x = (((Integral1 (M1,(max+ f))) | (V `)) . x) - (((Integral1 (M1,(max- f))) | (V `)) . x) by A21, A32, MESFUNC1:def 4
.= ((Integral1 (M1,(max+ f))) . x) - (((Integral1 (M1,(max- f))) | (V `)) . x) by A43, FUNCT_1:49
.= ((Integral1 (M1,(max+ f))) . x) - ((Integral1 (M1,(max- f))) . x) by A43, FUNCT_1:49
.= (Integral (M1,(ProjPMap2 ((max+ f),x)))) - ((Integral1 (M1,(max- f))) . x) by MESFUN12:def 7
.= (Integral (M1,(ProjPMap2 ((max+ f),x)))) - (Integral (M1,(ProjPMap2 ((max- f),x)))) by MESFUN12:def 7
.= (Integral (M1,(max+ (ProjPMap2 (f,x))))) - (Integral (M1,(ProjPMap2 ((max- f),x)))) by MESFUN12:46
.= (Integral (M1,(max+ (ProjPMap2 (f,x))))) - (Integral (M1,(max- (ProjPMap2 (f,x))))) by MESFUN12:46
.= Integral (M1,(ProjPMap2 (f,x))) by A5, B17, MESFUN12:47, MESFUN11:54 ;
hence ((Integral1 (M1,f)) | (V `)) . x = (G | (V `)) . x by A44; :: thesis: verum
end;
hence Integral1 (M1,f) is SX2 \ V -measurable by A11, A13, A21, A32, A38, A39, PARTFUN1:5, MESFUN12:36; :: thesis: ( (Integral1 (M1,f)) | (V `) is_integrable_on M2 & (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

(Integral1 (M1,f)) | (V `) is SX2 \ V -measurable by A13, A21, A32, A38, A41, RELAT_1:62, PARTFUN1:5;
then A45: ( max+ ((Integral1 (M1,f)) | (V `)) is SX2 \ V -measurable & max- ((Integral1 (M1,f)) | (V `)) is SX2 \ V -measurable ) by A11, A39, MESFUNC2:25, MESFUNC2:26;
now :: thesis: for y being set st y in rng ((Integral1 (M1,f)) | (V `)) holds
y in REAL
let y be set ; :: thesis: ( y in rng ((Integral1 (M1,f)) | (V `)) implies y in REAL )
assume y in rng ((Integral1 (M1,f)) | (V `)) ; :: thesis: y in REAL
then consider x being Element of X2 such that
A47: ( x in dom ((Integral1 (M1,f)) | (V `)) & y = ((Integral1 (M1,f)) | (V `)) . x ) by PARTFUN1:3;
A48: ( x in dom (Integral1 (M1,f)) & x in V ` ) by A47, RELAT_1:57;
then x in dom ((Integral1 (M1,|.f.|)) | (V `)) by A13, RELAT_1:57;
then A49: ((Integral1 (M1,|.f.|)) | (V `)) . x < +infty by A10, PARTFUN1:4, XXREAL_0:9;
(Integral1 (M1,f)) . x = Integral (M1,(ProjPMap2 (f,x))) by MESFUN12:def 7;
then |.((Integral1 (M1,f)) . x).| <= Integral (M1,|.(ProjPMap2 (f,x)).|) by A14, A48, MESFUNC5:101;
then |.((Integral1 (M1,f)) . x).| <= Integral (M1,(ProjPMap2 (|.f.|,x))) by Th27;
then |.((Integral1 (M1,f)) . x).| <= (Integral1 (M1,|.f.|)) . x by MESFUN12:def 7;
then |.((Integral1 (M1,f)) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x by A48, FUNCT_1:49;
then |.(((Integral1 (M1,f)) | (V `)) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x by A47, FUNCT_1:47;
then |.(((Integral1 (M1,f)) | (V `)) . x).| < +infty by A49, XXREAL_0:2;
hence y in REAL by A47, EXTREAL1:41; :: thesis: verum
end;
then A50: rng ((Integral1 (M1,f)) | (V `)) c= REAL ;
now :: thesis: for x being Element of X2 st x in dom (max+ ((Integral1 (M1,f)) | (V `))) holds
|.((max+ ((Integral1 (M1,f)) | (V `))) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x
let x be Element of X2; :: thesis: ( x in dom (max+ ((Integral1 (M1,f)) | (V `))) implies |.((max+ ((Integral1 (M1,f)) | (V `))) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x )
assume A51: x in dom (max+ ((Integral1 (M1,f)) | (V `))) ; :: thesis: |.((max+ ((Integral1 (M1,f)) | (V `))) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x
then A52: ( x in dom (Integral1 (M1,f)) & x in V ` ) by A13, A39, MESFUNC2:def 2;
then A53: x in dom (max+ (Integral1 (M1,f))) by MESFUNC2:def 2;
A54: x in dom |.(Integral1 (M1,f)).| by A52, MESFUNC1:def 10;
(max+ ((Integral1 (M1,f)) | (V `))) . x = max ((((Integral1 (M1,f)) | (V `)) . x),0) by A51, MESFUNC2:def 2
.= max (((Integral1 (M1,f)) . x),0) by A39, A40, A51, FUNCT_1:47
.= (max+ (Integral1 (M1,f))) . x by A53, MESFUNC2:def 2 ;
then (max+ ((Integral1 (M1,f)) | (V `))) . x <= |.(Integral1 (M1,f)).| . x by Th29;
then (max+ ((Integral1 (M1,f)) | (V `))) . x <= |.((Integral1 (M1,f)) . x).| by A54, MESFUNC1:def 10;
then A55: |.((max+ ((Integral1 (M1,f)) | (V `))) . x).| <= |.((Integral1 (M1,f)) . x).| by EXTREAL1:3, MESFUNC2:12;
(Integral1 (M1,f)) . x = Integral (M1,(ProjPMap2 (f,x))) by MESFUN12:def 7;
then |.((Integral1 (M1,f)) . x).| <= Integral (M1,|.(ProjPMap2 (f,x)).|) by A14, A40, A51, MESFUNC5:101;
then |.((Integral1 (M1,f)) . x).| <= Integral (M1,(ProjPMap2 (|.f.|,x))) by Th27;
then |.((Integral1 (M1,f)) . x).| <= (Integral1 (M1,|.f.|)) . x by MESFUN12:def 7;
then |.((Integral1 (M1,f)) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x by A40, A51, FUNCT_1:49;
hence |.((max+ ((Integral1 (M1,f)) | (V `))) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x by A55, XXREAL_0:2; :: thesis: verum
end;
then A56: max+ ((Integral1 (M1,f)) | (V `)) is_integrable_on M2 by A11, A12, A39, A45, A40, MESFUNC5:102;
now :: thesis: for x being Element of X2 st x in dom (max- ((Integral1 (M1,f)) | (V `))) holds
|.((max- ((Integral1 (M1,f)) | (V `))) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x
let x be Element of X2; :: thesis: ( x in dom (max- ((Integral1 (M1,f)) | (V `))) implies |.((max- ((Integral1 (M1,f)) | (V `))) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x )
assume A57: x in dom (max- ((Integral1 (M1,f)) | (V `))) ; :: thesis: |.((max- ((Integral1 (M1,f)) | (V `))) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x
then A58: ( x in dom (Integral1 (M1,f)) & x in V ` ) by A13, A39, MESFUNC2:def 3;
then A59: x in dom (max- (Integral1 (M1,f))) by MESFUNC2:def 3;
A60: x in dom |.(Integral1 (M1,f)).| by A58, MESFUNC1:def 10;
(max- ((Integral1 (M1,f)) | (V `))) . x = max ((- (((Integral1 (M1,f)) | (V `)) . x)),0) by A57, MESFUNC2:def 3
.= max ((- ((Integral1 (M1,f)) . x)),0) by A39, A40, A57, FUNCT_1:47
.= (max- (Integral1 (M1,f))) . x by A59, MESFUNC2:def 3 ;
then (max- ((Integral1 (M1,f)) | (V `))) . x <= |.(Integral1 (M1,f)).| . x by Th29;
then (max- ((Integral1 (M1,f)) | (V `))) . x <= |.((Integral1 (M1,f)) . x).| by A60, MESFUNC1:def 10;
then A61: |.((max- ((Integral1 (M1,f)) | (V `))) . x).| <= |.((Integral1 (M1,f)) . x).| by EXTREAL1:3, MESFUNC2:13;
(Integral1 (M1,f)) . x = Integral (M1,(ProjPMap2 (f,x))) by MESFUN12:def 7;
then |.((Integral1 (M1,f)) . x).| <= Integral (M1,|.(ProjPMap2 (f,x)).|) by A14, A40, A57, MESFUNC5:101;
then |.((Integral1 (M1,f)) . x).| <= Integral (M1,(ProjPMap2 (|.f.|,x))) by Th27;
then |.((Integral1 (M1,f)) . x).| <= (Integral1 (M1,|.f.|)) . x by MESFUN12:def 7;
then |.((Integral1 (M1,f)) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x by A40, A57, FUNCT_1:49;
hence |.((max- ((Integral1 (M1,f)) | (V `))) . x).| <= ((Integral1 (M1,|.f.|)) | (V `)) . x by A61, XXREAL_0:2; :: thesis: verum
end;
then max- ((Integral1 (M1,f)) | (V `)) is_integrable_on M2 by A11, A12, A39, A45, A40, MESFUNC5:102;
then (max+ ((Integral1 (M1,f)) | (V `))) - (max- ((Integral1 (M1,f)) | (V `))) is_integrable_on M2 by A56, MESFUN10:12;
hence A62: (Integral1 (M1,f)) | (V `) is_integrable_on M2 by MESFUNC2:23; :: thesis: ( (Integral1 (M1,f)) | (V `) in L1_Functions M2 & ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) )

reconsider F = (Integral1 (M1,f)) | (V `) as PartFunc of X2,REAL by A50, RELSET_1:6;
R_EAL F is_integrable_on M2 by A62, MESFUNC5:def 7;
then F is_integrable_on M2 by MESFUNC6:def 4;
then F in { f where f is PartFunc of X2,REAL : ex ND being Element of S2 st
( M2 . ND = 0 & dom f = ND ` & f is_integrable_on M2 )
}
by A10, A39;
hence (Integral1 (M1,f)) | (V `) in L1_Functions M2 by LPSPACE1:def 8; :: thesis: ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) )

consider g1 being PartFunc of X2,ExtREAL such that
A64: ( dom g1 = dom (Integral1 (M1,(max+ f))) & g1 | (V `) = (Integral1 (M1,(max+ f))) | (V `) & g1 is_integrable_on M2 & Integral (M2,g1) = Integral (M2,((Integral1 (M1,(max+ f))) | (V `))) ) by A8, A10, A11, A13, Th23, MESFUNC5:97;
consider g2 being PartFunc of X2,ExtREAL such that
A65: ( dom g2 = dom (Integral1 (M1,(max- f))) & g2 | (V `) = (Integral1 (M1,(max- f))) | (V `) & g2 is_integrable_on M2 & Integral (M2,g2) = Integral (M2,((Integral1 (M1,(max- f))) | (V `))) ) by A8, A10, A11, A13, Th23, MESFUNC5:97;
consider g being PartFunc of X2,ExtREAL such that
A66: ( dom g = dom (Integral1 (M1,f)) & g | (V `) = (Integral1 (M1,f)) | (V `) & g is_integrable_on M2 & Integral (M2,g) = Integral (M2,((Integral1 (M1,f)) | (V `))) ) by A10, A13, A62, Th23;
reconsider g = g as Function of X2,ExtREAL by A13, A66, FUNCT_2:def 1;
A67: ( dom (g | (V `)) = (dom g) /\ (V `) & dom (g1 | (V `)) = (dom g1) /\ (V `) & dom (g2 | (V `)) = (dom g2) /\ (V `) ) by RELAT_1:61;
now :: thesis: for x being Element of X2 st x in dom (g2 | (V `)) holds
|.((g2 | (V `)) . x).| < +infty
let x be Element of X2; :: thesis: ( x in dom (g2 | (V `)) implies |.((g2 | (V `)) . x).| < +infty )
assume A72: x in dom (g2 | (V `)) ; :: thesis: |.((g2 | (V `)) . x).| < +infty
then A68: x in V ` by RELAT_1:57;
A69: ProjPMap2 (f,x) is_integrable_on M1 by A14, A72, RELAT_1:57;
then consider DP being Element of S1 such that
A70: ( DP = dom (ProjPMap2 (f,x)) & ProjPMap2 (f,x) is DP -measurable ) by MESFUNC5:def 17;
A71: ( DP = dom (max- (ProjPMap2 (f,x))) & max- (ProjPMap2 (f,x)) is DP -measurable ) by A70, MESFUNC2:def 3, MESFUNC2:26;
A73: max- (ProjPMap2 (f,x)) is nonnegative by MESFUN11:5;
A74: (g2 | (V `)) . x = (Integral1 (M1,(max- f))) . x by A65, A68, FUNCT_1:49
.= Integral (M1,(ProjPMap2 ((max- f),x))) by MESFUN12:def 7
.= Integral (M1,(max- (ProjPMap2 (f,x)))) by MESFUN12:46
.= integral+ (M1,(max- (ProjPMap2 (f,x)))) by A71, MESFUNC5:88, MESFUN11:5 ;
then (g2 | (V `)) . x < +infty by A69, MESFUNC5:def 17;
hence |.((g2 | (V `)) . x).| < +infty by A71, A73, A74, MESFUNC5:79, EXTREAL1:def 1; :: thesis: verum
end;
then g2 | (V `) is real-valued by MESFUNC2:def 1;
then A75: dom ((g1 | (V `)) - (g2 | (V `))) = ((dom g1) /\ (V `)) /\ ((dom g2) /\ (V `)) by A67, MESFUNC2:2;
then A76: dom ((g1 | (V `)) - (g2 | (V `))) = dom (g | (V `)) by A13, A64, A65, A66, RELAT_1:61;
( dom (g1 | (V `)) = V ` & dom (g2 | (V `)) = V ` ) by A13, A64, A65, RELAT_1:62;
then A77: V ` = (dom (g1 | (V `))) /\ (dom (g2 | (V `))) ;
A78: ( g1 | (V `) is_integrable_on M2 & g2 | (V `) is_integrable_on M2 ) by A11, A64, A65, MESFUNC5:97;
now :: thesis: for x being Element of X2 st x in dom (g | (V `)) holds
(g | (V `)) . x = ((g1 | (V `)) - (g2 | (V `))) . x
let x be Element of X2; :: thesis: ( x in dom (g | (V `)) implies (g | (V `)) . x = ((g1 | (V `)) - (g2 | (V `))) . x )
assume A79: x in dom (g | (V `)) ; :: thesis: (g | (V `)) . x = ((g1 | (V `)) - (g2 | (V `))) . x
then A80: x in V ` by RELAT_1:57;
then A81: (g | (V `)) . x = (Integral1 (M1,f)) . x by A66, FUNCT_1:49;
ProjPMap2 (f,x) is_integrable_on M1 by A14, A79, RELAT_1:57;
then A82: ex A being Element of S1 st
( A = dom (ProjPMap2 (f,x)) & ProjPMap2 (f,x) is A -measurable ) by MESFUNC5:def 17;
( (Integral1 (M1,(max+ f))) . x = Integral (M1,(ProjPMap2 ((max+ f),x))) & (Integral1 (M1,(max- f))) . x = Integral (M1,(ProjPMap2 ((max- f),x))) ) by MESFUN12:def 7;
then ( (Integral1 (M1,(max+ f))) . x = Integral (M1,(max+ (ProjPMap2 (f,x)))) & (Integral1 (M1,(max- f))) . x = Integral (M1,(max- (ProjPMap2 (f,x)))) ) by MESFUN12:46;
then ((Integral1 (M1,(max+ f))) . x) - ((Integral1 (M1,(max- f))) . x) = Integral (M1,(ProjPMap2 (f,x))) by A82, MESFUN11:54
.= (Integral1 (M1,f)) . x by MESFUN12:def 7 ;
then (g | (V `)) . x = (((Integral1 (M1,(max+ f))) | (V `)) . x) - ((Integral1 (M1,(max- f))) . x) by A80, A81, FUNCT_1:49
.= ((g1 | (V `)) . x) - ((g2 | (V `)) . x) by A64, A65, A80, FUNCT_1:49 ;
hence (g | (V `)) . x = ((g1 | (V `)) - (g2 | (V `))) . x by A76, A79, MESFUNC1:def 4; :: thesis: verum
end;
then A83: g | (V `) = (g1 | (V `)) - (g2 | (V `)) by A13, A64, A65, A66, A75, RELAT_1:61, PARTFUN1:5;
A84: ( Integral1 (M1,(max+ f)) is SX2 -measurable & Integral1 (M1,(max- f)) is SX2 -measurable ) by A1, A6, A7, MESFUN11:5, MESFUN12:59;
A85: Integral ((Prod_Measure (M1,M2)),(max+ f)) = Integral (M2,(Integral1 (M1,(max+ f)))) by A1, A2, A6, A7, A9, MESFUN12:84
.= Integral (M2,((Integral1 (M1,(max+ f))) | (SX2 \ V))) by A4, A10, A13, A84, MESFUNC5:95
.= Integral (M2,(g1 | (V `))) by A4, A64, SUBSET_1:def 4 ;
A86: Integral ((Prod_Measure (M1,M2)),(max- f)) = Integral (M2,(Integral1 (M1,(max- f)))) by A1, A2, A6, A7, A9, MESFUN12:84
.= Integral (M2,((Integral1 (M1,(max- f))) | (SX2 \ V))) by A4, A10, A13, A84, MESFUNC5:95
.= Integral (M2,(g2 | (V `))) by A4, A65, SUBSET_1:def 4 ;
Integral ((Prod_Measure (M1,M2)),f) = (Integral (M2,((g1 | (V `)) | (V `)))) - (Integral (M2,((g2 | (V `)) | (V `)))) by A5, A85, A86, MESFUN11:54;
then Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,(g | (V `))) by A77, A78, A83, Th21;
hence ex g being Function of X2,ExtREAL st
( g is_integrable_on M2 & g | (V `) = (Integral1 (M1,f)) | (V `) & Integral ((Prod_Measure (M1,M2)),f) = Integral (M2,g) ) by A66; :: thesis: verum