let Z be open Subset of REAL ; :: thesis: ( (- sin ) + ((id Z) (#) cos ) is_differentiable_on Z & ( for x being Real st x in Z holds
(((- sin ) + ((id Z) (#) cos )) `| Z) . x = - (x * (sin . x)) ) )
A1:
Z = dom ((- sin ) + ((id Z) (#) cos ))
A2:
( (id Z) (#) cos is_differentiable_on Z & ( for x being Real st x in Z holds
(((id Z) (#) cos ) `| Z) . x = (cos . x) - (x * (sin . x)) ) )
by Th16;
A3:
- sin is_differentiable_on Z
by FDIFF_1:34, INTEGRA8:24;
now let x be
Real;
:: thesis: ( x in Z implies (((- sin ) + ((id Z) (#) cos )) `| Z) . x = - (x * (sin . x)) )assume A4:
x in Z
;
:: thesis: (((- sin ) + ((id Z) (#) cos )) `| Z) . x = - (x * (sin . x))hence (((- sin ) + ((id Z) (#) cos )) `| Z) . x =
(diff (- sin ),x) + (diff ((id Z) (#) cos ),x)
by A1, A2, A3, FDIFF_1:26
.=
((((id Z) (#) cos ) `| Z) . x) + (diff (- sin ),x)
by A2, A4, FDIFF_1:def 8
.=
((cos . x) - (x * (sin . x))) + (diff (- sin ),x)
by A4, Th16
.=
((cos . x) - (x * (sin . x))) + (- (cos . x))
by Lm5
.=
- (x * (sin . x))
;
:: thesis: verum end;
hence
( (- sin ) + ((id Z) (#) cos ) is_differentiable_on Z & ( for x being Real st x in Z holds
(((- sin ) + ((id Z) (#) cos )) `| Z) . x = - (x * (sin . x)) ) )
by A1, A2, A3, FDIFF_1:26; :: thesis: verum