let Z be open Subset of REAL ; :: thesis: for f being PartFunc of REAL , REAL st Z c= dom (cosec * (f ^ )) & ( for x being Real st x in Z holds
f . x = x ) holds
( cosec * (f ^ ) is_differentiable_on Z & ( for x being Real st x in Z holds
((cosec * (f ^ )) `| Z) . x = (cos . (1 / x)) / ((x ^2 ) * ((sin . (1 / x)) ^2 )) ) )
let f be PartFunc of REAL , REAL ; :: thesis: ( Z c= dom (cosec * (f ^ )) & ( for x being Real st x in Z holds
f . x = x ) implies ( cosec * (f ^ ) is_differentiable_on Z & ( for x being Real st x in Z holds
((cosec * (f ^ )) `| Z) . x = (cos . (1 / x)) / ((x ^2 ) * ((sin . (1 / x)) ^2 )) ) ) )
assume that
A1:
Z c= dom (cosec * (f ^ ))
and
A2:
for x being Real st x in Z holds
f . x = x
; :: thesis: ( cosec * (f ^ ) is_differentiable_on Z & ( for x being Real st x in Z holds
((cosec * (f ^ )) `| Z) . x = (cos . (1 / x)) / ((x ^2 ) * ((sin . (1 / x)) ^2 )) ) )
dom (cosec * (f ^ )) c= dom (f ^ )
by RELAT_1:44;
then A3:
Z c= dom (f ^ )
by A1, XBOOLE_1:1;
dom (f ^ ) c= dom f
by RFUNCT_1:11;
then A4:
Z c= dom f
by A3, XBOOLE_1:1;
A5:
for x being Real st x in Z holds
( f . x = x & f . x <> 0 )
by A2, A3, RFUNCT_1:13;
then A6:
( f ^ is_differentiable_on Z & ( for x being Real st x in Z holds
((f ^ ) `| Z) . x = - (1 / (x ^2 )) ) )
by A4, FDIFF_5:4;
A7:
for x being Real st x in Z holds
sin . ((f ^ ) . x) <> 0
A8:
for x being Real st x in Z holds
cosec * (f ^ ) is_differentiable_in x
then A11:
cosec * (f ^ ) is_differentiable_on Z
by A1, FDIFF_1:16;
for x being Real st x in Z holds
((cosec * (f ^ )) `| Z) . x = (cos . (1 / x)) / ((x ^2 ) * ((sin . (1 / x)) ^2 ))
proof
let x be
Real;
:: thesis: ( x in Z implies ((cosec * (f ^ )) `| Z) . x = (cos . (1 / x)) / ((x ^2 ) * ((sin . (1 / x)) ^2 )) )
assume A12:
x in Z
;
:: thesis: ((cosec * (f ^ )) `| Z) . x = (cos . (1 / x)) / ((x ^2 ) * ((sin . (1 / x)) ^2 ))
then A13:
f ^ is_differentiable_in x
by A6, FDIFF_1:16;
A14:
sin . ((f ^ ) . x) <> 0
by A7, A12;
then
cosec is_differentiable_in (f ^ ) . x
by Th2;
then diff (cosec * (f ^ )),
x =
(diff cosec ,((f ^ ) . x)) * (diff (f ^ ),x)
by A13, FDIFF_2:13
.=
(- ((cos . ((f ^ ) . x)) / ((sin . ((f ^ ) . x)) ^2 ))) * (diff (f ^ ),x)
by A14, Th2
.=
(diff (f ^ ),x) * (- ((cos . ((f ^ ) . x)) / ((sin . ((f . x) " )) ^2 )))
by A3, A12, RFUNCT_1:def 8
.=
(diff (f ^ ),x) * (- ((cos . ((f . x) " )) / ((sin . ((f . x) " )) ^2 )))
by A3, A12, RFUNCT_1:def 8
.=
(diff (f ^ ),x) * (- ((cos . ((f . x) " )) / ((sin . (1 * (x " ))) ^2 )))
by A2, A12
.=
(diff (f ^ ),x) * (- ((cos . (1 * (x " ))) / ((sin . (1 * (x " ))) ^2 )))
by A2, A12
.=
(((f ^ ) `| Z) . x) * (- ((cos . (1 * (x " ))) / ((sin . (1 * (x " ))) ^2 )))
by A6, A12, FDIFF_1:def 8
.=
(- (1 / (x ^2 ))) * (- ((cos . (1 * (x " ))) / ((sin . (1 * (x " ))) ^2 )))
by A4, A5, A12, FDIFF_5:4
.=
((- 1) / (x ^2 )) * ((- (cos . (1 / x))) / ((sin . (1 / x)) ^2 ))
.=
((- 1) * (- (cos . (1 / x)))) / ((x ^2 ) * ((sin . (1 / x)) ^2 ))
by XCMPLX_1:77
.=
(cos . (1 / x)) / ((x ^2 ) * ((sin . (1 / x)) ^2 ))
;
hence
((cosec * (f ^ )) `| Z) . x = (cos . (1 / x)) / ((x ^2 ) * ((sin . (1 / x)) ^2 ))
by A11, A12, FDIFF_1:def 8;
:: thesis: verum
end;
hence
( cosec * (f ^ ) is_differentiable_on Z & ( for x being Real st x in Z holds
((cosec * (f ^ )) `| Z) . x = (cos . (1 / x)) / ((x ^2 ) * ((sin . (1 / x)) ^2 )) ) )
by A1, A8, FDIFF_1:16; :: thesis: verum