let Z be open Subset of REAL; :: thesis: ( Z c= dom (sin * exp_R) implies ( sin * exp_R is_differentiable_on Z & ( for x being Real st x in Z holds
((sin * exp_R) `| Z) . x = (exp_R . x) * (cos . (exp_R . x)) ) ) )

A1: for x being Real st x in Z holds
sin * exp_R is_differentiable_in x
proof end;
assume A2: Z c= dom (sin * exp_R) ; :: thesis: ( sin * exp_R is_differentiable_on Z & ( for x being Real st x in Z holds
((sin * exp_R) `| Z) . x = (exp_R . x) * (cos . (exp_R . x)) ) )

then A3: sin * exp_R is_differentiable_on Z by A1, FDIFF_1:9;
for x being Real st x in Z holds
((sin * exp_R) `| Z) . x = (exp_R . x) * (cos . (exp_R . x))
proof
let x be Real; :: thesis: ( x in Z implies ((sin * exp_R) `| Z) . x = (exp_R . x) * (cos . (exp_R . x)) )
( exp_R is_differentiable_in x & sin is_differentiable_in exp_R . x ) by SIN_COS:64, SIN_COS:65;
then A4: diff ((sin * exp_R),x) = (diff (sin,(exp_R . x))) * (diff (exp_R,x)) by FDIFF_2:13
.= (cos . (exp_R . x)) * (diff (exp_R,x)) by SIN_COS:64
.= (exp_R . x) * (cos . (exp_R . x)) by SIN_COS:65 ;
assume x in Z ; :: thesis: ((sin * exp_R) `| Z) . x = (exp_R . x) * (cos . (exp_R . x))
hence ((sin * exp_R) `| Z) . x = (exp_R . x) * (cos . (exp_R . x)) by A3, A4, FDIFF_1:def 7; :: thesis: verum
end;
hence ( sin * exp_R is_differentiable_on Z & ( for x being Real st x in Z holds
((sin * exp_R) `| Z) . x = (exp_R . x) * (cos . (exp_R . x)) ) ) by A2, A1, FDIFF_1:9; :: thesis: verum