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

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

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