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

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

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