let Z be open Subset of REAL ; ( Z c= dom (ln * tan ) implies ( ln * tan is_differentiable_on Z & ( for x being Real st x in Z holds
((ln * tan ) `| Z) . x = 1 / ((cos . x) * (sin . x)) ) ) )
assume A1:
Z c= dom (ln * tan )
; ( ln * tan is_differentiable_on Z & ( for x being Real st x in Z holds
((ln * tan ) `| Z) . x = 1 / ((cos . x) * (sin . x)) ) )
A2:
for x being Real st x in Z holds
tan . x > 0
dom (ln * tan ) c= dom tan
by RELAT_1:44;
then A3:
Z c= dom tan
by A1, XBOOLE_1:1;
A4:
for x being Real st x in Z holds
cos . x <> 0
A5:
for x being Real st x in Z holds
tan is_differentiable_in x
A6:
for x being Real st x in Z holds
ln * tan is_differentiable_in x
then A7:
ln * tan is_differentiable_on Z
by A1, FDIFF_1:16;
for x being Real st x in Z holds
((ln * tan ) `| Z) . x = 1 / ((cos . x) * (sin . x))
proof
let x be
Real;
( x in Z implies ((ln * tan ) `| Z) . x = 1 / ((cos . x) * (sin . x)) )
assume A8:
x in Z
;
((ln * tan ) `| Z) . x = 1 / ((cos . x) * (sin . x))
then A9:
cos . x <> 0
by A4;
(
tan is_differentiable_in x &
tan . x > 0 )
by A2, A5, A8;
then diff (ln * tan ),
x =
(diff tan ,x) / (tan . x)
by TAYLOR_1:20
.=
(1 / ((cos . x) ^2 )) / (tan . x)
by A9, FDIFF_7:46
.=
1
/ (((cos . x) ^2 ) * (tan . x))
by XCMPLX_1:79
.=
1
/ (((cos . x) ^2 ) * ((sin . x) / (cos . x)))
by A3, A8, RFUNCT_1:def 4
.=
1
/ ((((cos . x) ^2 ) * (sin . x)) / (cos . x))
.=
(cos . x) / (((cos . x) ^2 ) * (sin . x))
by XCMPLX_1:57
.=
((cos . x) / ((cos . x) ^2 )) / (sin . x)
by XCMPLX_1:79
.=
(((cos . x) / (cos . x)) / (cos . x)) / (sin . x)
by XCMPLX_1:79
.=
(1 / (cos . x)) / (sin . x)
by A4, A8, XCMPLX_1:60
.=
1
/ ((cos . x) * (sin . x))
by XCMPLX_1:79
;
hence
((ln * tan ) `| Z) . x = 1
/ ((cos . x) * (sin . x))
by A7, A8, FDIFF_1:def 8;
verum
end;
hence
( ln * tan is_differentiable_on Z & ( for x being Real st x in Z holds
((ln * tan ) `| Z) . x = 1 / ((cos . x) * (sin . x)) ) )
by A1, A6, FDIFF_1:16; verum