let Z be open Subset of REAL ; :: thesis: ( Z c= dom (sec * arccot ) & Z c= ].(- 1),1.[ implies ( sec * arccot is_differentiable_on Z & ( for x being Real st x in Z holds
((sec * arccot ) `| Z) . x = - ((sin . (arccot . x)) / (((cos . (arccot . x)) ^2 ) * (1 + (x ^2 )))) ) ) )

assume that
A1: Z c= dom (sec * arccot ) and
A2: Z c= ].(- 1),1.[ ; :: thesis: ( sec * arccot is_differentiable_on Z & ( for x being Real st x in Z holds
((sec * arccot ) `| Z) . x = - ((sin . (arccot . x)) / (((cos . (arccot . x)) ^2 ) * (1 + (x ^2 )))) ) )

A3: for x being Real st x in Z holds
cos . (arccot . x) <> 0
proof
let x be Real; :: thesis: ( x in Z implies cos . (arccot . x) <> 0 )
assume x in Z ; :: thesis: cos . (arccot . x) <> 0
then arccot . x in dom sec by A1, FUNCT_1:21;
hence cos . (arccot . x) <> 0 by RFUNCT_1:13; :: thesis: verum
end;
AA: for x being Real st x in Z holds
sec * arccot is_differentiable_in x
proof end;
then A6: sec * arccot is_differentiable_on Z by A1, FDIFF_1:16;
for x being Real st x in Z holds
((sec * arccot ) `| Z) . x = - ((sin . (arccot . x)) / (((cos . (arccot . x)) ^2 ) * (1 + (x ^2 ))))
proof
let x be Real; :: thesis: ( x in Z implies ((sec * arccot ) `| Z) . x = - ((sin . (arccot . x)) / (((cos . (arccot . x)) ^2 ) * (1 + (x ^2 )))) )
assume A7: x in Z ; :: thesis: ((sec * arccot ) `| Z) . x = - ((sin . (arccot . x)) / (((cos . (arccot . x)) ^2 ) * (1 + (x ^2 ))))
A8: arccot is_differentiable_on Z by A2, SIN_COS9:82;
then A9: arccot is_differentiable_in x by A7, FDIFF_1:16;
cos . (arccot . x) <> 0 by A3, A7;
then A10: sec is_differentiable_in arccot . x by FDIFF_9:1;
A11: cos . (arccot . x) <> 0 by A3, A7;
((sec * arccot ) `| Z) . x = diff (sec * arccot ),x by A6, A7, FDIFF_1:def 8
.= (diff sec ,(arccot . x)) * (diff arccot ,x) by A9, A10, FDIFF_2:13
.= ((sin . (arccot . x)) / ((cos . (arccot . x)) ^2 )) * (diff arccot ,x) by A11, FDIFF_9:1
.= ((sin . (arccot . x)) / ((cos . (arccot . x)) ^2 )) * ((arccot `| Z) . x) by A7, A8, FDIFF_1:def 8
.= ((sin . (arccot . x)) / ((cos . (arccot . x)) ^2 )) * (- (1 / (1 + (x ^2 )))) by A2, A7, SIN_COS9:82
.= - (((sin . (arccot . x)) / ((cos . (arccot . x)) ^2 )) * (1 / (1 + (x ^2 ))))
.= - (((sin . (arccot . x)) * 1) / (((cos . (arccot . x)) ^2 ) * (1 + (x ^2 )))) by XCMPLX_1:77
.= - ((sin . (arccot . x)) / (((cos . (arccot . x)) ^2 ) * (1 + (x ^2 )))) ;
hence ((sec * arccot ) `| Z) . x = - ((sin . (arccot . x)) / (((cos . (arccot . x)) ^2 ) * (1 + (x ^2 )))) ; :: thesis: verum
end;
hence ( sec * arccot is_differentiable_on Z & ( for x being Real st x in Z holds
((sec * arccot ) `| Z) . x = - ((sin . (arccot . x)) / (((cos . (arccot . x)) ^2 ) * (1 + (x ^2 )))) ) ) by A1, AA, FDIFF_1:16; :: thesis: verum