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

A1: right_open_halfline 0 = { g where g is Real : 0 < g } by XXREAL_1:230;
assume that
A2: Z c= dom (arccot * ln ) and
A3: for x being Real st x in Z holds
( ln . x > - 1 & ln . x < 1 ) ; :: thesis: ( arccot * ln is_differentiable_on Z & ( for x being Real st x in Z holds
((arccot * ln ) `| Z) . x = - (1 / (x * (1 + ((ln . x) ^2 )))) ) )

dom (arccot * ln ) c= dom ln by RELAT_1:44;
then A4: Z c= dom ln by A2, XBOOLE_1:1;
A5: for x being Real st x in Z holds
x > 0
proof
let x be Real; :: thesis: ( x in Z implies x > 0 )
assume x in Z ; :: thesis: x > 0
then x in right_open_halfline 0 by A4, TAYLOR_1:18;
then ex g being Real st
( x = g & 0 < g ) by A1;
hence x > 0 ; :: thesis: verum
end;
A6: for x being Real st x in Z holds
arccot * ln is_differentiable_in x
proof end;
then A10: arccot * ln is_differentiable_on Z by A2, FDIFF_1:16;
for x being Real st x in Z holds
((arccot * ln ) `| Z) . x = - (1 / (x * (1 + ((ln . x) ^2 ))))
proof
let x be Real; :: thesis: ( x in Z implies ((arccot * ln ) `| Z) . x = - (1 / (x * (1 + ((ln . x) ^2 )))) )
assume A11: x in Z ; :: thesis: ((arccot * ln ) `| Z) . x = - (1 / (x * (1 + ((ln . x) ^2 ))))
then A12: ln is_differentiable_in x by A5, TAYLOR_1:18;
A13: ln . x < 1 by A3, A11;
A14: ln . x > - 1 by A3, A11;
x > 0 by A5, A11;
then A15: x in right_open_halfline 0 by A1;
((arccot * ln ) `| Z) . x = diff (arccot * ln ),x by A10, A11, FDIFF_1:def 8
.= - ((diff ln ,x) / (1 + ((ln . x) ^2 ))) by A12, A14, A13, Th86
.= - ((1 / x) / (1 + ((ln . x) ^2 ))) by A15, TAYLOR_1:18
.= - (1 / (x * (1 + ((ln . x) ^2 )))) by XCMPLX_1:79 ;
hence ((arccot * ln ) `| Z) . x = - (1 / (x * (1 + ((ln . x) ^2 )))) ; :: thesis: verum
end;
hence ( arccot * ln is_differentiable_on Z & ( for x being Real st x in Z holds
((arccot * ln ) `| Z) . x = - (1 / (x * (1 + ((ln . x) ^2 )))) ) ) by A2, A6, FDIFF_1:16; :: thesis: verum