let Z be open Subset of REAL ; :: thesis: ( not 0 in Z & Z c= dom (cos * ((id Z) ^ )) implies ( cos * ((id Z) ^ ) is_differentiable_on Z & ( for x being Real st x in Z holds
((cos * ((id Z) ^ )) `| Z) . x = (1 / (x ^2 )) * (sin . (1 / x)) ) ) )
set f = id Z;
assume A1:
( not 0 in Z & Z c= dom (cos * ((id Z) ^ )) )
; :: thesis: ( cos * ((id Z) ^ ) is_differentiable_on Z & ( for x being Real st x in Z holds
((cos * ((id Z) ^ )) `| Z) . x = (1 / (x ^2 )) * (sin . (1 / x)) ) )
A2:
for x being Real st x in Z holds
(id Z) . x = x
by FUNCT_1:35;
for y being set st y in Z holds
y in dom ((id Z) ^ )
by A1, FUNCT_1:21;
then A3:
Z c= dom ((id Z) ^ )
by TARSKI:def 3;
A5:
( (id Z) ^ is_differentiable_on Z & ( for x being Real st x in Z holds
(((id Z) ^ ) `| Z) . x = - (1 / (x ^2 )) ) )
by A1, Th4;
A6:
for x being Real st x in Z holds
cos * ((id Z) ^ ) is_differentiable_in x
then A8:
cos * ((id Z) ^ ) is_differentiable_on Z
by A1, FDIFF_1:16;
for x being Real st x in Z holds
((cos * ((id Z) ^ )) `| Z) . x = (1 / (x ^2 )) * (sin . (1 / x))
proof
let x be
Real;
:: thesis: ( x in Z implies ((cos * ((id Z) ^ )) `| Z) . x = (1 / (x ^2 )) * (sin . (1 / x)) )
assume A9:
x in Z
;
:: thesis: ((cos * ((id Z) ^ )) `| Z) . x = (1 / (x ^2 )) * (sin . (1 / x))
then A10:
(id Z) ^ is_differentiable_in x
by A5, FDIFF_1:16;
A11:
diff cos ,
(((id Z) ^ ) . x) = - (sin . (((id Z) ^ ) . x))
by SIN_COS:68;
cos is_differentiable_in ((id Z) ^ ) . x
by SIN_COS:68;
then diff (cos * ((id Z) ^ )),
x =
(diff cos ,(((id Z) ^ ) . x)) * (diff ((id Z) ^ ),x)
by A10, FDIFF_2:13
.=
- ((sin . (((id Z) ^ ) . x)) * (diff ((id Z) ^ ),x))
by A11
.=
- ((sin . (((id Z) . x) " )) * (diff ((id Z) ^ ),x))
by A3, A9, RFUNCT_1:def 8
.=
- ((sin . (((id Z) . x) " )) * ((((id Z) ^ ) `| Z) . x))
by A5, A9, FDIFF_1:def 8
.=
- ((sin . (((id Z) . x) " )) * (- (1 / (x ^2 ))))
by A9, Th4, A1
.=
- ((sin . (1 * (x " ))) * (- (1 / (x ^2 ))))
by A2, A9
.=
- ((sin . (1 / x)) * (- (1 / (x ^2 ))))
by XCMPLX_0:def 9
.=
(sin . (1 / x)) * (1 / (x ^2 ))
;
hence
((cos * ((id Z) ^ )) `| Z) . x = (1 / (x ^2 )) * (sin . (1 / x))
by A8, A9, FDIFF_1:def 8;
:: thesis: verum
end;
hence
( cos * ((id Z) ^ ) is_differentiable_on Z & ( for x being Real st x in Z holds
((cos * ((id Z) ^ )) `| Z) . x = (1 / (x ^2 )) * (sin . (1 / x)) ) )
by A1, A6, FDIFF_1:16; :: thesis: verum