let A be closed-interval Subset of REAL; :: thesis: for f being PartFunc of REAL,REAL
for Z being open Subset of REAL st A c= Z & Z = dom f & f = (exp_R * sin) (#) cos holds
integral (f,A) = ((exp_R * sin) . (upper_bound A)) - ((exp_R * sin) . (lower_bound A))

let f be PartFunc of REAL,REAL; :: thesis: for Z being open Subset of REAL st A c= Z & Z = dom f & f = (exp_R * sin) (#) cos holds
integral (f,A) = ((exp_R * sin) . (upper_bound A)) - ((exp_R * sin) . (lower_bound A))

let Z be open Subset of REAL; :: thesis: ( A c= Z & Z = dom f & f = (exp_R * sin) (#) cos implies integral (f,A) = ((exp_R * sin) . (upper_bound A)) - ((exp_R * sin) . (lower_bound A)) )
assume A1: ( A c= Z & Z = dom f & f = (exp_R * sin) (#) cos ) ; :: thesis: integral (f,A) = ((exp_R * sin) . (upper_bound A)) - ((exp_R * sin) . (lower_bound A))
then Z = (dom (exp_R * sin)) /\ (dom cos) by VALUED_1:def 4;
then A4: Z c= dom (exp_R * sin) by XBOOLE_1:18;
then A5: exp_R * sin is_differentiable_on Z by FDIFF_7:37;
cos is_differentiable_on Z by FDIFF_1:34, SIN_COS:72;
then f | Z is continuous by FDIFF_1:33, A1, A5, FDIFF_1:29;
then f | A is continuous by A1, FCONT_1:17;
then A9: ( f is_integrable_on A & f | A is bounded ) by A1, INTEGRA5:10, INTEGRA5:11;
B1: for x being Real st x in Z holds
f . x = (exp_R . (sin . x)) * (cos . x)
proof
let x be Real; :: thesis: ( x in Z implies f . x = (exp_R . (sin . x)) * (cos . x) )
assume B2: x in Z ; :: thesis: f . x = (exp_R . (sin . x)) * (cos . x)
then ((exp_R * sin) (#) cos) . x = ((exp_R * sin) . x) * (cos . x) by A1, VALUED_1:def 4
.= (exp_R . (sin . x)) * (cos . x) by FUNCT_1:22, A4, B2 ;
hence f . x = (exp_R . (sin . x)) * (cos . x) by A1; :: thesis: verum
end;
A10: for x being Real st x in dom ((exp_R * sin) `| Z) holds
((exp_R * sin) `| Z) . x = f . x
proof
let x be Real; :: thesis: ( x in dom ((exp_R * sin) `| Z) implies ((exp_R * sin) `| Z) . x = f . x )
assume x in dom ((exp_R * sin) `| Z) ; :: thesis: ((exp_R * sin) `| Z) . x = f . x
then A11: x in Z by A5, FDIFF_1:def 8;
then ((exp_R * sin) `| Z) . x = (exp_R . (sin . x)) * (cos . x) by A4, FDIFF_7:37
.= f . x by B1, A11 ;
hence ((exp_R * sin) `| Z) . x = f . x ; :: thesis: verum
end;
dom ((exp_R * sin) `| Z) = dom f by A1, A5, FDIFF_1:def 8;
then (exp_R * sin) `| Z = f by A10, PARTFUN1:34;
hence integral (f,A) = ((exp_R * sin) . (upper_bound A)) - ((exp_R * sin) . (lower_bound A)) by A1, A4, FDIFF_7:37, A9, INTEGRA5:13; :: thesis: verum