let Z be open Subset of REAL ; ( Z c= dom (sec - (id Z)) implies ( sec - (id Z) is_differentiable_on Z & ( for x being Real st x in Z holds
((sec - (id Z)) `| Z) . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 ) ) ) )
A1:
for x being Real st x in Z holds
(id Z) . x = (1 * x) + 0
by FUNCT_1:35;
assume A2:
Z c= dom (sec - (id Z))
; ( sec - (id Z) is_differentiable_on Z & ( for x being Real st x in Z holds
((sec - (id Z)) `| Z) . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 ) ) )
then A3:
Z c= (dom sec ) /\ (dom (id Z))
by VALUED_1:12;
then A4:
Z c= dom sec
by XBOOLE_1:18;
A5:
Z c= dom (id Z)
by A3, XBOOLE_1:18;
then A6:
id Z is_differentiable_on Z
by A1, FDIFF_1:31;
for x being Real st x in Z holds
sec is_differentiable_in x
then A7:
sec is_differentiable_on Z
by A4, FDIFF_1:16;
for x being Real st x in Z holds
((sec - (id Z)) `| Z) . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 )
proof
let x be
Real;
( x in Z implies ((sec - (id Z)) `| Z) . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 ) )
assume A8:
x in Z
;
((sec - (id Z)) `| Z) . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 )
then A9:
cos . x <> 0
by A4, RFUNCT_1:13;
then A10:
(cos . x) ^2 > 0
by SQUARE_1:74;
((sec - (id Z)) `| Z) . x =
(diff sec ,x) - (diff (id Z),x)
by A2, A6, A7, A8, FDIFF_1:27
.=
((sin . x) / ((cos . x) ^2 )) - (diff (id Z),x)
by A9, Th1
.=
((sin . x) / ((cos . x) ^2 )) - (((id Z) `| Z) . x)
by A6, A8, FDIFF_1:def 8
.=
((sin . x) / ((cos . x) ^2 )) - 1
by A5, A1, A8, FDIFF_1:31
.=
((sin . x) / ((cos . x) ^2 )) - (((cos . x) ^2 ) / ((cos . x) ^2 ))
by A10, XCMPLX_1:60
.=
((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 )
;
hence
((sec - (id Z)) `| Z) . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 )
;
verum
end;
hence
( sec - (id Z) is_differentiable_on Z & ( for x being Real st x in Z holds
((sec - (id Z)) `| Z) . x = ((sin . x) - ((cos . x) ^2 )) / ((cos . x) ^2 ) ) )
by A2, A6, A7, FDIFF_1:27; verum