let X be non empty set ; :: thesis: for S being SigmaField of X
for M being sigma_Measure of S
for f being PartFunc of X, ExtREAL
for c being Real st f is_simple_func_in S & f is nonnegative & 0 <= c holds
integral' M,(c (#) f) = (R_EAL c) * (integral' M,f)

let S be SigmaField of X; :: thesis: for M being sigma_Measure of S
for f being PartFunc of X, ExtREAL
for c being Real st f is_simple_func_in S & f is nonnegative & 0 <= c holds
integral' M,(c (#) f) = (R_EAL c) * (integral' M,f)

let M be sigma_Measure of S; :: thesis: for f being PartFunc of X, ExtREAL
for c being Real st f is_simple_func_in S & f is nonnegative & 0 <= c holds
integral' M,(c (#) f) = (R_EAL c) * (integral' M,f)

let f be PartFunc of X, ExtREAL ; :: thesis: for c being Real st f is_simple_func_in S & f is nonnegative & 0 <= c holds
integral' M,(c (#) f) = (R_EAL c) * (integral' M,f)

let c be Real; :: thesis: ( f is_simple_func_in S & f is nonnegative & 0 <= c implies integral' M,(c (#) f) = (R_EAL c) * (integral' M,f) )
assume that
A1: f is_simple_func_in S and
A2: f is nonnegative and
A3: 0 <= c ; :: thesis: integral' M,(c (#) f) = (R_EAL c) * (integral' M,f)
set g = c (#) f;
A4: dom (c (#) f) = dom f by MESFUNC1:def 6;
A5: for x being set st x in dom f holds
0 <= f . x by A2, SUPINF_2:70;
A6: for x being set st x in dom (c (#) f) holds
(c (#) f) . x = (R_EAL c) * (f . x) by MESFUNC1:def 6;
A7: ( 0 <= R_EAL c & R_EAL c < +infty ) by A3, XXREAL_0:9;
per cases ( dom (c (#) f) = {} or dom (c (#) f) <> {} ) ;
suppose A8: dom (c (#) f) = {} ; :: thesis: integral' M,(c (#) f) = (R_EAL c) * (integral' M,f)
then integral' M,f = 0 by A4, Def14;
then (R_EAL c) * (integral' M,f) = 0 by EXTREAL1:22;
hence integral' M,(c (#) f) = (R_EAL c) * (integral' M,f) by A8, Def14; :: thesis: verum
end;
suppose A9: dom (c (#) f) <> {} ; :: thesis: integral' M,(c (#) f) = (R_EAL c) * (integral' M,f)
then integral' M,f = integral X,S,M,f by A4, Def14;
then integral X,S,M,(c (#) f) = (R_EAL c) * (integral' M,f) by A1, A4, A5, A6, A7, A9, MESFUNC4:6;
hence integral' M,(c (#) f) = (R_EAL c) * (integral' M,f) by A9, Def14; :: thesis: verum
end;
end;