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

assume A1: Z c= ].(- 1),1.[ ; :: thesis: ( (id Z) (#) arccot is_differentiable_on Z & ( for x being Real st x in Z holds
(((id Z) (#) arccot ) `| Z) . x = (arccot . x) - (x / (1 + (x ^2 ))) ) )

A2: Z c= dom (id Z) by FUNCT_1:34;
].(- 1),1.[ c= [.(- 1),1.] by XXREAL_1:25;
then ].(- 1),1.[ c= dom arccot by Th22, XBOOLE_1:1;
then Z c= dom arccot by A1, XBOOLE_1:1;
then Z c= (dom (id Z)) /\ (dom arccot ) by A2, XBOOLE_1:19;
then A3: Z c= dom ((id Z) (#) arccot ) by VALUED_1:def 4;
A4: for x being Real st x in Z holds
(id Z) . x = (1 * x) + 0 by FUNCT_1:35;
then A5: ( id Z is_differentiable_on Z & ( for x being Real st x in Z holds
((id Z) `| Z) . x = 1 ) ) by A2, FDIFF_1:31;
A6: arccot is_differentiable_on Z by A1, Th80;
for x being Real st x in Z holds
(((id Z) (#) arccot ) `| Z) . x = (arccot . x) - (x / (1 + (x ^2 )))
proof
let x be Real; :: thesis: ( x in Z implies (((id Z) (#) arccot ) `| Z) . x = (arccot . x) - (x / (1 + (x ^2 ))) )
assume A7: x in Z ; :: thesis: (((id Z) (#) arccot ) `| Z) . x = (arccot . x) - (x / (1 + (x ^2 )))
then A8: ( - 1 < x & x < 1 ) by A1, XXREAL_1:4;
(((id Z) (#) arccot ) `| Z) . x = ((arccot . x) * (diff (id Z),x)) + (((id Z) . x) * (diff arccot ,x)) by A3, A5, A6, A7, FDIFF_1:29
.= ((arccot . x) * (((id Z) `| Z) . x)) + (((id Z) . x) * (diff arccot ,x)) by A5, A7, FDIFF_1:def 8
.= ((arccot . x) * 1) + (((id Z) . x) * (diff arccot ,x)) by A2, A4, A7, FDIFF_1:31
.= (arccot . x) + (x * (diff arccot ,x)) by A7, FUNCT_1:35
.= (arccot . x) + (x * (- (1 / (1 + (x ^2 ))))) by A8, Th74
.= (arccot . x) - (x / (1 + (x ^2 ))) ;
hence (((id Z) (#) arccot ) `| Z) . x = (arccot . x) - (x / (1 + (x ^2 ))) ; :: thesis: verum
end;
hence ( (id Z) (#) arccot is_differentiable_on Z & ( for x being Real st x in Z holds
(((id Z) (#) arccot ) `| Z) . x = (arccot . x) - (x / (1 + (x ^2 ))) ) ) by A3, A5, A6, FDIFF_1:29; :: thesis: verum