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

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

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

A4: Z c= (dom ((id Z) (#) arccot )) /\ (dom ((1 / 2) (#) (ln * (f1 + f2)))) by A1, VALUED_1:def 1;
A6: Z c= dom ((1 / 2) (#) (ln * (f1 + f2))) by A4, XBOOLE_1:18;
A7: ( (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 A2, Th94;
A8: ( (1 / 2) (#) (ln * (f1 + f2)) is_differentiable_on Z & ( for x being Real st x in Z holds
(((1 / 2) (#) (ln * (f1 + f2))) `| Z) . x = x / (1 + (x ^2 )) ) ) by A3, A6, Th100;
for x being Real st x in Z holds
((((id Z) (#) arccot ) + ((1 / 2) (#) (ln * (f1 + f2)))) `| Z) . x = arccot . x
proof
let x be Real; :: thesis: ( x in Z implies ((((id Z) (#) arccot ) + ((1 / 2) (#) (ln * (f1 + f2)))) `| Z) . x = arccot . x )
assume A9: x in Z ; :: thesis: ((((id Z) (#) arccot ) + ((1 / 2) (#) (ln * (f1 + f2)))) `| Z) . x = arccot . x
hence ((((id Z) (#) arccot ) + ((1 / 2) (#) (ln * (f1 + f2)))) `| Z) . x = (diff ((id Z) (#) arccot ),x) + (diff ((1 / 2) (#) (ln * (f1 + f2))),x) by A1, A7, A8, FDIFF_1:26
.= ((((id Z) (#) arccot ) `| Z) . x) + (diff ((1 / 2) (#) (ln * (f1 + f2))),x) by A7, A9, FDIFF_1:def 8
.= ((((id Z) (#) arccot ) `| Z) . x) + ((((1 / 2) (#) (ln * (f1 + f2))) `| Z) . x) by A8, A9, FDIFF_1:def 8
.= ((arccot . x) - (x / (1 + (x ^2 )))) + ((((1 / 2) (#) (ln * (f1 + f2))) `| Z) . x) by A2, A9, Th94
.= ((arccot . x) - (x / (1 + (x ^2 )))) + (x / (1 + (x ^2 ))) by A3, A6, A9, Th100
.= arccot . x ;
:: thesis: verum
end;
hence ( ((id Z) (#) arccot ) + ((1 / 2) (#) (ln * (f1 + f2))) is_differentiable_on Z & ( for x being Real st x in Z holds
((((id Z) (#) arccot ) + ((1 / 2) (#) (ln * (f1 + f2)))) `| Z) . x = arccot . x ) ) by A1, A7, A8, FDIFF_1:26; :: thesis: verum