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

A1: ( cos is_differentiable_on Z & exp_R is_differentiable_on Z ) by FDIFF_1:34, SIN_COS:72, TAYLOR_1:16;
assume A2: Z c= dom (exp_R (#) cos ) ; :: thesis: ( exp_R (#) cos is_differentiable_on Z & ( for x being Real st x in Z holds
((exp_R (#) cos ) `| Z) . x = (exp_R . x) * ((cos . x) - (sin . x)) ) )

now
let x be Real; :: thesis: ( x in Z implies ((exp_R (#) cos ) `| Z) . x = (exp_R . x) * ((cos . x) - (sin . x)) )
assume x in Z ; :: thesis: ((exp_R (#) cos ) `| Z) . x = (exp_R . x) * ((cos . x) - (sin . x))
hence ((exp_R (#) cos ) `| Z) . x = ((cos . x) * (diff exp_R ,x)) + ((exp_R . x) * (diff cos ,x)) by A2, A1, FDIFF_1:29
.= ((cos . x) * (exp_R . x)) + ((exp_R . x) * (diff cos ,x)) by TAYLOR_1:16
.= ((cos . x) * (exp_R . x)) + ((exp_R . x) * (- (sin . x))) by SIN_COS:68
.= (exp_R . x) * ((cos . x) - (sin . x)) ;
:: thesis: verum
end;
hence ( exp_R (#) cos is_differentiable_on Z & ( for x being Real st x in Z holds
((exp_R (#) cos ) `| Z) . x = (exp_R . x) * ((cos . x) - (sin . x)) ) ) by A2, A1, FDIFF_1:29; :: thesis: verum