let h, x be Real; ( x in dom cosec & x + h in dom cosec implies (fD ((cosec (#) cosec),h)) . x = - (((4 * (sin ((2 * x) + h))) * (sin h)) / (((cos ((2 * x) + h)) - (cos h)) ^2)) )
set f = cosec (#) cosec;
assume A1:
( x in dom cosec & x + h in dom cosec )
; (fD ((cosec (#) cosec),h)) . x = - (((4 * (sin ((2 * x) + h))) * (sin h)) / (((cos ((2 * x) + h)) - (cos h)) ^2))
A2:
( sin . x <> 0 & sin . (x + h) <> 0 )
by A1, RFUNCT_1:3;
( x in dom (cosec (#) cosec) & x + h in dom (cosec (#) cosec) )
then (fD ((cosec (#) cosec),h)) . x =
((cosec (#) cosec) . (x + h)) - ((cosec (#) cosec) . x)
by DIFF_1:1
.=
((cosec . (x + h)) * (cosec . (x + h))) - ((cosec (#) cosec) . x)
by VALUED_1:5
.=
((cosec . (x + h)) * (cosec . (x + h))) - ((cosec . x) * (cosec . x))
by VALUED_1:5
.=
(((sin . (x + h)) ") * (cosec . (x + h))) - ((cosec . x) * (cosec . x))
by A1, RFUNCT_1:def 2
.=
(((sin . (x + h)) ") * ((sin . (x + h)) ")) - ((cosec . x) * (cosec . x))
by A1, RFUNCT_1:def 2
.=
(((sin . (x + h)) ") * ((sin . (x + h)) ")) - (((sin . x) ") * (cosec . x))
by A1, RFUNCT_1:def 2
.=
(((sin . (x + h)) ") ^2) - (((sin . x) ") ^2)
by A1, RFUNCT_1:def 2
.=
((1 / (sin . (x + h))) - (1 / (sin . x))) * ((1 / (sin . (x + h))) + (1 / (sin . x)))
.=
(((1 * (sin . x)) - (1 * (sin . (x + h)))) / ((sin . (x + h)) * (sin . x))) * ((1 / (sin . (x + h))) + (1 / (sin . x)))
by A2, XCMPLX_1:130
.=
(((sin . x) - (sin . (x + h))) / ((sin . (x + h)) * (sin . x))) * (((sin . x) + (sin . (x + h))) / ((sin . (x + h)) * (sin . x)))
by A2, XCMPLX_1:116
.=
(((sin . x) - (sin . (x + h))) * ((sin . x) + (sin . (x + h)))) / (((sin . (x + h)) * (sin . x)) * ((sin . (x + h)) * (sin . x)))
by XCMPLX_1:76
.=
(((sin x) * (sin x)) - ((sin (x + h)) * (sin (x + h)))) / (((sin (x + h)) * (sin x)) ^2)
.=
((sin (x + (x + h))) * (sin (x - (x + h)))) / (((sin (x + h)) * (sin x)) ^2)
by SIN_COS4:37
.=
((sin ((2 * x) + h)) * (sin (- h))) / ((- ((1 / 2) * ((cos ((x + h) + x)) - (cos ((x + h) - x))))) ^2)
by SIN_COS4:29
.=
((sin ((2 * x) + h)) * (- (sin h))) / ((1 / 4) * (((cos ((2 * x) + h)) - (cos h)) ^2))
by SIN_COS:31
.=
- ((1 * ((sin ((2 * x) + h)) * (sin h))) / ((1 / 4) * (((cos ((2 * x) + h)) - (cos h)) ^2)))
.=
- ((1 / (1 / 4)) * (((sin ((2 * x) + h)) * (sin h)) / (((cos ((2 * x) + h)) - (cos h)) ^2)))
by XCMPLX_1:76
.=
- (((4 * (sin ((2 * x) + h))) * (sin h)) / (((cos ((2 * x) + h)) - (cos h)) ^2))
;
hence
(fD ((cosec (#) cosec),h)) . x = - (((4 * (sin ((2 * x) + h))) * (sin h)) / (((cos ((2 * x) + h)) - (cos h)) ^2))
; verum