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

assume A1: Z c= dom (cosec * exp_R ) ; :: thesis: ( - (cosec * exp_R ) is_differentiable_on Z & ( for x being Real st x in Z holds
((- (cosec * exp_R )) `| Z) . x = ((exp_R . x) * (cos . (exp_R . x))) / ((sin . (exp_R . x)) ^2 ) ) )

then A2: Z c= dom (- (cosec * exp_R )) by VALUED_1:8;
A3: cosec * exp_R is_differentiable_on Z by A1, FDIFF_9:13;
then A4: (- 1) (#) (cosec * exp_R ) is_differentiable_on Z by A2, FDIFF_1:28, A;
for x being Real st x in Z holds
((- (cosec * exp_R )) `| Z) . x = ((exp_R . x) * (cos . (exp_R . x))) / ((sin . (exp_R . x)) ^2 )
proof
let x be Real; :: thesis: ( x in Z implies ((- (cosec * exp_R )) `| Z) . x = ((exp_R . x) * (cos . (exp_R . x))) / ((sin . (exp_R . x)) ^2 ) )
assume A5: x in Z ; :: thesis: ((- (cosec * exp_R )) `| Z) . x = ((exp_R . x) * (cos . (exp_R . x))) / ((sin . (exp_R . x)) ^2 )
((- (cosec * exp_R )) `| Z) . x = ((- 1) (#) ((cosec * exp_R ) `| Z)) . x by A3, FDIFF_2:19, A
.= (- 1) * (((cosec * exp_R ) `| Z) . x) by VALUED_1:6
.= (- 1) * (- (((exp_R . x) * (cos . (exp_R . x))) / ((sin . (exp_R . x)) ^2 ))) by A1, A5, FDIFF_9:13
.= ((exp_R . x) * (cos . (exp_R . x))) / ((sin . (exp_R . x)) ^2 ) ;
hence ((- (cosec * exp_R )) `| Z) . x = ((exp_R . x) * (cos . (exp_R . x))) / ((sin . (exp_R . x)) ^2 ) ; :: thesis: verum
end;
hence ( - (cosec * exp_R ) is_differentiable_on Z & ( for x being Real st x in Z holds
((- (cosec * exp_R )) `| Z) . x = ((exp_R . x) * (cos . (exp_R . x))) / ((sin . (exp_R . x)) ^2 ) ) ) by A4; :: thesis: verum